/**
 * Flow Consultation Form – Stílusok
 * Fájl: silvermoon-flow-admin/assets/flow-consultation-form.css
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ====================================================================
   ALAP RESET
   ==================================================================== */
.flow-consult-wrap *,
.flow-consult-wrap *::before,
.flow-consult-wrap *::after { box-sizing: border-box; }

.flow-consult-wrap {
    margin: 24px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    max-width: 800px;
    color: #1a1a2e;
}

/* ====================================================================
   FEJLÉC
   ==================================================================== */
.flow-consult-header {
    background: #0d1f3c;
    color: #fff;
    padding: 22px 28px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.flow-consult-header:hover { background: #162e56; }

.flow-consult-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}
.flow-consult-header p {
    margin: 5px 0 0;
    font-size: 13px;
    opacity: 0.72;
    font-weight: 300;
}
.flow-consult-arrow {
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.flow-consult-arrow.open { transform: rotate(180deg); }

/* ====================================================================
   PANEL
   ==================================================================== */
.flow-consult-panel {
    display: none;
    background: #fff;
    border: 1px solid #d0d5e8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 32px 28px;
}

/* ====================================================================
   OPCIÓ KÁRTYÁK
   ==================================================================== */
.flow-opt-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.flow-opt-card {
    border: 2px solid #e2e5f0;
    border-radius: 10px;
    padding: 20px 22px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    position: relative;
    display: block;
}
.flow-opt-card:hover {
    border-color: #c9a84c;
    background: #fdfcf8;
    box-shadow: 0 2px 10px rgba(201,168,76,0.12);
}
.flow-opt-card.selected {
    border-color: #0d1f3c;
    background: #f5f7fc;
    box-shadow: 0 2px 12px rgba(13,31,60,0.10);
}
.flow-opt-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.flow-opt-card-title {
    font-weight: 700;
    font-size: 16px;
    color: #0d1f3c;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.flow-opt-card-title .opt-icon { font-size: 20px; }

.flow-opt-card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding-left: 30px;
}

.flow-opt-card-note {
    margin-top: 12px;
    margin-left: 30px;
    font-size: 13px;
    background: #f0f4fa;
    border-radius: 6px;
    padding: 10px 14px;
    color: #223a5e;
    border-left: 3px solid #c9a84c;
    line-height: 1.5;
}

/* ====================================================================
   KUPON DOBOZ
   ==================================================================== */
.flow-coupon-check {
    margin-top: 12px;
    margin-left: 30px;
    padding: 10px 14px;
    background: #eafaf1;
    border-left: 3px solid #27ae60;
    border-radius: 6px;
    font-size: 14px;
    color: #1e8449;
}
.flow-coupon-check label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ====================================================================
   ALŰRLAP
   ==================================================================== */
.flow-subform {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e5f0;
    animation: fcFadeIn 0.2s ease;
}
@keyframes fcFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flow-subform-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #0d1f3c;
    margin: 0 0 20px;
}

/* ====================================================================
   FORM ELEMEK
   ==================================================================== */
.flow-form-row { margin-bottom: 18px; }

.flow-form-row label,
.flow-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0d1f3c;
    margin-bottom: 7px;
}
.flow-form-row label .req { color: #c9a84c; margin-left: 3px; }

.flow-form-row input[type="text"],
.flow-form-row input[type="tel"],
.flow-form-row input[type="email"],
.flow-form-row select,
.flow-form-row textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ccd0db;
    border-radius: 7px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.flow-form-row input:focus,
.flow-form-row select:focus,
.flow-form-row textarea:focus {
    outline: none;
    border-color: #0d1f3c;
    box-shadow: 0 0 0 3px rgba(13,31,60,0.08);
}
.flow-form-row input[readonly] {
    background: #f5f7fc;
    color: #666;
    cursor: default;
}
.flow-form-row textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}
.flow-field-note {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    line-height: 1.4;
}

/* ====================================================================
   RÁDIÓGOMB CSOPORT
   ==================================================================== */
