/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   BODY / BACKGROUND
========================= */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(rgba(255,255,255,0.60), rgba(255,255,255,0.60)),
        url('/reset/images/BackgroundImagecCard.jpeg') center/cover no-repeat;

    font-family: Arial, "Segoe UI", Helvetica, sans-serif;
    color: #0f172a;
}
/* =========================
   MAIN LAYOUT
========================= */
.mcc-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   LOGO
========================= */
.mcc-logo {
    text-align: center;
    margin: 20px 0 10px;
}

.mcc-logo img {
    height: 60px;
}

/* =========================
   TOP ACTIONS
========================= */
.top-actions {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 10px;
    text-align: right;
}

.logout-link,
.home-link {
    font-size: 13px;
    color: #003366;
    text-decoration: none;
    margin-left: 12px;
}

.logout-link:hover,
.home-link:hover {
    text-decoration: underline;
    color: #001B3B;
}

/* =========================
   CONTAINER
========================= */
.mcc-container {
    width: 100%;
    max-width: 520px;
}

/* =========================
   CARD
========================= */
.mcc-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.05),
        0 20px 40px rgba(0,0,0,0.08);

    width: 100%;
    padding: 36px 32px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #003366;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

/* =========================
   ICON
========================= */
.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    margin: 0 auto 24px;

    background: #D6E8EE;
    color: #003366;
}

.icon-green {
    background: #D6E8EE;
    color: #003366;
}

/* =========================
   INPUT
========================= */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    font-size: 15px;

    border-radius: 14px;
    border: 1px solid #cbd5e1;

    background: #ffffff;

    margin-bottom: 18px;

    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.15);
    background: #fafcff;
}

/* =========================
   BUTTON
========================= */
button {
    width: 100%;
    height: 52px;

    border-radius: 14px;

    background: #003366;
    color: white;
    font-size: 15px;
    font-weight: 600;

    border: none;
    cursor: pointer;

    transition: all 0.2s ease;
}

button:hover {
    background: #001B3B;
}

/* =========================
   ERROR
========================= */
.form-error {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
}

/* =========================
   REQUIREMENTS
========================= */
.requirements-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;

    border-radius: 16px;
    padding: 16px;

    margin-bottom: 18px;
}

.requirements-box ul {
    list-style: none;
}

.requirements-box li {
    margin-bottom: 6px;
    font-size: 14px;
}

.requirements-instruction {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
}

/* =========================
   MATCH BOX
========================= */
.match-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;

    border-radius: 12px;
    padding: 10px;

    margin-bottom: 16px;
    font-size: 14px;
}

.pw-icon {
    display: inline-block;
    width: 20px;
}

/* =========================
   INFO & SUPPORT
========================= */
.info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;

    border-radius: 18px;
    padding: 18px;

    margin-top: 24px;
}

.support-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 18px;
    margin-top: 20px;
}

.support-box strong {
    display: block;
    margin-bottom: 6px;
}

.support-section {
    margin-top: 24px;
}

/* =========================
   iOS DEVICE NOTICE (override support-box)
========================= */
.support-box.ios-box {
    background: #fff7ed;              /* soft red */
    border: 1px solid #fed7aa;        /* light red border */
    border-left: 4px solid #f97316;   /* strong left accent */

    color: #7c2d12;
}

/* override text + links inside */
.support-box.ios-box strong {
    color: #9a3412;
}

.support-box.ios-box a {
    color: #ea580c;
    font-weight: 600;
}

.support-box.ios-box a:hover {
    text-decoration: underline;
}


/* =========================
   LINKS
========================= */
.help-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;
}

.help-links a {
    color: #003366;
    text-decoration: none;
}

.help-links a:hover {
    color: #001B3B;
    text-decoration: underline;
}

/* =========================
   FINISH BUTTON
========================= */
.finish-btn {
    display: block;
    text-align: center;

    width: 100%;
    height: 52px;
    line-height: 52px;

    border-radius: 14px;

    background: #003366;

    color: white;
    font-weight: 600;

    text-decoration: none;

    margin-top: 20px;
}

.finish-btn:hover {
    background: #001B3B;
}

/* =========================
   STEPPER
========================= */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: bold;
}

.step.active,
.step.completed {
    background: #003366;
    color: white;
}

.step.inactive {
    background: white;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
}

.step-line {
    width: 56px;
    height: 2px;
}

.step-line.active {
    background: #003366;
}

.step-line.inactive {
    background: #cbd5e1;
}

.step.active {
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.15);
}

.step.completed {
    font-size: 0;
    position: relative;
}

.step.completed::after {
    content: "✓";
    font-size: 16px;
}
/* FOOTER ACTIONS */

.footer-actions {
    margin-top: 8px;
}

.footer-link {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
}

