/* ============================================================
   Odstúpenie od zmluvy – Frontend Styles v2.0
   Author: New Way (https://www.newway.sk)
   ============================================================ */

.odz-form-wrap { max-width: 620px; }
.odz-form-wrap * { box-sizing: border-box; }

.odz-form-row { margin-bottom: 0; }
.odz-form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .odz-form-row--2 { grid-template-columns: 1fr; } }

.odz-form-field { margin-bottom: 18px; }
.odz-form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: #111827; }
.odz-req { color: #dc2626; }

.odz-form-field input[type="text"],
.odz-form-field input[type="email"],
.odz-form-field input[type="tel"],
.odz-form-field select,
.odz-form-field textarea {
    width: 100%; padding: 9px 12px; font-size: 14px;
    border: 1.5px solid #d1d5db; border-radius: 6px;
    color: #111827; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.odz-form-field input:focus,
.odz-form-field select:focus,
.odz-form-field textarea:focus {
    outline: none; border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.odz-form-field textarea { resize: vertical; min-height: 100px; }

.odz-form-field--error input,
.odz-form-field--error select,
.odz-form-field--error textarea { border-color: #dc2626; }
.odz-field-err { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; min-height: 16px; }

.odz-consent-label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-weight: normal; }
.odz-consent-label input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: #4f46e5; }
.odz-consent-text { font-size: 14px; line-height: 1.5; color: #374151; }

.odz-form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.odz-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; font-size: 14px; font-weight: 600;
    border-radius: 6px; border: 1.5px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: background .15s, border-color .15s, opacity .15s; line-height: 1.4;
}
.odz-btn--primary { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.odz-btn--primary:hover { background: #4338ca; border-color: #4338ca; color: #fff; }
.odz-btn--primary:disabled { opacity: .6; cursor: not-allowed; }
.odz-btn--outline { background: transparent; color: #6b7280; border-color: #d1d5db; }
.odz-btn--outline:hover { background: #f3f4f6; color: #374151; }

.odz-notice {
    padding: 12px 16px; border-radius: 6px; margin-bottom: 20px;
    font-size: 14px; line-height: 1.5; font-weight: 500;
}
.odz-notice--success { background: #f0fdf4; border: 1.5px solid #86efac; color: #15803d; }
.odz-notice--error   { background: #fef2f2; border: 1.5px solid #fca5a5; color: #b91c1c; }
.odz-notice--warning {
    margin-top: 6px; padding: 8px 12px;
    background: #fffbeb; border: 1.5px solid #fde68a;
    border-radius: 5px; font-size: 13px; color: #92400e; font-weight: 400;
}

.odz-order-notice { display: none; }

.odz-loading { display: flex; align-items: center; gap: 10px; padding: 12px 0; font-size: 14px; color: #6b7280; }
.odz-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2.5px solid #e5e7eb; border-top-color: #4f46e5;
    border-radius: 50%; animation: odz-spin .65s linear infinite; flex-shrink: 0;
}
@keyframes odz-spin { to { transform: rotate(360deg); } }

option.odz-ineligible { color: #9ca3af; }
.odz-disabled { color: #9ca3af; font-style: italic; }
