﻿/* Logon Page Specific Styles - Using CSS Variables */

/* ============================================
   LAYOUT STRUCTURE
   ============================================ */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.login-bg {
    position: absolute;
    width: 531px;
    height: 100vh;
    left: 0;
    top: 0;
    background: url('/Content/images/login-background.png') no-repeat center center;
    background-size: cover;
    background-color: var(--color-secondary);
    display: block;
    padding: 0;
    z-index: 1;
}

.logo-section {
    position: absolute;
    top: var(--spacing-9);
    left: var(--spacing-19);
    width: 187px;
    height: 22px;
}

.brand-name {
    width: 187px;
    height: 22px;
    display: block;
    margin: 0;
    padding: 0;
    background: url('/Content/images/ms_logo.png') no-repeat left center;
    background-size: contain;
}

.footer-brand {
    position: absolute;
    left: 8.56%;
    bottom: var(--spacing-14);
    width: 150px;
    height: 32px;
}

.footer-logo {
    width: 150px;
    height: 32px;
    display: block;
    margin: 0;
    padding: 0;
    background: url('/Content/images/Odin-inc-logo.png') no-repeat left center;
    background-size: contain;
}

/* ============================================
   RIGHT SIDE - LOGIN CONTENT
   ============================================ */
.login-content {
    position: absolute;
    width: calc(100vw - 531px);
    height: 100vh;
    left: 531px;
    top: 0;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* ============================================
   LOGIN FORM WRAPPER
   ============================================ */
.login-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 var(--spacing-5);
    gap: var(--spacing-7);
    width: 558px;
    max-width: 90%;
    margin-top: 100px;
    margin-left: 200px;
    margin-right: 100px;
    margin-bottom: auto;
    min-height: calc(100vh - 220px);
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    width: 100%;
    margin-top: 0;
}

.welcome-title {
    font-weight: var(--font-bold);
    font-size: var(--text-4xl);
    line-height: var(--leading-tight);
    color: var(--color-text-default);
    margin: 0;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-weight: var(--font-normal);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   LOGIN FORM
   ============================================ */
.login-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    width: 100%;
}

/* ============================================
   FORM FOOTER (Remember Me & Forgot Password)
   ============================================ */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0;
    flex-wrap: wrap;
    gap: var(--spacing-3);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    accent-color: var(--color-secondary);
}

.remember-me label {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: #374151;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.forgot-password {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: opacity var(--transition-base);
}

.forgot-password:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-login {
    width: 100%;
    height: 40px;
    background: var(--color-secondary);
    border: none;
    border-radius: var(--radius-base);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--spacing-2);
    font-family: var(--font-family-base);
}

.btn-login:hover {
    background: #0284C7;
    transform: translateY(-1px);
    box-shadow: var(--shadow-button);
}

.btn-login:active {
    background: #0369A1;
    transform: translateY(0);
}

.btn-secondary {
    width: 100%;
    height: 40px;
    background: var(--color-text-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: #374151;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family-base);
    margin-bottom: -15px;
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: #9CA3AF;
    transform: translateY(-1px);
    box-shadow: var(--shadow-base);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: var(--spacing-2) 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.divider span {
    padding: 0 var(--spacing-4);
    color: #9CA3AF;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert {
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-base);
    font-size: var(--text-xs);
    line-height: var(--leading-tight);
    margin-top: var(--spacing-2);
}

.alert-danger {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: var(--color-danger);
}

.alert-success {
    background: #D1FAE5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}

.text-danger {
    color: var(--color-danger);
    font-size: var(--text-xs);
    margin-top: var(--spacing-1);
    display: block;
}

/* ============================================
   LEARN MORE DROPDOWN
   ============================================ */
.learn-more {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dropdown-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: var(--spacing-1) 0;
    gap: var(--spacing-1);
    text-decoration: none;
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-secondary);
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.dropdown-trigger:hover {
    opacity: 0.8;
}

.dropdown-trigger svg {
    transition: transform var(--transition-base);
}

.dropdown-trigger:hover svg {
    transform: translateY(2px);
}

/* ============================================
   HELP LINK
   ============================================ */
.help-link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: var(--spacing-3);
    margin-bottom: 0;
}

.help-link a {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: color var(--transition-base);
}

.help-link a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ============================================
   LEARN SECTION (Added by Steve)
   ============================================ */
.learn-text {
    display: flex;
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-medium);
    font-size: var(--text-2xl);
    line-height: var(--leading-relaxed);
    color: rgba(0, 0, 0, 0.85);
    max-width: 996px;
    margin: 0;
    text-align: left;
}

