/* =========================================================
   NEMCC STUDENT TECHNOLOGY SUPPORT
   ========================================================= */

.nemcc-support-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 00 0 36px;
    color: #243247;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.nemcc-support-container * {
    box-sizing: border-box;
}

.nemcc-support-container [hidden] {
    display: none !important;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.support-hero {
    padding: 25px 30px;
    background: #f7f8fa;
    border: 1px solid #e5e9ed;
    border-left: 5px solid #CBB677;
    border-radius: 0 8px 8px 0;
    margin-bottom: 22px;
}

.support-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: #59677b;
    margin-bottom: 6px;
}

.support-hero h2 {
    font-size: 28px;
    font-weight: 700;
    color: #003366;
    line-height: 1.3;
    margin: 0 0 8px;
}

.support-hero p {
    margin: 0;
    color: #566376;
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   PANELS
   ========================================================= */

.support-panel {
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 9px;
    padding: 26px 30px;
    margin: 0 0 22px;
    box-shadow: 0 2px 10px rgba(16, 40, 65, 0.035);
}

.support-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7eaf0;
}

.support-step {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #003366;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}

.support-heading h3 {
    margin: 0 0 4px;
    color: #003366;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.support-heading p {
    margin: 0;
    color: #637083;
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   SUPPORT CATEGORY BUTTONS
   ========================================================= */

.support-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.support-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 136px;
    padding: 19px 18px;
    border: 1.5px solid #dfe4ea;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.15s,
        background 0.15s,
        box-shadow 0.15s;
}

.support-choice:hover {
    border-color: #CBB677;
    background: #fffefa;
}

.support-choice:focus-within {
    outline: 3px solid #CBB677;
    outline-offset: 2px;
}

.support-choice.is-selected {
    border-color: #003366;
    background: #f3f7fc;
    box-shadow: inset 0 0 0 1px #003366;
}

.support-choice input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.support-choice-icon {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    color: #003366;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.support-choice-title {
    color: #003366;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.support-choice-detail {
    font-size: 14px;
    color: #677486;
    line-height: 1.4;
}

/* =========================================================
   GUIDANCE, INSTRUCTIONS AND WARNINGS
   ========================================================= */

.support-conditional {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.support-info,
.support-warning,
.support-resolved {
    padding: 17px 20px;
    margin: 0 0 20px;
    border-radius: 0 7px 7px 0;
    font-size: 16px;
    line-height: 1.5;
}

.support-info {
    background: #f5f8fc;
    border-left: 4px solid #CBB677;
}

.support-warning {
    background: #fff7e6;
    border-left: 4px solid #b5801e;
    color: #583e15;
}

.support-resolved {
    background: #eff9f0;
    border-left: 4px solid #348452;
}

/* Consistent instructional typography */

.support-conditional .support-info,
.support-conditional .support-warning,
.support-conditional .support-details,
.support-conditional #accountHelp {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.support-conditional .support-info p,
.support-conditional .support-info li,
.support-conditional .support-warning p,
.support-conditional .support-warning li,
.support-conditional .support-details p,
.support-conditional .support-details li,
.support-conditional #accountHelp p,
.support-conditional #accountHelp li {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.support-info strong,
.support-warning strong {
    color: #003366;
    font-size: inherit;
    font-weight: 700;
}

.support-warning strong {
    color: #6c4810;
}

.support-resolved strong {
    color: #1d6137;
    font-size: 16px;
    font-weight: 700;
}

.support-info p,
.support-warning p,
.support-resolved p {
    margin: 8px 0;
}

.support-info ol,
.support-info ul,
.support-details ol,
.support-details ul {
    padding-left: 24px;
    margin: 12px 0;
}

.support-info li,
.support-details li {
    margin: 8px 0;
    padding-left: 2px;
}

/* Maintain consistent spacing between instructions */

.support-conditional p:first-child {
    margin-top: 0;
}

.support-conditional p:last-child {
    margin-bottom: 0;
}

.support-conditional li p {
    margin: 4px 0;
}

.support-conditional a {
    color: #003366;
    font-size: inherit;
    text-decoration: underline;
}

.support-conditional a:hover {
    color: #005599;
}

/* =========================================================
   FORM FIELDS
   ========================================================= */

.support-field {
    min-width: 0;
    margin-bottom: 18px;
}

.support-field label,
.support-fieldset legend {
    display: block;
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #243247;
}

.support-field input:not([type="checkbox"]):not([type="radio"]),
.support-field select,
.support-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #c8d0d9;
    border-radius: 6px;
    background: #fff;
    color: #243247;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    padding: 11px 12px;
    margin: 0;
}

.support-field textarea {
    resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
    outline: 2px solid #CBB677;
    outline-offset: 1px;
    border-color: #003366;
}

.support-field small {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #697689;
    margin-top: 6px;
}

.support-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.required {
    color: #a52234;
    font-weight: 700;
}

.support-optional {
    color: #6d7988;
    font-size: 14px;
    font-weight: 400;
}

/* =========================================================
   CHECKBOXES
   ========================================================= */

.support-fieldset {
    border: 1px solid #dbe0e6;
    border-radius: 7px;
    padding: 13px 17px;
    margin: 4px 0 20px;
}

.support-fieldset legend {
    padding: 0 6px;
}

.support-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.support-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    margin: 6px 0 !important;
    font-size: 16px;
    font-weight: 400 !important;
    cursor: pointer;
}

