﻿/* ================================================================
   SupportServices.css  —  scoped to .ss-* classes
   Ways to Enroll card reuses ARP.css shared classes
   Sign-In departure modal scoped to .ss-modal-*
   ================================================================ */


/* ---------------------------------------------------------------
   UTILITY: desktop / mobile show-hide
   --------------------------------------------------------------- */
.ss-desktop-only {
    display: block;
}

.ss-mobile-only {
    display: none;
}


/* ---------------------------------------------------------------
   PAGE HEADER BAND  (breadcrumb + no hero image)
   White background, just a breadcrumb label
   --------------------------------------------------------------- */
.ss-page-header {
    background-color: #FFFFFF;
    padding: 24px 24px 0 24px;
}

.ss-page-header-inner {
    max-width: 1148px;
    margin: 0 auto;
}

.ss-breadcrumb {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #73767B;
    line-height: 100%;
    margin: 0 0 20px 0; 
}


/* ---------------------------------------------------------------
   INTRO SECTION  (text left | Ways to Enroll card right)
   Desktop: 2-column grid
   Mobile: stacked
   --------------------------------------------------------------- */
.ss-intro-outer {
    background-color: #FFFFFF;
    padding: 32px 24px 48px 24px;
}

.ss-intro-inner {
    max-width: 1148px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 364px;
    column-gap: 48px;
    align-items: start;
}

/* LEFT: text block */
.ss-intro-text {
    grid-column: 1;
    grid-row: 1;
}

/* Full-width row spanning both columns */
.ss-intro-signin-row {
    grid-column: 1 / -1;
    grid-row: 2;
/*    padding-top: 28px;*/
/*    border-top: 1px solid #D9D9D9;*/
}

.ss-intro-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 50px;
    font-weight: 400;
    color: #2B2B2B;
    line-height: 1.2;
    margin: 0 0 20px 0;
    width: 650px;
}

.ss-intro-body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #505357;
    margin: 0 0 24px 0;
    width: 665px;
}

.ss-once-signed-in {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 30px;
    margin: 0 0 12px 0;
}

.ways-to-enroll-card-inline-content{
    display:revert;
}

.ss-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    gap: 8px 16px;
}

    .ss-checklist li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-family: 'Open Sans', Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: #2B2B2B;
        line-height: 30px;
    }

        .ss-checklist li:last-child {
            grid-column: span 2;
        }


.ss-check-icon {
    width: 18px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 10px;
}

/* RIGHT: enroll card aside */
.ss-enroll-aside {
    grid-column: 2;
    grid-row: 1;
}


/* ---------------------------------------------------------------
   GET STARTED SECTION
   Desktop: image left | text right
   Mobile: image above | text below
   --------------------------------------------------------------- */
.ss-get-started-outer {
    background-color: #F6F6F6;
    padding: 60px 24px;
}

.ss-get-started-inner {
    max-width: 1148px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

.ss-get-started-image picture,
.ss-get-started-img {
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
}

.ss-get-started-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: 600;
    color: #2B2B2B;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.ss-get-started-body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #505357;
    margin: 0 0 28px 0;
    width: 560px;
}