.footer-link:hover {
    color: #003366;
    text-decoration: underline;
}
.mcc-footer {
    width: 100%;
    max-width: 520px;
    margin: 20px auto 0;

    text-align: center;

    font-size: 14px;
    color: #64748b;
}
.footer-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.requirements-title {
    font-size: 14px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 8px;
}
/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* =======================
PASSWORD STRENGTH CUSTOM
=========================== */
.custom-strength-box {
    margin-top: -6px;
    margin-bottom: 18px;
}

.custom-strength-bar {

    width: 100%;
    height: 10px;

    background: #e2e8f0;

    border-radius: 999px;

    overflow: hidden;
}

#custom-strength-text {

    margin-top: 8px;

    font-size: 13px;
    font-weight: 600;

    color: #475569;
}
/* =========================
   ERROR CARD- NO ID FOUND
========================= */

.form-error-card {

    margin-top: 18px;
    padding: 16px 18px;

    border-radius: 16px;

    background: #fef2f2;
    border: 1px solid #fecaca;

    color: #991b1b;

    line-height: 1.5;
}

.form-error-title {

    font-size: 18px;
    font-weight: 700;

    margin-bottom: 10px;
}

.form-error-body {

    font-size: 15px;

    margin-bottom: 14px;
}

.form-error-link {

    color: #991b1b;

    font-weight: 600;

    text-decoration: underline;
}

.form-error-link:hover {

    color: #7f1d1d;
}
/* =========================
   UNLOCK PAGE
========================= */

.unlock-description {

    margin-bottom: 16px;

    color: #475569;

    line-height: 1.6;
}

/* SUPPORT BOX */

.support-box-unlock {

    margin-top: 36px;

    padding-top: 22px;

    border-top: 1px solid #e2e8f0;

    font-size: 14px;

    line-height: 1.6;

    color: #475569;
}

.support-box-unlock strong {

    color: #0f172a;
}

.support-box-unlock p {

    margin-top: 10px;
}

.support-box-unlock a {

    font-weight: 600;
}
/* =========================
   UNLOCK PAGE
========================= */

.unlock-description {

    margin-bottom: 16px;

    color: #475569;

    line-height: 1.6;
}

/* =========================
   SUCCESS BOX
========================= */

.success-box-unlock {

    margin-top: 24px;
}

.success-box-unlock h2 {

    margin-bottom: 14px;

    color: #16a34a;
}

.success-box-unlock p {

    margin-top: 12px;

    line-height: 1.6;

    color: #475569;
}

.success-note-unlock {

    font-size: 14px;

    color: #64748b;
}

/* =========================
   NEXT STEPS
========================= */

.next-steps-unlock {

    margin-top: 28px;

    padding: 20px 22px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.next-steps-unlock h3 {

    margin-bottom: 16px;

    color: #0f172a;
}

.next-steps-unlock ul {

    list-style: none;

    padding: 0;
    margin: 0;
}

.next-steps-unlock li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 14px;

    line-height: 1.6;

    color: #475569;
}

.success-check-unlock {

    color: #16a34a;

    font-weight: 700;

    font-size: 16px;

    min-width: 18px;

    line-height: 1.4;
}

/* =========================
   SUPPORT BOX
========================= */

.support-box-unlock {

    margin-top: 36px;

    padding-top: 22px;

    border-top: 1px solid #e2e8f0;

    font-size: 14px;

    line-height: 1.6;

    color: #475569;
}

.support-box-unlock strong {

    color: #0f172a;
}

.support-box-unlock p {

    margin-top: 10px;
}

.support-box-unlock a {

    font-weight: 600;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .next-steps-unlock {

        padding: 18px;
    }

    .next-steps-unlock li {

        align-items: flex-start;
    }

}
/* =========================
   UNLOCK SUCCESS PAGE
========================= */

.success-box-unlock {

    margin-top: 24px;
}

.success-box-unlock h2 {

    margin-bottom: 14px;

    color: #16a34a;
}

.success-box-unlock p {

    margin-top: 12px;

    line-height: 1.6;

    color: #475569;
}

/* =========================
   NEXT STEPS
========================= */

.next-steps-unlock {

    margin-top: 28px;

    padding: 20px 22px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.next-steps-unlock h3 {

    margin-bottom: 16px;

    color: #0f172a;
}

.next-steps-unlock ul {

    list-style: none;

    padding: 0;
    margin: 0;
}

.next-steps-unlock li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 14px;

    line-height: 1.6;

    color: #475569;
}

.success-check-unlock {

    color: #16a34a;

    font-weight: 700;

    font-size: 16px;

    min-width: 18px;
}

/* =========================
   SUPPORT BOX
========================= */

.support-box-unlock {

    margin-top: 36px;

    padding-top: 22px;

    border-top: 1px solid #e2e8f0;

    font-size: 14px;

    line-height: 1.6;

    color: #475569;
}

