﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #1f2937;
    background: radial-gradient( circle at top left, #edf5ff 0%, transparent 28% ), radial-gradient( circle at top right, #f4f8ff 0%, transparent 24% ), linear-gradient( 180deg, #f4f7fb 0%, #eef2f7 100% );
}


/* =========================================================
   PAGE WRAPPER
   ========================================================= */

.support-page {
    width: 100%;
    /*
       40px visible top spacing.

       100px bottom allows roughly 40px visible space
       plus room for the site's 60px footer if ALTIMS
       uses the same absolute-footer setup as PALS.
    */
    padding: 40px 18px 100px;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.support-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background-color: #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;
}


    /* Accent bar */

    .support-card::before {
        content: "";
        display: block;
        width: 100%;
        height: 6px;
        background: linear-gradient( 90deg, #0361c0 0%, #258cfb 100% );
    }


/* =========================================================
   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: #0b3158;
    }


/* =========================================================
   SUPPORT ICON
   ========================================================= */

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #0361c0;
    background: linear-gradient( 180deg, #edf6ff 0%, #e1efff 100% );
    border: 1px solid #c9e0f7;
    box-shadow: 0 6px 18px rgba(3, 97, 192, 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-color: #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: #78afe8;
        background-color: #fafdff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(3, 97, 192, 0.08);
    }

    .radio-option input[type="radio"] {
        width: 18px;
        height: 18px;
        margin: 2px 0 0;
        flex-shrink: 0;
        accent-color: #0361c0;
        cursor: pointer;
    }

    .radio-option span {
        display: block;
        font-size: 14px;
        line-height: 1.5;
        color: #334155;
    }

    .radio-option:focus-within {
        outline: 3px solid rgba(3, 97, 192, 0.16);
        outline-offset: 2px;
    }


/* =========================================================
   INFORMATION BOX
   ========================================================= */

.info-box {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient( 180deg, #eff7ff 0%, #e2f0ff 100% );
    border: 1px solid #c5ddf5;
}

.info-icon {
    flex-shrink: 0;
    color: #0361c0;
    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: #0b3158;
    }

    .step-heading p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        color: #64748b;
    }


/* =========================================================
   SELECTED ISSUE
   ========================================================= */

.selected-issue-box {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient( 180deg, #f0f7ff 0%, #e8f3ff 100% );
    border: 1px solid #c3dcf5;
    border-left: 5px solid #0361c0;
    font-size: 14px;
    color: #1e3a4c;
    box-shadow: 0 4px 12px rgba(3, 97, 192, 0.08);
}

    .selected-issue-box strong {
        color: #0f172a;
    }


/* =========================================================
   FORM FIELD
   ========================================================= */

.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
   ========================================================= */

    .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-color: #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;
    }


        /* Hover */

        .form-field input[type="text"]:hover,
        .form-field input[type="email"]:hover,
        .form-field textarea:hover {
            border-color: #94a3b8;
            background-color: #ffffff;
        }


        /* Focus */

        .form-field input[type="text"]:focus,
        .form-field input[type="email"]:focus,
        .form-field textarea:focus {
            border-color: #0361c0;
            background-color: #ffffff;
            box-shadow: 0 0 0 4px rgba(3, 97, 192, 0.11);
        }


    /* Textarea */

    .form-field textarea {
        min-height: 150px;
        resize: vertical;
        line-height: 1.65;
    }


        /* Placeholder */

        .form-field input::placeholder,
        .form-field textarea::placeholder {
            color: #94a3b8;
            opacity: 1;
        }


/* =========================================================
   OPTIONAL / HELP TEXT
   ========================================================= */

.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: #0361c0;
        background-color: #f6faff;
    }

    .form-field input[type="file"]:focus {
        outline: none;
        border-color: #0361c0;
        box-shadow: 0 0 0 4px rgba(3, 97, 192, 0.11);
    }


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {
    margin-top: 30px;
    padding: 22px;
    border-radius: 14px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

    .contact-details h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 600;
        color: #0b3158;
    }

    .contact-details p {
        max-width: 620px;
        margin: 0;
        font-size: 13px;
        line-height: 1.65;
        color: #52606d;
    }


/* =========================================================
   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;
}


/* Primary */

.primary-button {
    color: #ffffff;
    background: linear-gradient( 135deg, #0361c0 0%, #258cfb 100% );
    box-shadow: 0 8px 18px rgba(3, 97, 192, 0.22);
}

    .primary-button:hover {
        transform: translateY(-1px);
        background: linear-gradient( 135deg, #0254a7 0%, #1479db 100% );
        box-shadow: 0 12px 22px rgba(3, 97, 192, 0.28);
    }

    .primary-button:active {
        transform: translateY(0);
    }


/* Secondary */

.secondary-button {
    color: #ffffff;
    background: linear-gradient( 135deg, #52606d 0%, #66788a 100% );
    box-shadow: 0 8px 18px rgba(82, 96, 109, 0.18);
}

    .secondary-button:hover {
        transform: translateY(-1px);
        background: linear-gradient( 135deg, #46515c 0%, #586979 100% );
        box-shadow: 0 12px 22px rgba(82, 96, 109, 0.24);
    }

    .secondary-button:active {
        transform: translateY(0);
    }


    /* Keyboard focus */

    .primary-button:focus-visible,
    .secondary-button:focus-visible {
        outline: 4px solid rgba(3, 97, 192, 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-color: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 5px solid #dc2626;
    font-size: 13px;
    color: #991b1b;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }


/* =========================================================
   HIDDEN
   ========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   STEP TRANSITION
   ========================================================= */

#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 90px;
    }

    .support-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .support-card-header {
        padding: 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 80px;
    }

    .support-card {
        border-radius: 14px;
    }

    .support-card-header {
        flex-direction: column;
        gap: 12px;
        padding: 22px 18px;
        text-align: center;
    }

        .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;
    }
}
