/* =========================================================
   SPL LEKHABOOKS
   PDUC BANK ATTENDANCE MANAGEMENT SYSTEM
   ENTERPRISE LOGIN / LANDING PAGE

   BASE STYLES
   Responsive rules are in login-responsive.css
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --login-primary: #005BAC;
    --login-primary-dark: #003F79;
    --login-secondary: #0F8B8D;
    --login-white: #FFFFFF;

    --login-text: #243447;
    --login-text-light: #667085;
    --login-border: #DBE5EF;

    --login-bg: #EEF4FB;

    --login-shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.08);

    --login-shadow-md: 0 18px 45px rgba(0, 0, 0, 0.12);

    --login-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.22);

    --login-radius: 16px;

    --login-transition-fast: 0.2s ease;

    --login-transition: 0.3s ease;

}

/* =========================================================
   SMOOTH ANCHOR SCROLL
========================================================= */

html {
    scroll-behavior: smooth;
}


/* Prevent fixed/absolute navbar from covering
   the login section when clicking Login */

#login {

    scroll-margin-top: 130px;

}

/* =========================================================
   BASE RESET
========================================================= */

.landing-wrapper {

    width: 100%;

    min-height: 100vh;

    overflow-x: hidden;

}


.landing-wrapper *,
.landing-wrapper *::before,
.landing-wrapper *::after {

    box-sizing: border-box;

}


.landing-wrapper img {

    max-width: 100%;

}


.landing-wrapper a {

    text-decoration: none;

}


.landing-wrapper button,
.landing-wrapper input {

    font-family: inherit;

}


/* =========================================================
   CONTAINER
========================================================= */

.landing-wrapper .container {

    width: min(1280px, 92%);

    max-width: 1280px;

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   NAVBAR
========================================================= */

.top-navbar {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    padding: 20px 0;

    z-index: 100;

}


.navbar-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 0;

    color: #FFFFFF;

}


.brand img {

    width: 60px;

    height: 60px;

    flex: 0 0 60px;

    object-fit: contain;

    padding: 7px;

    border-radius: 12px;

    background: #FFFFFF;

    box-shadow: var(--login-shadow-sm);

}


.brand h3 {

    margin: 0 0 3px;

    color: #FFFFFF;

    font-size: 22px;

    line-height: 1.2;

    font-weight: 800;

}


.brand span {

    display: block;

    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;

    line-height: 1.4;

    letter-spacing: 0.07em;

    text-transform: uppercase;

}


/* =========================================================
   NAVIGATION
========================================================= */

.top-navbar nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 8px;

}


.top-navbar nav a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 44px;

    padding: 10px 16px;

    border-radius: 10px;

    color: #FFFFFF;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    transition: background-color var(--login-transition-fast),
    color var(--login-transition-fast);

}


.top-navbar nav a:hover {

    background: rgba(255, 255, 255, 0.10);

}


.top-navbar nav a:focus-visible {

    outline: 3px solid rgba(255, 255, 255, 0.55);

    outline-offset: 2px;

}


/* =========================================================
   LOGIN NAV BUTTON
========================================================= */

.login-btn {

    margin-left: 4px;

    background: #FFFFFF;

    color: var(--login-primary) !important;

    font-weight: 700 !important;

}


.login-btn:hover {

    background: #F5F8FC !important;

    color: var(--login-primary-dark) !important;

}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    position: relative;

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 120px 0 70px;

    overflow: hidden;

    background: linear-gradient(
            140deg,
            #003F79 0%,
            #005BAC 55%,
            #0F8B8D 100%
    );

}


/* =========================================================
   HERO GRID

   IMPORTANT:
   No fixed 360px minimum here.
   This prevents mobile overflow.
========================================================= */

.hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    gap: clamp(35px, 5vw, 70px);

    align-items: center;

    width: 100%;

}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.hero-section::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image: linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
    ),
    linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
    );

    background-size: 42px 42px;

    opacity: 0.45;

}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.hero-section::after {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    top: -200px;

    right: -220px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    filter: blur(40px);

    pointer-events: none;

}


/* =========================================================
   HERO LEFT
========================================================= */

.hero-left {

    min-width: 0;

    color: #FFFFFF;

}


.badge-cloud {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    max-width: 100%;

    min-height: 42px;

    padding: 9px 17px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.10);

    color: #FFFFFF;

    font-size: 14px;

    font-weight: 600;

    text-align: center;

    backdrop-filter: blur(10px);

}


