﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

/* =========================================================
   PAGE WRAPPER
   ========================================================= */

.support-page {
    width: 100%;
    padding: 40px 18px 60px;
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background: radial-gradient(circle at top left, #edf7fb 0%, transparent 28%), radial-gradient(circle at top right, #f5f9ff 0%, transparent 24%), linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.support-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

    .support-card::before {
        content: "";
        display: block;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, #14b8c4 0%, #1d4ed8 100%);
    }


/* =========================================================
   CARD HEADER
   ========================================================= */

.support-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 26px 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid #e8eef5;
}

    .support-card-header h1 {
        margin: 0;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.4px;
        color: #102a43;
    }

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #14b8c4;
    background: linear-gradient(180deg, #ecfdff 0%, #dff7fb 100%);
    border: 1px solid #c8eef3;
    box-shadow: 0 6px 18px rgba(20, 184, 196, 0.12);
}

    .support-icon i {
        font-size: 33px;
    }


/* =========================================================
   CARD BODY
   ========================================================= */

.support-card-body {
    padding: 34px 42px 40px;
}


/* =========================================================
   REQUIRED NOTICE
   ========================================================= */

.required-notice {
    margin: 0 0 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

    .required,
    .required-notice span {
        color: #dc2626;
    }


/* =========================================================
   APPLICATION NOTICE
   ========================================================= */

.application-notice {
    margin-bottom: 28px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffbe8 0%, #fff7cf 100%);
    border: 1px solid #f3dd7b;
    color: #5b4b00;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

    .application-notice strong {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        color: #4a3c00;
    }

    .application-notice p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
    }


/* =========================================================
   STEP 1 QUESTION
   ========================================================= */

.form-question {
    margin-top: 24px;
}

    .form-question h2 {
        margin: 0 0 16px;
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
    }


/* =========================================================
   RADIO OPTIONS
   ========================================================= */

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 15px 16px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

    .radio-option:hover {
        border-color: #7dd3dc;
        background: #fbfeff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(2, 132, 199, 0.08);
    }

    .radio-option input[type="radio"] {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        flex-shrink: 0;
        accent-color: #14b8c4;
        cursor: pointer;
    }

    .radio-option span {
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: #334155;
    }

    .radio-option:focus-within {
        outline: 3px solid rgba(20, 184, 196, 0.18);
        outline-offset: 2px;
    }


/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #eff8ff 0%, #e0f1ff 100%);
    border: 1px solid #c8dff3;
}

.info-icon {
    flex-shrink: 0;
    color: #1d4ed8;
    font-size: 22px;
    line-height: 1;
}

.info-content {
    font-size: 13px;
    line-height: 1.65;
    color: #27445d;
}

    .info-content p {
        margin: 0 0 8px;
    }

        .info-content p:last-child {
            margin-bottom: 0;
        }


/* =========================================================
   STEP 2 HEADING
   ========================================================= */

.step-heading {
    margin-bottom: 24px;
    text-align: center;
}

    .step-heading h2 {
        margin: 0 0 8px;
        font-size: 1.75rem;
        font-weight: 700;
        letter-spacing: -0.3px;
        color: #0f2942;
    }

    .step-heading p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        color: #64748b;
    }


/* =========================================================
   SELECTED ISSUE BANNER
   ========================================================= */

.selected-issue-box {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #effcfd 0%, #e6f8fa 100%);
    border: 1px solid #bdeaf0;
    border-left: 5px solid #14b8c4;
    font-size: 14px;
    color: #1e3a4c;
    box-shadow: 0 4px 12px rgba(20, 184, 196, 0.08);
}

    .selected-issue-box strong {
        color: #0f172a;
    }


/* =========================================================
   FORM FIELDS WRAPPER FEEL
   ========================================================= */