.ss-view-plans-btn {
    display: inline-block;
    background-color: #0072CE;
    color: #FFFFFF;
    border: 2px solid #0072CE;
    border-radius: 999px;
    padding: 0 32px;
    width: 304px;
    height: 52px;
    line-height: 48px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

    .ss-view-plans-btn:hover {
        background-color: #1E3575;
        border-color: #1E3575;
        color: #FFFFFF;
        text-decoration: none;
    }


/* ---------------------------------------------------------------
   FEATURE CARDS ROW  (two side-by-side cards)
   --------------------------------------------------------------- */
.ss-features-outer {
    background-color: #FFFFFF;
    padding: 60px 24px;
}

.ss-features-inner {
    max-width: 1148px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ss-feature-card {
    background-color: #F5F9FD;
    padding: 36px 40px;
}

.ss-feature-card-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #2B2B2B;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.ss-feature-card-body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #505357;
    margin: 0 0 24px 0;
}

.ss-feature-card-avail {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 28px;
    margin: 0 0 20px 0;
}

/* Sign In button — filled blue */
.ss-sign-in-btn {
    display: inline-block;
    background-color: #0072CE;
    color: #FFFFFF;
    border: 2px solid #0072CE;
    border-radius: 999px;
    padding: 0 40px;
    width: 240px;
    height: 52px;
    line-height: 48px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

    .ss-sign-in-btn:hover {
        background-color: #1E3575;
        border-color: #1E3575;
        color: #FFFFFF;
        text-decoration: none;
    }

/* Phone button — outline */
.ss-phone-btn {
    display: inline-block;
    background-color: transparent;
    color: #0072CE;
    border: 2px solid #0072CE;
    border-radius: 999px;
    padding: 0 32px;
    width: 240px;
    height: 52px;
    line-height: 48px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

    .ss-phone-btn:hover {
        /*        background-color: #1E3575;*/
        border-color: #1E3575;
        color: #1E3575;
        text-decoration: none;
    }


/* ---------------------------------------------------------------
   FAQ SECTION  —  gray bg, custom JS toggle (mirrors whr- / fr- pattern)
   --------------------------------------------------------------- */
.ss-faq-outer {
    background-color: #F6F6F6;
    padding: 60px 24px;
}

.ss-faq-inner {
    max-width: 1148px;
    margin: 0 auto;
}

.ss-faq-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 38px;
    font-weight: 600;
    color: #2B2B2B;
    text-align: center;
    line-height: 100%;
    margin: 0 0 40px 0;
}

.ss-faq-list {
    /* items centered, 756px wide */
}

.ss-faq-item {
    background-color: #FFFFFF;
    width: 756px;
    min-height: 50px;
    margin: 0 auto 8px auto;
    overflow: hidden;
}

.ss-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.ss-faq-question {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2B2B2B;
    line-height: 24px;
    flex: 1;
}

.ss-faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center;
    transition: transform 0.25s ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3E%3Ccircle cx='14' cy='14' r='12.5' stroke='%230072CE' stroke-width='1.5'/%3E%3Cpolyline points='9,12.5 14,17.5 19,12.5' stroke='%230072CE' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ss-faq-item.ss-open .ss-faq-icon {
    transform: rotate(-180deg);
}

.ss-faq-answer {
    display: none;
    padding: 10px 20px 20px 20px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #505357;
    background-color: #F6F6F6;
}

    .ss-faq-answer a {
        color: #0072CE;
        font-weight: 600;
        text-decoration: none;
    }

        .ss-faq-answer a:hover {
            color: #1E3575;
        }

.ss-faq-item.ss-open .ss-faq-answer {
    display: block;
}


/* ---------------------------------------------------------------
   SIGN-IN DEPARTURE MODAL
   --------------------------------------------------------------- */
.ss-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

    .ss-modal-overlay.ss-modal-open {
        display: flex;
    }

.ss-modal-box {
    background: #FFFFFF;
    border-radius: 4px;
    max-width: 480px;
    width: 90%;
    padding: 40px 36px 32px 36px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.ss-modal-body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #2B2B2B;
    margin: 0 0 28px 0;
}

    .ss-modal-body a {
        color: #0072CE;
        font-weight: 600;
        text-decoration: none;
    }

    .ss-modal-body p {
        margin: 0 0 20px 0;
    }

        .ss-modal-body p:last-child {
            margin-bottom: 0;
        }

.ss-modal-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    border-top: 3px solid #0072CE;
    padding-top: 20px;
}

.ss-modal-ok {
    background-color: #0072CE;
    color: #FFFFFF;
    border: 2px solid #0072CE;
    border-radius: 999px;
    padding: 0 32px;
    height: 48px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    line-height: 44px;
    display: inline-block;
    white-space: nowrap;
}

    .ss-modal-ok:hover {
        background-color: #1E3575;
        border-color: #1E3575;
        color: #FFFFFF;
        text-decoration: none;
    }

.ss-modal-cancel {
    background-color: transparent;
    color: #0072CE;
    border: 2px solid #0072CE;
    border-radius: 999px;
    padding: 0 32px;
    height: 48px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    line-height: 44px;
    white-space: nowrap;
}

    .ss-modal-cancel:hover {
        background-color: #F6F6F6;
    }


/* ================================================================
   RESPONSIVE  —  max-width: 768px
   ================================================================ */
@media (max-width: 768px) {

    /* Prevent page-level horizontal overflow on this page */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .ss-desktop-only {
        display: none;
    }

    .ss-mobile-only {
        display: block;
    }

    /* Breadcrumb */
    .ss-page-header {
        padding: 16px 16px 0 16px;
    }

    .ss-breadcrumb {
        font-size: 16px;
        font-weight: 600;
        line-height: 100%;
    }

    /* Intro */
    .ss-intro-outer {
        padding: 24px 16px 40px 16px;
        overflow-x: hidden;
    }

    .ss-intro-inner {
        grid-template-columns: 1fr;
        width: 100%;
    }

        /* CSS Grid fix: all direct grid items must have min-width: 0
       so the 1fr column can shrink below child content sizes */
        .ss-intro-inner > * {
            min-width: 0;
        }

    /* Override ARP.css min-width: 350px on the enroll card content.
       min-width: 0 (not unset — unset resolves to 'auto' which is the problem) */
    .ss-enroll-aside {
        overflow: hidden;
    }

    /* Override ARP.css min-width on the enroll card content */
    .ss-enroll-aside,
    .ss-enroll-aside .ways-to-enroll-card-inline-content {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .ss-intro-text {
        grid-column: 1;
        grid-row: 1;
    }

    .ss-enroll-aside {
        grid-column: 1;
        grid-row: 3;
    }

    .ss-intro-signin-row {
        grid-column: 1;
        grid-row: 2;
        border-top: none;
        padding-top: 0;
        padding-bottom:40px;
        width:360px;
    }

    .ss-intro-title {
        font-size: 32px;
        font-weight: 400;
        line-height: 1.25;
        margin-bottom: 16px;
        width: 380px;
    }

    .ss-intro-body {
        font-size: 18px;
        line-height: 30px;
        width: 320px;
    }

    .ss-once-signed-in {
        font-size: 18px;
    }

    .ss-checklist {
        grid-template-columns: 1fr;
        gap: 10px;
    }

        .ss-checklist li:last-child {
            grid-column: initial;
            max-width:325px;
        }

        .ss-checklist li {
            font-size: 16px;
        }

    /* Get Started */
    .ss-get-started-outer {
        padding: 0px 16px;
        overflow-x: hidden;
        background-color: #FFFFFF;
    }

    .ss-get-started-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

        /* Grid min-width fix */
        .ss-get-started-inner > * {
            min-width: 0;
        }

    .ss-get-started-image,
    .ss-get-started-image picture {
        width: 100%;
        max-width: 100%;
    }

        .ss-get-started-image picture,
        .ss-get-started-img {
            height: 260px;
            max-width: 100%;
        }

    .ss-get-started-text {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .ss-get-started-title {
        font-size: 28px;
    }

    .ss-get-started-body {
        font-size: 18px;
        line-height: 30px;
        width: 330px;
    }

    .ss-view-plans-btn {
        width: 100%;
        text-align: center;
    }

    /* Feature Cards */
    .ss-features-outer {
        padding: 40px 16px;
    }

    .ss-features-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ss-feature-card {
        padding: 28px 24px;
    }

    .ss-feature-card-title {
        font-size: 20px;
        width:200px;
    }

    .ss-feature-card-body {
        font-size: 16px;
        line-height: 26px;
        width: 300px;
    }

    .ss-sign-in-btn,
    .ss-phone-btn {
        width: 100%;
        text-align: center;
    }

    /* FAQ */
    .ss-faq-outer {
        padding: 40px 16px;
    }

    .ss-faq-title {
        font-size: 28px;
        text-align: left;
        margin-bottom: 24px;
        line-height:1.4;
        width:300px;
    }

    .ss-faq-question {
        font-size: 16px;
        max-width: 224px;       
    }

    .ss-faq-answer {
        font-size: 16px;
        line-height: 26px;
        padding-right:82px;
    }

    .ss-faq-item {
        width: 100%;
    }

    /* Modal */
    .ss-modal-box {
        padding: 28px 20px 24px 20px;
    }

    .ss-modal-body {
        font-size: 16px;
        line-height: 26px;
    }

    .ss-modal-actions {
        flex-direction: column;
        gap: 12px;
    }

    .ss-modal-ok,
    .ss-modal-cancel {
        width: 100%;
        text-align: center;
    }
}