.badge-cloud i {

    font-size: 18px;

    flex-shrink: 0;

}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-left h1 {

    max-width: 780px;

    margin: 28px 0 0;

    color: #FFFFFF;

    /*
       Responsive naturally.
       Mobile is controlled again in
       login-responsive.css.
    */

    font-size: clamp(34px, 5.2vw, 68px);

    line-height: 1.04;

    font-weight: 900;

    letter-spacing: -1.8px;

    overflow-wrap: break-word;

}


.hero-left h1 span {

    display: block;

    color: #BDE6FF;

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-left p {

    max-width: 680px;

    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.86);

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

    margin-top: 36px;

}


.btn-primary-custom,
.btn-secondary-custom {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 26px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 700;

    transition: transform var(--login-transition),
    background-color var(--login-transition),
    border-color var(--login-transition),
    box-shadow var(--login-transition);

}


.btn-primary-custom {

    background: #FFFFFF;

    color: var(--login-primary);

    box-shadow: var(--login-shadow-md);

}


.btn-primary-custom:hover {

    color: var(--login-primary-dark);

    transform: translateY(-2px);

    box-shadow: var(--login-shadow-lg);

}


.btn-secondary-custom {

    border: 1px solid rgba(255, 255, 255, 0.30);

    background: rgba(255, 255, 255, 0.04);

    color: #FFFFFF;

}


.btn-secondary-custom:hover {

    color: #FFFFFF;

    background: rgba(255, 255, 255, 0.10);

    transform: translateY(-2px);

}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 52px;

}


.hero-stats div {

    min-width: 0;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(15px);

    transition: transform var(--login-transition),
    background-color var(--login-transition);

}


.hero-stats div:hover {

    background: rgba(255, 255, 255, 0.15);

    transform: translateY(-4px);

}


.hero-stats h2 {

    margin: 0;

    color: #FFFFFF;

    font-size: clamp(24px, 3vw, 32px);

    line-height: 1.2;

    font-weight: 800;

}


.hero-stats span {

    display: block;

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.80);

    font-size: 13px;

}


/* =========================================================
   HERO RIGHT
========================================================= */

.hero-right {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    width: 100%;

    min-width: 0;

}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {

    width: 100%;

    max-width: 460px;

    margin-left: auto;

    margin-right: auto;

    padding: 40px;

    border: 1px solid rgba(255, 255, 255, 0.50);

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: var(--login-shadow-lg);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-header {

    margin-bottom: 28px;

    text-align: center;

}


.login-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 18px;

    background: linear-gradient(
            135deg,
            var(--login-primary),
            var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 29px;

    box-shadow: 0 14px 30px rgba(0, 91, 172, 0.20);

}


.login-header h2 {

    margin: 0 0 8px;

    color: var(--login-primary-dark);

    font-size: 31px;

    line-height: 1.2;

    font-weight: 800;

}


.login-header p {

    margin: 0;

    color: var(--login-text-light);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   ALERTS
========================================================= */

.login-card .alert {

    margin-bottom: 18px;

    padding: 13px 16px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 600;

}


.login-card .alert-success {

    color: #2E7D32;

    background: #E8F5E9;

    border: 1px solid #A5D6A7;

}


.login-card .alert-danger {

    color: #C62828;

    background: #FFEBEE;

    border: 1px solid #EF9A9A;

}


.login-card .alert-warning {

    color: #F57F17;

    background: #FFF8E1;

    border: 1px solid #FFE082;

}


.login-card .alert-info {

    color: #1565C0;

    background: #E3F2FD;

    border: 1px solid #90CAF9;

}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 9px;

    color: #344054;

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   INPUT
========================================================= */

.input-box {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    height: 56px;

    border: 1px solid var(--login-border);

    border-radius: 14px;

    background: #FAFCFF;

    transition: border-color var(--login-transition-fast),
    box-shadow var(--login-transition-fast),
    background-color var(--login-transition-fast);

}


.input-box:hover {

    border-color: #B7CCE5;

}


.input-box:focus-within {

    border-color: var(--login-primary);

    background: #FFFFFF;

    box-shadow: 0 0 0 4px rgba(0, 91, 172, 0.10);

}


.input-box > i {

    flex: 0 0 52px;

    width: 52px;

    text-align: center;

    color: var(--login-secondary);

    font-size: 17px;

}


.input-box input {

    width: 100%;

    min-width: 0;

    height: 100%;

    padding: 0 50px 0 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--login-text);

    font-size: 14px;

}


.input-box input::placeholder {

    color: #98A2B3;

}


/* =========================================================
   PASSWORD BUTTON
========================================================= */

#togglePassword {

    position: absolute;

    top: 50%;

    right: 7px;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    border: 0;

    border-radius: 10px;

    background: transparent;

    color: #667085;

}