.support-checkbox input[type="checkbox"] {
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #003366;
}

/* =========================================================
   EXPANDABLE INSTRUCTIONS
   ========================================================= */

.support-details {
    border: 1px solid #e0e4e8;
    border-radius: 7px;
    background: #fafbfc;
    padding: 14px 18px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
}

.support-details summary {
    color: #003366;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.support-details p,
.support-details li {
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   SUBMISSION
   ========================================================= */

.support-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

#submitSupportRequest {
    background: #003366;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 13px 22px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#submitSupportRequest:hover {
    background: #002449;
}

#submitSupportRequest:focus-visible {
    outline: 3px solid #CBB677;
    outline-offset: 3px;
}

.support-test-note {
    font-size: 14px;
    line-height: 1.4;
    color: #697689;
    margin: 0;
    max-width: 470px;
}

.support-message {
    margin-top: 16px;
    padding: 15px 18px;
    border: 1px solid #b9d9c3;
    border-radius: 6px;
    background: #f0f9f2;
    color: #245c38;
    font-size: 16px;
    line-height: 1.5;
}

.support-error {
    margin: 10px 0 15px;
    color: #9c2530;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .support-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .support-hero,
    .support-panel {
        padding: 19px 16px;
    }

    .support-hero h2 {
        font-size: 24px;
    }

    .support-heading h3 {
        font-size: 19px;
    }

    .support-choice-grid,
    .support-row {
        grid-template-columns: 1fr;
    }

    .support-choice {
        min-height: 92px;
    }

    .support-actions {
        display: block;
    }

    #submitSupportRequest {
        width: 100%;
    }

    .support-test-note {
        margin-top: 10px;
    }

}


/* =====================================================
   TECHNOLOGY SUPPORT HEADER
   ===================================================== */

.nemcc-support-container .support-hero {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    padding: 00 26px;
    margin-bottom: 20px;
}

/* Remove the old vertical gold accent */
.nemcc-support-container .support-hero::before {
    display: none;
}

/* Department heading */
.nemcc-support-container .support-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 8px;
}

/* Main page heading */
.nemcc-support-container .support-hero h2 {
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 3rem;
    text-transform: unset;
    letter-spacing: -1.2px;
    margin: 0 0 40px 0;
    font-family: proxima-nova, sans-serif;
}

/* Short NEMCC gold underline */
.nemcc-support-container .support-hero h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    background: #CBB677;
    margin-top: 14px;
}

/* Introductory text */
.nemcc-support-container .support-hero p {
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    max-width: 850px;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {

    .nemcc-support-container .support-hero h2 {
        font-size: 30px;
    }

    .nemcc-support-container .support-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }

}