.learn-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-1) var(--spacing-25);
    gap: 85px;
    width: 100%;
    max-width: 1600px;
    min-height: 1668px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-base);
    box-sizing: border-box;
    margin-top: 10vh;
}

.learn-subtext {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: rgba(0, 0, 0, 0.65);
    max-width: 670px;
    text-align: left;
    margin: 0 auto;
    transform: translateX(320px);
    
}

.learn-image {
    position: relative;
    width: 100%;
    max-width: 1292px;
    min-height: 205px;
    margin: 0 auto;
    background-image: url("/Content/images/mksregpic.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-base);
    border-radius: var(--radius-base);
    padding: var(--spacing-8) var(--spacing-13);
    box-sizing: border-box;
    overflow: hidden;
}

.mks-logo {
    position: absolute;
    top: var(--spacing-8);
    right: var(--spacing-13);
    width: 187px;
    height: 22px;
    background-image: url("/Content/images/ms_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.learn-content {
    width: 1292px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    margin: 0 auto;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Frame 22 */
.frame22 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-6);
    padding: 0;
    width: 100%;
    max-width: 1292px;
    margin: 0 auto;
    box-sizing: border-box;
}

.frame8,
.frame10,
.frame11 {
    width: 384px;
    height: 225px;
    background-color: #91D5FF;
    box-shadow: var(--shadow-base);
    border-radius: var(--radius-base);
    flex: none;
    flex-grow: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-activity,
.manage-money,
.serve-kids {
    position: absolute;
    width: 223px;
    height: 448px;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    object-fit: cover;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
}

.feature-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    text-align: center;
    color: rgba(0, 0, 0, 0.85);
}

.frame49 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-13);
    max-width: 1292px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-header {
    width: 100%;
}

.about-title {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-semibold);
    font-size: var(--text-3xl);
    line-height: var(--leading-relaxed);
    color: rgba(0, 0, 0, 0.85);
    margin: 0 0 var(--spacing-2) 0;
}

.about-subtitle {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
    max-width: 1290px;
}

.about-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-20);
    width: 100%;
}

.about-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 50%;
    gap: var(--spacing-6);
}

.about-image {
    width: 160px;
    height: auto;
    border-radius: var(--radius-base);
    flex-shrink: 0;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.about-heading {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

.about-description {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: var(--font-normal);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
}

.cta {
    width: 100%;
    max-width: 1291px;
    min-height: 199px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    background: url("/Content/images/odinbackground.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-12); 
    justify-content: flex-start;
    padding: var(--spacing-10) var(--spacing-15);
    box-sizing: border-box;
}

.cta-left {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  
}

.cta-logo {
    height: 73.49px;
    width: auto;
    object-fit: contain;
}

.cta-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--spacing-3);
    color: var(--color-text-light);
}

.cta-heading-inline {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-2);
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.cta-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    margin: 0;
    color: var(--color-text-light);
    white-space: normal;
}

.cta-subtitle {
    font-family: var(--font-family-base);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin: 0;
    color: var(--color-text-light);
    opacity: 0.95;
}

.cta-description {
    font-family: var(--font-family-base);
    font-weight: var(--font-normal);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin: var(--spacing-3) 0 0;
    max-width: 768px;
    width: 100%;
    color: var(--color-text-light);
}

html {
    scroll-behavior: smooth;
}


/* ============================================
   LOGON MOBILE BANNER (below mobile-topbar)
   ============================================ */
.logon-mobile-banner {
    display: none;
}