.flow-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.flow-radio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid #e2e5f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.flow-radio-item:hover { border-color: #c9a84c; background: #fdfcf8; }
.flow-radio-item input[type="radio"] {
    margin-top: 3px;
    accent-color: #0d1f3c;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.flow-radio-item-label {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}
.flow-radio-item-label small {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 3px;
}

/* ====================================================================
   TÁJÉKOZTATÓK
   ==================================================================== */
.flow-info-note {
    margin-top: 10px;
    padding: 12px 16px;
    background: #f0f4fa;
    border-left: 3px solid #0d1f3c;
    border-radius: 6px;
    font-size: 13px;
    color: #223a5e;
    line-height: 1.6;
}
.flow-mnb-note {
    margin-top: 10px;
    padding: 12px 16px;
    background: #fffbf0;
    border-left: 3px solid #c9a84c;
    border-radius: 6px;
    font-size: 13px;
    color: #7a6000;
    line-height: 1.6;
}

/* ====================================================================
   ELVÁLASZTÓ
   ==================================================================== */
.flow-form-divider {
    border: none;
    border-top: 1px solid #e2e5f0;
    margin: 22px 0;
}

.flow-form-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #0d1f3c;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====================================================================
   SUBMIT GOMB
   ==================================================================== */
.flow-submit-btn {
    display: block;
    width: 100%;
    background: #0d1f3c;
    color: #fff;
    border: none;
    padding: 15px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 22px;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}
.flow-submit-btn:hover   { background: #1a3460; }
.flow-submit-btn:active  { transform: scale(0.99); }
.flow-submit-btn:disabled {
    background: #9aa5b4;
    cursor: not-allowed;
    transform: none;
}

.flow-redirect-btn {
    display: block;
    width: 100%;
    background: #c9a84c;
    color: #0d1f3c;
    border: none;
    padding: 15px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
    letter-spacing: 0.3px;
    text-align: center;
}
.flow-redirect-btn:hover { background: #b8963e; }

/* ====================================================================
   VISSZAJELZÉS
   ==================================================================== */
.flow-consult-feedback {
    display: none;
    margin-top: 18px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}
.flow-consult-feedback.success {
    background: #eafaf1;
    border-left: 4px solid #27ae60;
    color: #1e8449;
}
.flow-consult-feedback.error {
    background: #fdf0ef;
    border-left: 4px solid #e74c3c;
    color: #922b21;
}

/* ====================================================================
   RESZPONZÍV
   ==================================================================== */
@media (max-width: 600px) {
    .flow-consult-panel { padding: 20px 16px; }
    .flow-opt-card { padding: 16px 16px; }
    .flow-opt-card-desc,
    .flow-opt-card-note,
    .flow-coupon-check { padding-left: 0; margin-left: 0; }
}

/* ============================================================
   Flow Support Requests – layout kiegészítés (v4.1)
   ============================================================ */

.flow-consult-wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.flow-consult-header {
    cursor: default;
}
.flow-consult-header h3 {
    margin: 0 0 8px;
}
.flow-consult-tagline {
    font-style: italic;
    opacity: 0.9;
    max-width: 640px;
    margin: 0;
}

.flow-consult-panel {
    display: block;
}

.flow-opt-group {
    margin-bottom: 28px;
}
.flow-opt-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.flow-opt-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.flow-opt-card {
    display: block;
    border: 1.5px solid #d8dce6;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}
.flow-opt-card:hover {
    border-color: #a8b3d1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.flow-opt-card.selected {
    border-color: #223a5e;
    box-shadow: 0 2px 12px rgba(34,58,94,0.15);
}
.flow-opt-card input[type="radio"] {
    display: none;
}

.flow-consult-wrap .flow-submit-btn,
.flow-consult-wrap .flow-redirect-btn {
    display: inline-block;
    background: #223a5e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}
.flow-consult-wrap .flow-submit-btn:hover,
.flow-consult-wrap .flow-redirect-btn:hover {
    background: #1a2d49 !important;
    color: #fff !important;
}
.flow-consult-wrap .flow-submit-btn:disabled {
    background: #a8b3d1 !important;
    cursor: not-allowed;
}

.flow-subform {
    display: none;
    margin: 20px 0 28px;
    padding: 22px;
    border: 1px solid #e4e7f0;
    border-radius: 12px;
    background: #fafbfe;
}

@media (max-width: 768px) {
    .flow-opt-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Adatkezelési checkbox + privacy note (v4.2)
   ============================================================ */

.flow-privacy-note {
    font-size: 12px;
    color: #888;
    margin: -6px 0 16px;
    line-height: 1.5;
}
.flow-privacy-note a {
    color: #223a5e;
    text-decoration: underline;
}

.flow-consent-row {
    margin-top: 4px;
}
.flow-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    cursor: pointer;
}
.flow-consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}
.flow-consent-label a {
    color: #223a5e;
}