.form-field {
    margin-bottom: 22px;
}

    .form-field label {
        display: block;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #0f172a;
        letter-spacing: 0.1px;
    }


    /* =========================================================
   TEXT INPUTS / TEXTAREA
   ========================================================= */

    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field textarea {
        width: 100%;
        padding: 13px 14px;
        border: 1px solid #cfd8e3;
        border-radius: 12px;
        background: #fbfdff;
        outline: none;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: #0f172a;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
    }

        .form-field input[type="text"]:hover,
        .form-field input[type="email"]:hover,
        .form-field textarea:hover {
            border-color: #94a3b8;
            background: #ffffff;
        }

        .form-field input[type="text"]:focus,
        .form-field input[type="email"]:focus,
        .form-field textarea:focus {
            border-color: #14b8c4;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(20, 184, 196, 0.12);
        }

    .form-field textarea {
        min-height: 150px;
        resize: vertical;
        line-height: 1.65;
    }

        .form-field input::placeholder,
        .form-field textarea::placeholder {
            color: #94a3b8;
            opacity: 1;
        }


/* =========================================================
   OPTIONAL TEXT / HELP
   ========================================================= */

.optional {
    margin-left: 4px;
    color: #64748b;
    font-weight: 400;
}

.field-help {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}


/* =========================================================
   FILE UPLOAD
   ========================================================= */

.form-field input[type="file"] {
    display: block;
    width: 100%;
    padding: 16px;
    border: 2px dashed #c9d5e2;
    border-radius: 14px;
    background: linear-gradient(180deg, #fcfdff 0%, #f8fbfe 100%);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-field input[type="file"]:hover {
        border-color: #14b8c4;
        background: #f8fdff;
    }

    .form-field input[type="file"]:focus {
        outline: none;
        border-color: #14b8c4;
        box-shadow: 0 0 0 4px rgba(20, 184, 196, 0.12);
    }


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {
    margin-top: 30px;
    padding: 22px 22px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

    .contact-details h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 600;
        color: #102a43;
    }

    .contact-details p {
        max-width: 620px;
        margin: 0;
        font-size: 13px;
        line-height: 1.65;
        color: #52606d;
    }


/* =========================================================
   FORM NAVIGATION
   ========================================================= */

.form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 4px;
}

.next-navigation {
    justify-content: flex-end;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button,
.secondary-button {
    min-width: 120px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

    .primary-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px rgba(37, 99, 235, 0.28);
        background: linear-gradient(135deg, #1b46c7 0%, #2158d2 100%);
    }

    .primary-button:active {
        transform: translateY(0);
    }

.secondary-button {
    color: #fff;
    background: linear-gradient(135deg, #4d7c59 0%, #5a8b67 100%);
    box-shadow: 0 8px 18px rgba(77, 124, 89, 0.18);
}

    .secondary-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px rgba(77, 124, 89, 0.24);
        background: linear-gradient(135deg, #466f51 0%, #4d7958 100%);
    }

    .secondary-button:active {
        transform: translateY(0);
    }

    .primary-button:focus-visible,
    .secondary-button:focus-visible {
        outline: 4px solid rgba(37, 99, 235, 0.18);
        outline-offset: 2px;
    }


/* =========================================================
   VALIDATION
   ========================================================= */

.validation-message,
.field-validation-error {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    color: #c81e1e;
}

.input-validation-error {
    border-color: #dc2626 !important;
    background-color: #fff7f7 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08) !important;
}

.validation-summary-errors {
    margin-bottom: 24px;
    padding: 15px 16px;
    border-radius: 12px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 5px solid #dc2626;
    font-size: 13px;
    color: #991b1b;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }


/* =========================================================
   SHOW / HIDE
   ========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   STEP ANIMATION
   ========================================================= */

#step-one,
#step-two {
    animation: fadeSlideIn 0.28s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {
    .support-page {
        padding: 30px 14px;
    }

    .support-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .support-card-header {
        padding: 24px 24px;
    }

        .support-card-header h1 {
            font-size: 1.65rem;
        }

    .support-card-body {
        padding: 28px 24px 30px;
    }

    .step-heading h2 {
        font-size: 1.5rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {
    .support-page {
        padding: 20px 10px;
    }

    .support-card {
        border-radius: 14px;
    }

    .support-card-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 22px 18px;
    }

        .support-card-header h1 {
            font-size: 1.4rem;
        }

    .support-icon {
        width: 58px;
        height: 58px;
    }

        .support-icon i {
            font-size: 28px;
        }

    .support-card-body {
        padding: 22px 18px 26px;
    }

    .selected-issue-box {
        flex-wrap: wrap;
    }

    .form-navigation {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .next-navigation {
        flex-direction: row;
        justify-content: flex-end;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .next-navigation .primary-button {
        width: auto;
    }
}