#togglePassword:hover {

    background: #EEF4FB;

    color: var(--login-primary);

}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin: 8px 0 26px;

}


.login-options label {

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0;

    color: var(--login-text-light);

    font-size: 13px;

    cursor: pointer;

}


.login-options input {

    width: 17px;

    height: 17px;

    margin: 0;

    accent-color: var(--login-primary);

}


.login-options a {

    color: var(--login-primary);

    font-size: 13px;

    font-weight: 700;

}


.login-options a:hover {

    text-decoration: underline;

}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {

    width: 100%;

    height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 0;

    border-radius: 14px;

    background: linear-gradient(
            135deg,
            var(--login-primary),
            var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 15px;

    font-weight: 700;

    box-shadow: 0 16px 30px rgba(0, 91, 172, 0.20);

    transition: transform var(--login-transition-fast),
    box-shadow var(--login-transition-fast),
    opacity var(--login-transition-fast);

}


.login-button:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 0 20px 38px rgba(0, 91, 172, 0.26);

}


/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 24px;

}


.quick-info span {

    min-height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 8px;

    border: 1px solid #E3EAF3;

    border-radius: 12px;

    background: #F5F8FC;

    color: #31506C;

    font-size: 12px;

    font-weight: 600;

    text-align: center;

}


.quick-info i {

    color: var(--login-primary);

    font-size: 15px;

}


/* =========================================================
   DASHBOARD PREVIEW
========================================================= */

.dashboard-preview {

    position: relative;

    z-index: 5;

    margin: 80px 0;

}


.dashboard-window {

    overflow: hidden;

    border: 1px solid #E2EAF3;

    border-radius: 24px;

    background: #FFFFFF;

    box-shadow: var(--login-shadow-lg);

}


/* =========================================================
   WINDOW HEADER
========================================================= */

.window-header {

    position: relative;

    height: 62px;

    display: flex;

    align-items: center;

    padding: 0 24px;

    background: #F8FBFF;

    border-bottom: 1px solid #E7EEF6;

}


.window-header span {

    width: 11px;

    height: 11px;

    margin-right: 7px;

    border-radius: 50%;

}


.window-header span:nth-child(1) {
    background: #FF5F57;
}

.window-header span:nth-child(2) {
    background: #FEBC2E;
}

.window-header span:nth-child(3) {
    background: #28C840;
}


.window-header h5 {

    position: absolute;

    left: 50%;

    margin: 0;

    color: var(--login-primary-dark);

    font-size: 15px;

    font-weight: 700;

    transform: translateX(-50%);

}


/* =========================================================
   DASHBOARD GRID
========================================================= */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    padding: 30px;

}


.dashboard-card {

    position: relative;

    overflow: hidden;

    min-height: 190px;

    padding: 24px;

    border: 1px solid #E5EDF6;

    border-radius: 18px;

    background: #FFFFFF;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    transition: transform var(--login-transition),
    box-shadow var(--login-transition),
    border-color var(--login-transition);

}


.dashboard-card:hover {

    transform: translateY(-5px);

    border-color: #BCD6F3;

    box-shadow: 0 20px 40px rgba(0, 91, 172, 0.12);

}


.dashboard-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(
            90deg,
            var(--login-primary),
            var(--login-secondary)
    );

}


.dashboard-card::after {

    content: "";

    position: absolute;

    top: 20px;

    right: 20px;

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: #36C76C;

    box-shadow: 0 0 0 5px rgba(54, 199, 108, 0.12);

}


.dashboard-card i {

    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 15px;

    background: linear-gradient(
            135deg,
            var(--login-primary),
            var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 24px;

}


.dashboard-card h3 {

    margin: 0;

    color: var(--login-primary-dark);

    font-size: 30px;

    line-height: 1.2;

    font-weight: 800;

}


.dashboard-card p {

    margin: 7px 0 0;

    color: var(--login-text-light);

    font-size: 14px;

}


/* =========================================================
   FEATURES
========================================================= */

.features-section {

    padding: 100px 0;

    background: #FFFFFF;

}


.section-title {

    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;

}


.section-title small {

    display: inline-block;

    margin-bottom: 16px;

    padding: 7px 16px;

    border-radius: 50px;

    background: #EAF4FF;

    color: var(--login-primary);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

}


.section-title h2 {

    margin: 0 0 16px;

    color: var(--login-primary-dark);

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.2;

    font-weight: 800;

}


.section-title p {

    margin: 0;

    color: var(--login-text-light);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   FEATURES GRID
========================================================= */

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

}


.feature-card {

    position: relative;

    overflow: hidden;

    padding: 32px 28px;

    border: 1px solid #E8EEF5;

    border-radius: 20px;

    background: #FFFFFF;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    transition: transform var(--login-transition),
    box-shadow var(--login-transition),
    border-color var(--login-transition);

}


.feature-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(
            90deg,
            var(--login-primary),
            var(--login-secondary)
    );

}