.support-box-unlock a {

    font-weight: 600;
}
/* =========================
   UNLOCK CONFIRMATION
========================= */

.success-box-unlock {

    margin-top: 24px;

    padding: 20px 22px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.success-box-unlock p {

    margin-bottom: 14px;

    line-height: 1.6;

    color: #475569;
}

.success-check-unlock {

    color: #16a34a;

    font-weight: 700;

    margin-right: 6px;
}
/* =========================
   ADMIN SECTION - UNLOCK
========================= */

.admin-box-unlock {

    margin-top: 32px;

    padding: 20px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.admin-box-unlock h3 {

    margin-bottom: 10px;

    color: #0f172a;
}

/* WARNING TEXT */

.admin-warning-unlock {

    font-size: 13px;

    color: #64748b;

    margin-bottom: 14px;
}

/* CHECKBOX LIST */

.admin-options-unlock {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 16px;
}

.admin-options-unlock label {

    font-size: 14px;

    color: #334155;

    display: flex;

    align-items: center;

    gap: 8px;
}

/* ADVANCED BUTTON */

.admin-button-unlock {

    background: #334155;

    margin-top: 10px;
}

.admin-button-unlock:hover {

    background: #1e293b;
}
/* =========================
   TOGGLE BUTTON
========================= */

.toggle-advanced-btn-unlock {

    background: #f1f5f9;

    color: #334155;

    margin-top: 16px;

    height: auto;

    padding: 10px;

    text-align: left;
}

.toggle-advanced-btn-unlock:hover {

    background: #e2e8f0;
}

/* =========================
   ADMIN SECTION
========================= */

.admin-box-unlock {

    margin-top: 20px;

    padding: 20px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.admin-warning-unlock {

    font-size: 13px;

    color: #64748b;

    margin-bottom: 14px;
}

.admin-options-unlock {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 16px;
}

.admin-options-unlock label {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;
}

/* ADVANCED BUTTON */

.admin-button-unlock {

    background: #334155;
}

.admin-button-unlock:hover {

    background: #1e293b;
}
/* =========================
   SMOOTH EXPAND
========================= */

.admin-box-unlock {

    max-height: 0;
    overflow: hidden;

    opacity: 0;

    padding: 0;                 /* ✅ remove padding when closed */
    border: 0;                  /* ✅ remove border when closed */

    margin-top: 0;              /* ✅ remove spacing */

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.25s ease,
        margin 0.25s ease;
}

/* OPEN STATE */

.admin-box-unlock.open {

    max-height: 800px;

    opacity: 1;

    padding: 20px;              /* ✅ restore padding */
    border: 1px solid #e2e8f0;  /* ✅ restore border */
    margin-top: 20px;
}
/* =========================
   DELETE ACCOUNT (DANGEROUS)
========================= */

.admin-danger-unlock {

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 12px;

    border-radius: 12px;

    background: #fef2f2;   /* soft red background */
    border: 1px solid #fecaca;

    font-weight: 600;
}

/* TEXT */

.admin-danger-text-unlock {

    color: #b91c1c;
}

/* CHECKBOX COLOR */

.admin-danger-unlock input {

    accent-color: #dc2626; /* modern browsers */

    width: 16px;
    height: 16px;
}
/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}

/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
1~
/* =========================/* ================= PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}

/* ====== PROCESSING CARD
========================= */

.form-info-card {

    margin-top: 18px;

    padding: 16px 18px;

    border-radius: 16px;

    background: #eff6ff;
    border: 1px solid #bfdbfe;

    color: #1e40af;

    line-height: 1.5;
}

.form-info-title {

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 6px;
}

.form-info-body {

    font-size: 14px;

    display: flex;
    align-items: center;
}
/* =========================
   SPINNER
========================= */

.spinner-unlock {

    width: 14px;
    height: 14px;

    border: 2px solid #bfdbfe;
    border-top-color: #1e40af;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;

    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* =========================
   NEXT STEPS (PASSWORD SUCCESS)
========================= */

.next-steps-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    margin-top: 20px;

    color: #003366; /* darker text, matches requirements */
}

.next-steps-box * {
    color: inherit;
}

.next-steps-box strong {
    color: inherit;
}
.success-check {
    color: inherit;
}
.next-steps-list {
    color: inherit;
}
/* =========================
   PASSWORD TOGGLE
This section of css controls the 
view of the password reset page
and how it allows viewing of the 
entered password.
========================= */

.password-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-group input {
    flex: 1;
    margin-bottom: 18px;
}

.password-toggle {

    width: 60px !important;
    height: 36px;

    padding: 0;

    flex: 0 0 60px;

    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;

    color: #003366;
    font-size: 16px;
     
   
  position: relative;
    top: -3px;

}

.password-toggle:hover {
    background: #f8fafc;
    border-color: #003366;
}