@media (max-width: 991.98px) {
    .logon-mobile-banner {
        display: block;
        width: 100%;
        height: 200px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .logon-mobile-banner__img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1200px) {
    .login-bg {
        width: 400px;
        padding: var(--spacing-9) var(--spacing-13) var(--spacing-14) var(--spacing-13);
    }
    
    .login-content {
        width: calc(100vw - 400px);
        left: 400px;
    }
    
    .login-form-wrapper {
        width: 500px;
        gap: var(--spacing-9);
        margin-left: 100px;
        margin-right: 0px;
    }
    
    .welcome-title {
        font-size: var(--text-4xl);
        line-height: var(--leading-relaxed);
    }
}
/* ============================================
   IPAD SPECIFIC BREAKPOINTS
   ============================================ */

/* iPad Landscape (1024px - 1180px) - iPad Pro 11", iPad Air landscape */
@media (min-width: 1024px) and (max-width: 1180px) and (orientation: landscape) {
    .login-bg {
        width: 360px;
    }
    
    .login-content {
        width: calc(100vw - 360px);
        left: 360px;
    }
    
    .login-form-wrapper {
        width: 85%;
        max-width: 500px;
        margin-left: 50px;
        margin-right: 50px;
        gap: var(--spacing-7);
    }
    
    .welcome-title {
        font-size: var(--text-3xl);
        line-height: var(--leading-tight);
    }
}

/* iPad Portrait (834px - 1023px) - iPad Pro 11", iPad Air portrait */
@media (min-width: 834px) and (max-width: 1023px) and (orientation: portrait) {
    .login-bg {
        width: 300px;
    }
    
    .login-content {
        width: calc(100vw - 300px);
        left: 300px;
    }
    
    .brand-name {
        width: 160px;
        height: 19px;
    }
    
    .logo-section {
        left: var(--spacing-8);
    }
    
    .login-form-wrapper {
        width: 88%;
        max-width: 450px;
        margin-left: 40px;
        margin-right: 40px;
        gap: var(--spacing-6);
    }
    
    .welcome-title {
        font-size: var(--text-3xl);
        line-height: var(--leading-tight);
    }
    
    .welcome-subtitle {
        font-size: var(--text-sm);
    }
}

/* iPad Portrait Small (769px - 833px) - iPad Mini, standard iPad, iPad Air (810x1080) */
@media (min-width: 769px) and (max-width: 833px) {
    .login-bg {
        width: 280px;
    }
    
    .login-content {
        width: calc(100vw - 280px);
        left: 280px;
    }
    
    .brand-name {
        width: 150px;
        height: 18px;
    }
    
    .logo-section {
        left: var(--spacing-6);
        top: var(--spacing-8);
    }
    
    .footer-brand {
        left: 6%;
    }
    
    .login-form-wrapper {
        width: 88%;
        max-width: 420px;
        margin-left: 30px;
        margin-right: 30px;
        gap: var(--spacing-5);
        margin-top: 80px;
    }
    
    .welcome-title {
        font-size: var(--text-2xl);
        line-height: var(--leading-tight);
    }
    
    .welcome-subtitle {
        font-size: var(--text-xs);
    }
}
/* iPad Pro Landscape / Medium Tablets (1025px - 1090px x 1080) */
@media (min-width: 1025px) and (max-width: 1090px) {
    .login-bg {
        width: 340px;
    }
    
    .login-content {
        width: calc(100vw - 340px);
        left: 340px;
    }
    
    .login-form-wrapper {
        width: 85%;
        max-width: 480px;
        margin-left: 45px;
        margin-right: 45px;
        gap: var(--spacing-6);
    }
    
    .welcome-title {
        font-size: var(--text-3xl);
        line-height: var(--leading-tight);
    }
    
    .welcome-subtitle {
        font-size: var(--text-sm);
    }
    
    .brand-name {
        width: 155px;
        height: 18px;
    }
}

@media (max-width: 992px) {
    .login-bg {
        width: 300px;
        padding: var(--spacing-9) var(--spacing-8) var(--spacing-14) var(--spacing-8);
    }
    
    .login-content {
        width: calc(100vw - 300px);
        left: 300px;
    }
    
    .brand-name {
        width: 160px;
        height: 19px;
    }
    
    .login-form-wrapper {
        width: 90%;
        gap: var(--spacing-8);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .login-bg {
        display: none;
    }
    
    .login-content {
        width: 100vw;
        left: 0;
    }
    
    .login-form-wrapper {
        padding: 0 var(--spacing-5);
        gap: var(--spacing-8);
        min-height: auto;
        margin: 20px auto;
        margin-left: auto;
        margin-right: auto;
        justify-content: flex-start;
    }
    
    .welcome-section {
        margin-top: 0;
    }
    
    .welcome-title {
        font-size: var(--text-3xl);
        line-height: var(--leading-tight);
    }
    
    .welcome-subtitle {
        font-size: var(--text-sm);
        line-height: var(--leading-normal);
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: var(--text-2xl);
        line-height: var(--leading-relaxed);
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .login-form-wrapper {
        gap: var(--spacing-6);
    }
}

/* ============================= */
/* 📱 MOBILE & TABLET RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  .learn-section {
    padding: 20px;
    gap: 40px;
    min-height: auto;
  }

  .learn-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .learn-text,
  .learn-subtext {
    max-width: 100%;
    text-align: center;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    transform: none;
  }

  .learn-image {
    width: 100%;
    min-height: 160px;
    border-radius: var(--radius-sm);
  }

  .mks-logo {
    width: 140px;
    height: 18px;
    top: 10px;
    right: 10px;
  }

  /* Features (frame22) */
  .frame22 {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .frame8,
  .frame10,
  .frame11 {
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .feature img {
    width: 100%;
    height: auto;
  }

  .feature-title {
    font-size: var(--text-base);
  }

  /* About section */
  .about-body {
    flex-direction: column;
    gap: 2rem;
  }

  .about-item {
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .about-image {
    width: 70%;
    max-width: 220px;
  }
  @media (max-width: 768px) {
  .account-activity,
  .manage-money,
  .serve-kids {
    position: static;        /* stop floating */
    width: 80%;
    max-width: 300px;          /* fit the container */
    height: auto;            /* keep aspect ratio */
    transform: none;         /* remove centering */
    object-fit: contain;     /* make it clean and not cropped */
  }
}

  .about-text {
    align-items: center;
  }

  /* CTA section */
  .cta {
    flex-direction: column;
    text-align: center;
    align-items: center;       
    justify-content: center;
    height: auto;
    padding: 2rem 1.5rem;
    gap: 1rem;
    position: relative;
    overflow: hidden; 
  }

  .cta-left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .cta-logo {
    height: 60px;
  }

  .cta-right {
    width: 100%;
    align-items: center;
  }

  .cta-heading-inline {
    display: flex;
    flex-direction: column;     /* stack them cleanly */
    align-items: center;        /* center horizontally */
    justify-content: center;    /* center vertically within their container */
    text-align: center;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .cta-title,
  .cta-subtitle {
    white-space: normal;        /* allow line breaks so text doesn’t overflow */
    line-height: 1.3;
    word-wrap: break-word;
    text-align: center;
  }

  .cta-description {
    font-size: var(--text-sm);
    width: 90%;                 /* stops from overflowing the blue area */
    max-width: 600px;
    margin: 1rem auto 0;
    text-align: center;
  }
}
/* ============================= */
/* 💻 TABLET / iPad AIR (portrait & landscape) */
/* ============================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .learn-section {
    padding: 40px;
    gap: 60px;
    min-height: auto;
  }

  .learn-content {
    width: 90%;
    text-align: center;
    align-items: center;
  }

  .learn-text,
  .learn-subtext {
    max-width: 90%;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    text-align: center;
    transform: none;
  }

  .learn-image {
    width: 90%;
    min-height: 220px;
    background-position: center;
  }

  /* Features (frame22) */
  .frame22 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  .frame8,
  .frame10,
  .frame11 {
    width: 45%;
    height: auto;
    aspect-ratio: 16/10;
  }

  .account-activity,
  .manage-money,
  .serve-kids {
    width: 100%;
    max-width: 340px;
    height: auto;
    position: static;
    transform: none;
    object-fit: contain;
    margin: 0 auto;
  }

  /* About section */
  .about-body {
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
  }

  .about-item {
    width: 80%;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .about-image {
    width: 150px;
    height: auto;
  }

  /* CTA section */
  .cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem 3rem;
    gap: 1.5rem;
    height: auto;
  }

  .cta-left {
    display: flex;
    justify-content: center;
  }

  .cta-logo {
    height: 65px;
  }

  .cta-description {
    width: 100%;
    font-size: var(--text-base);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .login-bg,
    .top-nav,
    .learn-more,
    .help-link {
        display: none;
    }
    
    .login-content {
        width: 100%;
        left: 0;
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(4px);
    }
    50% {
        transform: translateY(-2px);
    }
    75% {
        transform: translateY(2px);
    }
}

/* ============================================
   FORGOT PASSWORD MODAL
   ============================================ */
.fp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-5);
    box-sizing: border-box;
}

.fp-modal {
    background: var(--color-surface);
    border-radius: 12px;
    padding: var(--spacing-8);
    width: 440px;
    max-width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fp-modal-in 0.2s ease;
}

@keyframes fp-modal-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.fp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-3);
}

.fp-modal-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-default);
    margin: 0;
    line-height: var(--leading-tight);
}

.fp-modal-close {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: color var(--transition-base), background var(--transition-base);
}

.fp-modal-close:hover {
    color: var(--color-text-default);
    background: var(--color-surface);
}

.fp-modal-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0 0 var(--spacing-5) 0;
    line-height: var(--leading-normal);
}

.fp-modal-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.fp-modal-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.fp-cancel-btn {
    margin-bottom: 0 !important;
}

/* "Forgot your password?" styled as a link but is a button */
button.forgot-password {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-family-base);
}