.feature-card:hover {

    transform: translateY(-6px);

    border-color: #BCD6F3;

    box-shadow: 0 22px 45px rgba(0, 91, 172, 0.12);

}


.feature-card i {

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 24px;

    border-radius: 17px;

    background: linear-gradient(
            135deg,
            var(--login-primary),
            var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 26px;

}


.feature-card h4 {

    margin: 0 0 12px;

    color: var(--login-primary-dark);

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;

}


.feature-card p {

    margin: 0;

    color: var(--login-text-light);

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding: 65px 0 25px;

    background: #0B1F36;

    color: #FFFFFF;

}


.footer-content {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;

}


.footer-content h3 {

    margin: 0 0 16px;

    font-size: 27px;

    font-weight: 800;

}


.footer-content h5 {

    margin: 0 0 18px;

    font-size: 17px;

    font-weight: 700;

}


.footer-content p {

    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    line-height: 1.8;

}


.footer a {

    display: block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

}


.footer a:hover {

    color: #FFFFFF;

}


.footer hr {

    margin: 45px 0 22px;

    border: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

}


.copyright {

    color: rgba(255, 255, 255, 0.60);

    font-size: 13px;

    text-align: center;

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9999;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: linear-gradient(
            135deg,
            var(--login-primary),
            var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 20px;

    box-shadow: 0 12px 28px rgba(0, 91, 172, 0.28);

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition: opacity var(--login-transition),
    visibility var(--login-transition),
    transform var(--login-transition);

}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


/* =========================================================
   SCROLLED NAVBAR
========================================================= */

.top-navbar.navbar-scrolled {

    position: fixed;

    padding: 12px 0;

    background: rgba(0, 63, 121, 0.96);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(12px);

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .landing-wrapper *,
    .landing-wrapper *::before,
    .landing-wrapper *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .top-navbar,
    .hero-buttons,
    .back-to-top {

        display: none !important;

    }


    .hero-section {

        min-height: auto;

        padding: 30px 0;

        background: #FFFFFF !important;

    }


    .hero-left,
    .hero-left h1,
    .hero-left p {

        color: #000000 !important;

    }


    .login-card {

        box-shadow: none;

        border: 1px solid #CCCCCC;

    }

}

/* =========================================================
   FINAL LOGIN FORM FIX
   Matches current login.html
   - .login-submit is the real button class
   - Bootstrap Icons remain visible and correctly positioned
   - OTP / password reset sections are supported
========================================================= */

/* Keep the original visual design */
.login-card {
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
}

.login-card *,
.login-card *::before,
.login-card *::after {
    box-sizing: border-box;
}

.login-card button,
.login-card input {
    font-family: inherit;
}

/* ---------------------------------------------------------
   FORM GROUP
--------------------------------------------------------- */

.login-card .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.login-card .form-group label {
    display: block;
    margin-bottom: 9px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   INPUT BOX
   IMPORTANT: icons are absolute so they never squeeze
   the input text or disappear.
--------------------------------------------------------- */

.login-card .input-box {
    position: relative;
    width: 100%;
    height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.login-card .input-box > i {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 3;

    width: 46px;
    height: 46px;

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

    margin: 0;
    padding: 0;

    transform: translateY(-50%);

    color: var(--login-secondary);
    font-size: 17px;
    line-height: 1;

    pointer-events: none;
}

.login-card .input-box input {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;
    min-width: 0;

    margin: 0;

    padding: 0 50px 0 46px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--login-text);

    font-size: 14px;
    line-height: 1.2;

    box-sizing: border-box;
}

.login-card .input-box input:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

.login-card .input-box input::placeholder {
    color: #98A2B3;
    opacity: 1;
}

/* ---------------------------------------------------------
   PASSWORD VISIBILITY BUTTON
--------------------------------------------------------- */

#togglePassword {
    position: absolute !important;
    top: 50% !important;
    right: 6px !important;
    z-index: 5 !important;

    width: 40px !important;
    height: 40px !important;

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

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: transparent !important;
    color: #667085 !important;

    cursor: pointer;
    line-height: 1;
}

#togglePassword i {
    position: static !important;

    width: auto !important;
    height: auto !important;

    display: block !important;

    transform: none !important;

    color: inherit !important;
    font-size: 17px !important;

    pointer-events: none !important;
}

#togglePassword:hover {
    background: #EEF4FB !important;
    color: var(--login-primary) !important;
}

#togglePassword:focus-visible {
    outline: 2px solid var(--login-primary) !important;
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   LOGIN OPTIONS
--------------------------------------------------------- */

.login-card .login-options {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 8px 0 26px;
}

.login-card .login-options label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--login-text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.login-card .login-options input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin: 0;
    padding: 0;
    accent-color: var(--login-primary);
    cursor: pointer;
}

/* Current HTML uses a BUTTON, not an <a> */
.login-card .forgot-password-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;

    color: var(--login-primary);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;

    cursor: pointer;
}

.login-card .forgot-password-button:hover {
    color: var(--login-primary-dark);
    text-decoration: underline;
}

.login-card .forgot-password-button:focus-visible {
    outline: 2px solid var(--login-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------------------------------------------------------
   REAL LOGIN BUTTON CLASS
--------------------------------------------------------- */

.login-card .login-submit {
    width: 100%;
    min-height: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 0;
    padding: 13px 20px;

    border: 0;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        var(--login-primary),
        var(--login-secondary)
    );

    color: #FFFFFF;

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    box-shadow: 0 16px 30px rgba(0, 91, 172, 0.20);

    cursor: pointer;

    transition:
        transform var(--login-transition-fast),
        box-shadow var(--login-transition-fast),
        opacity var(--login-transition-fast);
}

.login-card .login-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(0, 91, 172, 0.26);
}

.login-card .login-submit:active:not(:disabled) {
    transform: translateY(0);
}

.login-card .login-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.login-card .login-submit i {
    position: static;
    width: auto;
    height: auto;
    display: inline-block;
    margin: 0;
    transform: none;
    color: inherit;
    font-size: 16px;
    pointer-events: none;
}

/* ---------------------------------------------------------
   OTP / RESET
--------------------------------------------------------- */

#otpSection,
#passwordResetSection {
    width: 100%;
}

.otp-header {
    margin-bottom: 26px;
    text-align: center;
}

.otp-header .login-icon {
    margin-bottom: 16px;
}

.otp-header h3 {
    margin: 0 0 8px;
    color: var(--login-primary-dark);
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
}

.otp-header p {
    max-width: 380px;
    margin: 0 auto;
    color: var(--login-text-light);
    font-size: 13px;
    line-height: 1.65;
}

#otp {
    text-align: center;
    letter-spacing: 7px;
    font-size: 19px !important;
    font-weight: 700;
    padding-left: 52px !important;
    padding-right: 20px !important;
}

.otp-timer {
    width: 100%;
    margin: -4px 0 17px;
    color: var(--login-text-light);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

#resendOtpButton {
    margin: 14px auto 0;
}

#resendOtpButton:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#backToLoginButton,
#backFromResetButton {
    width: 100%;
    margin-top: 16px;
    min-height: 42px;
}

/* ---------------------------------------------------------
   MOBILE FORM SAFETY
--------------------------------------------------------- */

@media (max-width: 576px) {

    .login-card {
        max-width: 100%;
        padding: 26px 18px;
        border-radius: 18px;
    }

    .login-card .input-box {
        height: 53px;
        min-height: 53px;
    }

    .login-card .input-box > i {
        width: 43px;
        height: 43px;
        font-size: 16px;
    }

    .login-card .input-box input {
        padding-left: 43px;
        padding-right: 46px;
        font-size: 13px;
    }

    #togglePassword {
        right: 5px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .login-card .login-submit {
        min-height: 53px;
        height: 53px;
        font-size: 14px;
    }

    .login-card .login-options {
        margin-bottom: 22px;
    }

    .login-card .login-options label,
    .login-card .forgot-password-button {
        font-size: 12px;
    }
}

@media (max-width: 400px) {

    .login-card {
        padding: 20px 14px;
    }

    .login-card .input-box {
        height: 51px;
        min-height: 51px;
    }

    .login-card .input-box input {
        font-size: 12px;
    }

    .login-card .login-options label,
    .login-card .forgot-password-button {
        font-size: 11px;
    }
}
/* =========================================================
   FORGOT PASSWORD CLICK FIX
========================================================= */

.login-card .forgot-password-button {
    position: relative;
    z-index: 20;

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

    pointer-events: auto;
    cursor: pointer;

    border: 0;
    background: transparent;

    color: var(--login-primary);

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    padding: 4px 2px;
    margin: 0;
}

.login-card .forgot-password-button:hover {
    color: var(--login-primary-dark);
    text-decoration: underline;
}

.login-card .forgot-password-button:focus-visible {
    outline: 2px solid var(--login-primary);
    outline-offset: 3px;
}