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

:root {
    --navy: #0b2b5c;
    --blue: #0866d8;
    --blue-dark: #064fb2;
    --light-blue: #eaf4ff;
    --purple: #6d3bd1;
    --text: #16365f;
    --muted: #60779a;
    --white: #ffffff;
    --border: #d8e5f4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: #f8fbff;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* NAVBAR */
.navbar {
    height: 74px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e7eef7;
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.nav-inner {
    width: min(1600px, 96%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
}

.brand-logo {
    width: 80px;
    height: 65px;
    flex: 0 0 78px;
    object-fit: contain;
    border-radius: 8px;
    padding: 3px;
    background: #eef5fb;
    object-position: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 20px;
    letter-spacing: .2px;
}

.brand-text span {
    color: #476587;
    font-size: 13px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 26px 0;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--blue);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    height: 3px;
    background: var(--blue);
    border-radius: 5px;
    left: 0;
    right: 0;
    bottom: 0;
}

.nav-login,
.btn.primary {
    border: 0;
    background: linear-gradient(135deg, #0969dc, #0756bd);
    color: white;
    border-radius: 12px;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login {
    padding: 12px 25px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.theme-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #cbd9e9;
    border-radius: 10px;
    background: #ffffff;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.theme-toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.mobile-menu {
    display: none;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 24px;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 468px;
    background:
        linear-gradient(90deg, rgba(226,241,255,.98) 0%,
        rgba(225,241,255,.92) 45%,
        rgba(206,231,252,.60) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -5%;
    top: 0;
    width: 48%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(31,116,201,.20), transparent 35%),
        linear-gradient(135deg, transparent, rgba(63,137,190,.18));
    pointer-events: none;
}

.hero-grid {
    min-height: 468px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 48px 0;
}

.badge {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    background: #d7eaff;
    color: #0862c9;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 17px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -2px;
    color: var(--navy);
    margin-bottom: 12px;
}

.hero h1 span,
.hero h2 span {
    color: #125fca;
}

.hero h2 {
    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.22;
    color: #173a63;
    margin-bottom: 17px;
}

.hero p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
    color: #284c76;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 24px;
}

.btn {
    padding: 14px 27px;
    border-radius: 28px;
    font-weight: 700;
    border: 2px solid transparent;
}

.btn.primary {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn.outline {
    background: white;
    border-color: #146bd5;
    color: #1260c6;
}

/* VALUE SECTION */
.value-section {
    padding: 30px 0 18px;
}

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

.value-header span {
    display: inline-block;
    color: #0b60cc;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.value-header h2 {
    color: var(--navy);
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -0.02em;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.value-card {
    background: rgba(255,255,255,.72);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 14px 28px rgba(26, 54, 88, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(26, 54, 88, 0.08);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    font-size: 22px;
    color: white;
}

.blue-icon { background: linear-gradient(135deg, #0c73f5, #0e95d7); }
.green-icon { background: linear-gradient(135deg, #2da57b, #3cbc8f); }
.purple-icon { background: linear-gradient(135deg, #7a4ae7, #9566ff); }

.value-card h3 {
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 10px;
}

.value-card p {
    color: #577194;
    line-height: 1.7;
}

.about-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(9, 86, 188, 0.05), rgba(167, 214, 255, 0.14));
    border: 1px solid rgba(130, 176, 233, 0.48);
    border-radius: 24px;
    box-shadow: 0 16px 32px rgba(28, 72, 123, 0.05);
}

.about-copy {
    flex: 1.2;
}

.about-copy span {
    color: #0d6bda;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-copy h3 {
    color: var(--navy);
    font-size: clamp(22px, 2vw, 30px);
    margin: 10px 0 8px;
}

.about-copy p {
    color: #587296;
    line-height: 1.7;
    max-width: 680px;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 18px;
    flex: 0.8;
}

.about-metrics div {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(152, 183, 224, 0.6);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
}

.about-metrics strong {
    display: block;
    font-size: clamp(22px, 2vw, 30px);
    color: var(--navy);
}

.about-metrics span {
    color: #577194;
    font-size: 13px;
    font-weight: 600;
}

/* DASHBOARD */
.dashboard-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.23), rgba(255,255,255,0.08));
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(13, 47, 82, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.7),
        inset 0 -10px 35px rgba(129, 178, 224, 0.12);
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 370px;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dashboard-card::before,
.dashboard-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}

.dashboard-card::before {
    width: 180px;
    height: 180px;
    background: rgba(74, 160, 255, 0.22);
    top: -60px;
    right: -20px;
}

.dashboard-card::after {
    width: 200px;
    height: 200px;
    background: rgba(160, 104, 255, 0.12);
    bottom: -70px;
    left: -30px;
}

.dashboard-sidebar {
    background: linear-gradient(180deg, #0b2b5c 0%, #0a4e96 100%);
    padding: 18px 12px;
    color: white;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 4px 18px;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.sidebar-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    background: white;
    border-radius: 6px;
    padding: 3px;
}

.sidebar-brand strong {
    display: block;
    font-size: 10px;
    line-height: 1.2;
}

.sidebar-brand span {
    display: block;
    margin-top: 3px;
    font-size: 8px;
    color: rgba(255,255,255,.75);
}

.preview-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.preview-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: 7px;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: .2s ease;
}

.preview-sidebar-nav a i {
    width: 14px;
    text-align: center;
}

.preview-sidebar-nav a:hover,
.preview-sidebar-nav a.active {
    background: rgba(255,255,255,.16);
    color: white;
}

.dashboard-main-preview {
    min-width: 0;
    padding: 22px;
}

.dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

.dashboard-heading h3 {
    font-size: 19px;
    color: var(--navy);
}

.dashboard-heading p {
    color: #577092;
    margin-top: 5px;
    font-size: 13px;
}

.dashboard-heading > i {
    color: #6885aa;
}

.photo-slider {
    position: relative;
    width: 100%;
    height: 310px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #dfeeff, #cadcf6);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.7),
        inset 0 -16px 26px rgba(7, 32, 64, 0.18),
        0 18px 28px rgba(12, 46, 90, 0.15);
}

.photo-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 17, 30, 0.08), rgba(9, 17, 30, 0.58));
    z-index: 1;
    pointer-events: none;
}

.photo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, transform .75s ease;
    transform: scale(1.05);
}

.photo-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.photo-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.05);
    transition: transform 7s ease, filter 0.6s ease;
}

.slide-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: linear-gradient(135deg, #123e70, #147c9d);
    color: #ffffff;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    text-align: center;
}

.photo-slide.image-unavailable .slide-fallback {
    display: flex;
}

.photo-slide.active img {
    transform: scale(1.12);
}

.photo-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,25,55,.72), rgba(3,25,55,.02) 55%);
}

.photo-caption {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 34px;
    color: white;
}

.photo-caption strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.photo-caption span {
    font-size: 11px;
    opacity: .9;
}

.slider-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.panel-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(10, 20, 35, 0.38);
    border: 1px solid rgba(255,255,255,0.26);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(96px, 1fr));
    gap: 10px;
    max-width: 220px;
}

.metric-box {
    background: rgba(9, 22, 40, 0.42);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(10px);
}

.metric-box strong {
    display: block;
    color: white;
    font-size: 19px;
    line-height: 1.1;
    margin-bottom: 3px;
}

.metric-box span {
    color: rgba(255,255,255,.8);
    font-size: 11px;
    letter-spacing: .02em;
}

.photo-slider-btn {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 12px 18px rgba(0,0,0,.15);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.photo-prev { left: 14px; }
.photo-next { right: 14px; }

.photo-slider-btn:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 22px rgba(0,0,0,.2);
}

.photo-autoplay-toggle {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    background: rgba(12, 25, 43, .44);
    color: #ffffff;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.photo-autoplay-toggle:hover {
    background: rgba(12, 25, 43, .72);
}

.photo-dots {
    position: absolute;
    z-index: 5;
    bottom: 14px;
    right: 14px;
    display: flex;
    gap: 7px;
}

.photo-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.photo-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

/* SECTION */
.access-section,
.features-section {
    padding: 55px 0 70px;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading > span {
    color: #0b60cc;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-heading h2 {
    font-size: 32px;
    color: var(--navy);
    margin: 7px 0;
}

.section-heading p {
    color: #587394;
    font-size: 16px;
}

/* ACCESS CARDS */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 1040px;
    margin: auto;
}

.access-card {
    display: flex;
    gap: 22px;
    padding: 25px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(33,79,125,.08);
    transition: .25s ease;
}

.access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(33,79,125,.13);
}

.employee-card {
    border-top: 3px solid #1582ee;
    background: linear-gradient(145deg, #fff, #f1f9ff);
}

.admin-card {
    border-top: 3px solid #6d3bd1;
    background: linear-gradient(145deg, #fff, #f8f4ff);
}

.access-icon {
    min-width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 30px;
}

.employee-card .access-icon {
    background: linear-gradient(145deg, #1684ef, #0665d3);
}

.admin-card .access-icon {
    background: linear-gradient(145deg, #7944db, #6030bd);
}

.access-content h3 {
    font-size: 21px;
    color: var(--navy);
    margin: 5px 0 8px;
}

.access-content p {
    color: #60789b;
    line-height: 1.5;
    font-size: 14px;
}

.access-content ul {
    list-style: none;
    margin: 10px 0 18px;
}

.access-content li {
    font-size: 14px;
    margin: 7px 0;
    color: #45617f;
}

.access-content li i {
    color: #1675df;
    margin-right: 8px;
}

.admin-card li i {
    color: #7140ca;
}

.access-btn {
    width: 100%;
    padding: 13px 15px;
    border: 0;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.blue-btn {
    background: linear-gradient(135deg, #086be0, #0757c0);
}

.purple-btn {
    background: linear-gradient(135deg, #7442d4, #6332bf);
}

/* FEATURES */
/*.features-section {
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    padding: 25px;
    border: 1px solid #e0e9f3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(20,67,115,.06);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 17px;
}

.blue-bg { background: #e9f4ff; color: #0870df; }
.green-bg { background: #eaf9ef; color: #149341; }
.purple-bg { background: #f3edff; color: #6c3cc7; }
.orange-bg { background: #fff4e9; color: #df7a16; }
.cyan-bg { background: #e8fbfc; color: #07879e; }
.red-bg { background: #fff0f0; color: #d64545; }

.feature-card h3 {
    color: var(--navy);
    margin-bottom: 9px;
}

.feature-card p {
    color: #60799b;
    line-height: 1.55;
    font-size: 14px;
}*/
/* =========================================
   CORE MODULES - FEATURE CARDS
========================================= */

.features-section {
    position: relative;
    overflow: hidden;
}

/* Feature Grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================================
   FEATURE CARD
========================================= */

.feature-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 30px 25px;
    overflow: hidden;
    cursor: pointer;

    /* Smooth hover */
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;

    /* Entry animation */
    animation: cardFloatIn 0.8s ease both;
}

/* Staggered animation */

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}


/* =========================================
   HOVER EFFECT
========================================= */

.feature-card:hover {
    transform: translateY(-12px);
    border-color: #2563eb;

    box-shadow:
        0 20px 45px rgba(37, 99, 235, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.08);
}


/* Top animated line */

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        #2563eb,
        transparent
    );

    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}


/* =========================================
   ICON
========================================= */

.feature-icon {
    width: 60px;
    height: 60px;

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

    border-radius: 15px;
    margin-bottom: 20px;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.feature-icon i {
    font-size: 25px;
    transition: transform 0.4s ease;
}


/* Icon hover animation */

.feature-card:hover .feature-icon {
    transform: scale(1.12) rotate(-5deg);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.15) rotate(8deg);
}


/* =========================================
   CARD TEXT
========================================= */

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;

    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #2563eb;
    transform: translateX(4px);
}

.feature-card:hover p {
    color: #475569;
}


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

.feature-card::after {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.06);

    right: -90px;
    bottom: -90px;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;

    pointer-events: none;
}

.feature-card:hover::after {
    transform: scale(1.8);
    opacity: 0.8;
}


/* =========================================
   ENTRY / FLOAT ANIMATION
========================================= */

@keyframes cardFloatIn {

    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================
   ICON BACKGROUND COLORS
========================================= */

.blue-bg {
    background: #eaf2ff;
    color: #2563eb;
}

.green-bg {
    background: #eafaf1;
    color: #16a34a;
}

.purple-bg {
    background: #f3eefe;
    color: #7c3aed;
}

.orange-bg {
    background: #fff3e6;
    color: #ea580c;
}

.cyan-bg {
    background: #e8faff;
    color: #0891b2;
}

.red-bg {
    background: #fff0f0;
    color: #dc2626;
}


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

@media (max-width: 900px) {

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px 20px;
    }

}


/* FOOTER */

.site-footer {
    background: #0b1f3a;
    color: #ffffff;
    margin-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
    gap: 40px;
    padding: 50px 20px 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 17px;
    margin-bottom: 18px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 14px;
    max-width: 330px;
}

/* Footer Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Contact */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 13px;
    color: #cbd5e1;
    font-size: 14px;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


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

@media (max-width: 900px) {

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

}

.legal-page {
    background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
    color: var(--text);
}

.legal-shell {
    max-width: 980px;
    margin: 48px auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dfeaf8;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(17, 51, 92, 0.08);
    overflow: hidden;
}

.legal-header {
    padding: 36px 38px 24px;
    border-bottom: 1px solid #edf2f9;
    background: linear-gradient(135deg, rgba(9, 102, 216, 0.06), rgba(109, 59, 209, 0.05));
}

.page-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #dfeeff;
    color: #0a66d8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-header h1 {
    margin-top: 18px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    letter-spacing: -0.04em;
}

.legal-header p {
    margin-top: 10px;
    color: #5d7893;
    font-weight: 500;
}

.legal-content {
    padding: 30px 38px;
}

.legal-content section + section {
    margin-top: 22px;
}

.legal-content h2 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
    color: #465f7b;
    line-height: 1.8;
    font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
    margin: 10px 0 0 20px;
}

.legal-content li + li {
    margin-top: 8px;
}

.legal-footer {
    padding: 0 38px 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
}

.back-link:hover {
    color: var(--blue);
}

@media (max-width: 600px) {

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 35px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .legal-shell {
        margin: 30px 14px;
        border-radius: 18px;
    }

    .legal-header,
    .legal-content,
    .legal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4,20,42,.65);
    z-index: 2000;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-box {
    position: relative;
    width: min(450px, 100%);
    background: white;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 25px 70px rgba(0,0,0,.22);
    animation: modalIn .2s ease;
}

.modal#accessModal .modal-box,
.modal#adminRolesModal .modal-box {
    background: rgba(246, 250, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 28px 80px rgba(7, 34, 68, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
}

@keyframes modalIn {
    from { transform: translateY(15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #506783;
    font-size: 18px;
}

.modal-title {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title img {
    display: block;
    width: min(270px, 90%);
    height: auto;
    max-height: 40px;
    object-fit: contain;
    margin: 0 auto 6px;
    mix-blend-mode: normal;
}

.modal-title h2 {
    color: var(--navy);
    margin-top: 8px;
}

.modal-title p,
.login-box > p {
    color: #69809c;
    margin-top: 6px;
}

.modal-option,
.role-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 16px;
    margin-top: 12px;
    border-radius: 16px;
    border: 1px solid rgba(157, 184, 216, 0.48);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 24px rgba(17, 53, 91, 0.07), inset 0 1px 0 rgba(255,255,255,.8);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
    text-align: left;
    color: var(--text);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.modal-option > i:first-child,
.role-option > i:first-child {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(228, 242, 255, 0.95), rgba(205, 229, 253, 0.76));
    color: #0a6ddd;
    transition: transform .24s ease, box-shadow .24s ease;
}

.admin-option > i:first-child {
    background: linear-gradient(145deg, rgba(240, 233, 255, 0.96), rgba(222, 210, 255, 0.78));
    color: #6840c4;
}

.modal-option span,
.role-option span {
    flex: 1;
}

.modal-option strong,
.role-option strong {
    display: block;
}

.modal-option small,
.role-option small {
    display: block;
    color: #71859d;
    margin-top: 3px;
}

.login-box {
    text-align: left;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal .modal-box.login-box {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 28px 80px rgba(7, 34, 68, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
}

.login-logo {
    display: block;
    width: 75px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 10px;
    mix-blend-mode: multiply;
}

.login-box h2 {
    text-align: center;
    color: var(--navy);
}

.login-box > p {
    text-align: center;
    margin-bottom: 22px;
}

.login-box form {
    display: flex;
    flex-direction: column;
}

.login-box label {
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0 7px;
    color: #314f71;
}

.login-box input {
    padding: 13px 14px;
    border: 1px solid #d4e0ec;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.72);
    outline: none;
}

.login-box input:focus {
    border-color: #1170dc;
    box-shadow: 0 0 0 3px rgba(17,112,220,.1);
}

.login-submit {
    margin-top: 20px;
    padding: 13px;
    border: 0;
    border-radius: 9px;
    background: #0969d9;
    color: white;
    font-weight: 700;
}

.purple-submit {
    background: #6d3bd1;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .nav-links {
        display: none;
    }

    .nav-links.is-open {
        position: absolute;
        top: 74px;
        left: 2%;
        right: 2%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border: 1px solid #d8e5f4;
        border-radius: 0 0 12px 12px;
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,.08);
    }

    .nav-links.is-open a {
        padding: 12px;
    }

    .nav-links.is-open a.active::after {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .nav-actions {
        margin-left: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 30px 0 50px;
    }

    .dashboard-card {
        max-width: 620px;
        width: 100%;
        margin: auto;
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .brand-text span {
        display: none;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-logo {
        width: 48px;
        height: 42px;
        flex-basis: 48px;
        padding: 2px;
    }

    .nav-login {
        padding: 10px 14px;
    }

    .theme-toggle {
        min-height: 40px;
        padding: 8px 10px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .value-card {
        padding: 22px 20px;
    }

    .about-strip {
        align-items: stretch;
        flex-direction: column;
        padding: 22px 18px;
        gap: 18px;
    }

    .about-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .about-metrics div {
        min-width: 0;
        padding: 14px 7px;
    }

    .about-metrics strong {
        font-size: 22px;
    }

    .about-metrics span {
        font-size: 11px;
    }

    .btn {
        width: 100%;
    }

    .access-card {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   EMPLOYEE PROFILE
========================================= */

.profile-box {
    max-width: 650px;
}

.profile-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3ebf4;
}

.profile-header h2 {
    color: #0b2b5c;
    margin-top: 10px;
}

.profile-header p {
    color: #66809e;
    margin-top: 5px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eaf8ef;
    color: #168b3e;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f7faff;
    border: 1px solid #e1eaf3;
    border-radius: 10px;
}

.profile-item > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #e9f3ff;
    color: #0869d8;
    border-radius: 9px;
}

.profile-item small {
    display: block;
    color: #7288a0;
    font-size: 11px;
    margin-bottom: 4px;
}

.profile-item strong {
    display: block;
    color: #183b63;
    font-size: 13px;
}

.profile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.profile-actions button {
    border: 0;
    background: #0869d8;
    color: white;
    padding: 11px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.profile-actions button:hover {
    background: #0754ad;
}

.employee-error {
    color: #d33c3c;
    background: #fff1f1;
    border: 1px solid #ffd2d2;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    display: none;
}

.employee-error:not(:empty) {
    display: block;
}

.feedback-fab {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 1800;
    background: linear-gradient(135deg, #0d6fe8, #0b4eb5);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 35px rgba(11, 78, 181, 0.28);
    font-weight: 700;
}

.feedback-fab:hover {
    transform: translateY(-2px);
}

.feedback-modal-box {
    width: min(760px, 100%);
    max-height: 90vh;
    overflow-y: auto;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label,
.rating-box label,
.recommendation-box label {
    font-size: 14px;
    font-weight: 600;
    color: #2d4a68;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #d6e2f2;
    border-radius: 10px;
    padding: 12px 14px;
    background: white;
    font: inherit;
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1569d7;
    box-shadow: 0 0 0 3px rgba(21, 105, 215, 0.1);
}

.rating-box,
.recommendation-box {
    padding: 14px 16px;
    border: 1px solid #e2ebf7;
    background: #f9fbff;
    border-radius: 12px;
}

.rating-box .stars {
    margin-top: 8px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: fit-content;
}

.rating-box .stars input {
    display: none;
}

.rating-box .stars label {
    font-size: 34px;
    color: #d0d9e7;
    cursor: pointer;
    padding: 0 3px;
    line-height: 1;
}

.rating-box .stars label:hover,
.rating-box .stars label:hover ~ label,
.rating-box .stars input:checked ~ label {
    color: #f59e0b;
}

.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 8px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2e4664;
    font-weight: 500;
}

.checkbox-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2e4664;
    font-weight: 500;
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 6px;
}

.feedback-actions .btn {
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
}

.feedback-actions .btn-secondary {
    background: #edf2f9;
    color: #274a70;
    border: 1px solid #dfeaf7;
}

.feedback-actions .btn-primary {
    background: linear-gradient(135deg, #0c6fe8, #0b4eb5);
    color: white;
    border: 0;
}

.feedback-status {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.feedback-status.success {
    display: block;
    background: #eafaf1;
    border: 1px solid #bfead0;
    color: #18693c;
}

.feedback-status.error {
    display: block;
    background: #fff1f1;
    border: 1px solid #ffd6d6;
    color: #b42318;
}


/* DASHBOARD PREVIEW - RESPONSIVE */
@media (max-width: 650px) {
    .dashboard-card {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        padding: 10px;
    }

    .sidebar-brand {
        display: none;
    }

    .preview-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        margin-top: 0;
    }

    .preview-sidebar-nav a {
        flex: 0 0 auto;
        padding: 8px 10px;
    }

    .dashboard-main-preview {
        padding: 16px;
    }

    .photo-slider {
        height: 235px;
    }
}

@media (max-width: 600px) {

    .profile-details {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        grid-template-columns: 1fr;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .feedback-actions {
        flex-direction: column;
    }

    .feedback-fab {
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
    }
}

/* DARK THEME */
:root[data-theme="dark"] {
    color-scheme: dark;
    --navy: #dbeafe;
    --text: #d5e2f2;
    --muted: #a8bad1;
    --border: #33465f;
}

:root[data-theme="dark"] body {
    background: #101a2a;
    color: var(--text);
}

:root[data-theme="dark"] .navbar {
    background: rgba(16, 26, 42, .96);
    border-bottom-color: #2b3c53;
}

:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .mobile-menu {
    color: var(--text);
}

:root[data-theme="dark"] .brand-logo {
    background: transparent;
}

:root[data-theme="dark"] .brand-text span {
    color: #a8bad1;
}

:root[data-theme="dark"] .nav-links.is-open {
    background: #101a2a;
    border-color: #33465f;
}

:root[data-theme="dark"] .theme-toggle {
    background: #1c2a3e;
    border-color: #40536d;
    color: #e6effb;
}

:root[data-theme="dark"] .theme-toggle:hover {
    border-color: #67a8ff;
    color: #91c2ff;
}

:root[data-theme="dark"] .hero {
    background: linear-gradient(110deg, #172b45 0%, #1b3655 55%, #254669 100%);
}

:root[data-theme="dark"] .hero h1,
:root[data-theme="dark"] .hero h2,
:root[data-theme="dark"] .hero p {
    color: #e4edf8;
}

:root[data-theme="dark"] .hero h1 span,
:root[data-theme="dark"] .hero h2 span {
    color: #83baff;
}

:root[data-theme="dark"] .badge {
    background: #203f65;
    color: #a6ceff;
}

:root[data-theme="dark"] .btn.outline {
    background: #1c2a3e;
    border-color: #6eafff;
    color: #a6ceff;
}

:root[data-theme="dark"] .dashboard-card,
:root[data-theme="dark"] .feature-card {
    background: #18263a;
    border-color: #33465f;
}

:root[data-theme="dark"] .dashboard-heading h3,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .feature-card h3 {
    color: #e1ebf8;
}

:root[data-theme="dark"] .dashboard-heading p,
:root[data-theme="dark"] .section-heading p,
:root[data-theme="dark"] .feature-card p {
    color: #afc0d5;
}

:root[data-theme="dark"] .section-heading > span {
    color: #7eb6ff;
}

:root[data-theme="dark"] .value-header span,
:root[data-theme="dark"] .about-copy span {
    color: #8fc4ff;
}

:root[data-theme="dark"] .value-header h2,
:root[data-theme="dark"] .value-card h3,
:root[data-theme="dark"] .about-copy h3,
:root[data-theme="dark"] .about-metrics strong {
    color: #e1ebf8;
}

:root[data-theme="dark"] .value-card,
:root[data-theme="dark"] .about-metrics div {
    background: rgba(24, 38, 58, 0.92);
    border-color: #334a66;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

:root[data-theme="dark"] .value-card:hover {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

:root[data-theme="dark"] .value-card p,
:root[data-theme="dark"] .about-copy p,
:root[data-theme="dark"] .about-metrics span {
    color: #afc0d5;
}

:root[data-theme="dark"] .about-strip {
    background: linear-gradient(135deg, rgba(23, 43, 69, 0.96), rgba(30, 55, 83, 0.92));
    border-color: #3a5574;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

:root[data-theme="dark"] .access-card {
    background: #18263a;
    border-color: #33465f;
}

:root[data-theme="dark"] .access-content h3,
:root[data-theme="dark"] .access-content li {
    color: #e1ebf8;
}

:root[data-theme="dark"] .access-content p {
    color: #afc0d5;
}

:root[data-theme="dark"] .modal-box {
    background: #18263a;
    color: var(--text);
}

:root[data-theme="dark"] .modal#accessModal .modal-box,
:root[data-theme="dark"] .modal#adminRolesModal .modal-box {
    background: rgba(21, 35, 54, 0.78);
    border-color: rgba(178, 204, 234, 0.2);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(220, 237, 255, 0.14);
}

:root[data-theme="dark"] .modal .modal-box.login-box {
    background: rgba(21, 35, 54, 0.76);
    border-color: rgba(178, 204, 234, 0.2);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(220, 237, 255, 0.14);
}

:root[data-theme="dark"] .modal-title h2,
:root[data-theme="dark"] .login-box h2,
:root[data-theme="dark"] .profile-header h2 {
    color: #e1ebf8;
}

:root[data-theme="dark"] .modal-title p,
:root[data-theme="dark"] .login-box > p,
:root[data-theme="dark"] .profile-header p {
    color: #afc0d5;
}

:root[data-theme="dark"] .close {
    background: #263850;
    color: #d5e2f2;
}

:root[data-theme="dark"] .modal-option,
:root[data-theme="dark"] .role-option {
    background: rgba(29, 45, 67, 0.74);
    border-color: rgba(111, 143, 179, 0.42);
    color: #e1ebf8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(226, 239, 255, 0.08);
}

:root[data-theme="dark"] .modal-option > i:first-child,
:root[data-theme="dark"] .role-option > i:first-child {
    background: linear-gradient(145deg, rgba(42, 76, 111, 0.96), rgba(30, 57, 88, 0.86));
    color: #9bc9ff;
}

:root[data-theme="dark"] .admin-option > i:first-child {
    background: linear-gradient(145deg, rgba(78, 60, 126, 0.92), rgba(54, 44, 93, 0.86));
    color: #d0baff;
}

:root[data-theme="dark"] .modal-option small,
:root[data-theme="dark"] .role-option small {
    color: #a9bdd5;
}

:root[data-theme="dark"] .modal-option small,
:root[data-theme="dark"] .role-option small {
    color: #afc0d5;
}

:root[data-theme="dark"] .login-box label,
:root[data-theme="dark"] .form-field label,
:root[data-theme="dark"] .rating-box label,
:root[data-theme="dark"] .recommendation-box label,
:root[data-theme="dark"] .radio-option,
:root[data-theme="dark"] .checkbox-option {
    color: #d5e2f2;
}

:root[data-theme="dark"] .login-box input,
:root[data-theme="dark"] .form-field input,
:root[data-theme="dark"] .form-field select,
:root[data-theme="dark"] .form-field textarea {
    background: rgba(10, 24, 41, 0.72);
    border-color: #40536d;
    color: #e1ebf8;
}

:root[data-theme="dark"] .login-box input::placeholder {
    color: #91a6c0;
}

:root[data-theme="dark"] .profile-header {
    border-bottom-color: #33465f;
}

:root[data-theme="dark"] .profile-item {
    background: #1d2d43;
    border-color: #3a4e68;
}

:root[data-theme="dark"] .profile-item small {
    color: #afc0d5;
}

:root[data-theme="dark"] .profile-item strong {
    color: #e1ebf8;
}

:root[data-theme="dark"] .rating-box,
:root[data-theme="dark"] .recommendation-box {
    background: #1d2d43;
    border-color: #3a4e68;
}

:root[data-theme="dark"] .feedback-actions .btn-secondary {
    background: #263850;
    border-color: #40536d;
    color: #d5e2f2;
}

@media (max-width: 650px) {
    .nav-inner {
        gap: 6px;
    }

    .nav-actions {
        gap: 5px;
    }

    .nav-login {
        padding: 8px 9px;
        font-size: 12px;
    }

    .theme-toggle span {
        display: none;
    }

    .theme-toggle {
        width: 40px;
        padding: 8px;
    }
}

@media (max-width: 360px) {
    .brand-logo {
        width: 125px;
        flex-basis: 125px;
    }
}

/* =====================================================
   AI ASSISTANT
===================================================== */

.ai-assistant {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    font-family: inherit;
}


/* Floating AI Button */

.ai-chat-button {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 58px;
    padding: 9px 16px 9px 10px;

    border: none;
    border-radius: 32px;

    background: linear-gradient(135deg, #075dcc, #126fe9);
    color: #fff;

    box-shadow: 0 12px 30px rgba(7, 93, 204, .28);

    cursor: pointer;
    font: inherit;
    font-weight: 700;

    transition: transform .2s ease, box-shadow .2s ease;
}

.ai-chat-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(7, 93, 204, .36);
}

.ai-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;
    color: #0866d8;

    font-size: 20px;
}

.ai-button-text {
    font-size: 13px;
    white-space: nowrap;
}


/* Chat Window */

.ai-chat-window {
    position: absolute;
    right: 0;
    bottom: 70px;

    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;

    display: none;
    flex-direction: column;

    overflow: hidden;

    background: #fff;
    border: 1px solid #dce8f5;
    border-radius: 18px;

    box-shadow: 0 20px 55px rgba(8, 43, 92, .22);
}

.ai-chat-window.open {
    display: flex;
}


/* Header */

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 15px;

    background: linear-gradient(135deg, #073b80, #0866d8);
    color: #fff;
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-mini-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;
    color: #0866d8;

    font-size: 18px;
}

.ai-header-info strong {
    display: block;
    font-size: 14px;
}

.ai-header-info span {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    opacity: .9;
}

.ai-header-info span i {
    font-size: 7px;
    margin-right: 3px;
}

.ai-close {
    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,.14);
    color: #fff;

    cursor: pointer;
    font-size: 16px;
}


/* Messages */

.ai-messages {
    flex: 1;

    overflow-y: auto;

    padding: 15px;

    background: #f7faff;
}

.ai-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-bottom: 14px;
}

.message-avatar {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #e5f0ff;
    color: #0866d8;

    font-size: 14px;
}

.message-content {
    max-width: 78%;

    padding: 10px 12px;

    border-radius: 12px;

    background: #fff;
    border: 1px solid #e2eaf3;

    color: #334d6d;

    font-size: 12px;
    line-height: 1.5;
}

.message-content p {
    margin: 0;
}

.user-message {
    justify-content: flex-end;
}

.user-message .message-content {
    background: #0866d8;
    border-color: #0866d8;
    color: #fff;
    border-radius: 12px 12px 3px 12px;
}

.bot-message .message-content {
    border-radius: 3px 12px 12px 12px;
}


/* Quick Questions */

.ai-quick-actions {
    display: flex;
    gap: 6px;

    padding: 8px 10px;

    overflow-x: auto;

    border-top: 1px solid #e7edf5;
    background: #fff;
}

.ai-quick-actions button {
    flex-shrink: 0;

    padding: 7px 9px;

    border: 1px solid #cfe0f4;
    border-radius: 15px;

    background: #f7fbff;
    color: #0866d8;

    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
}

.ai-quick-actions button:hover {
    background: #e8f3ff;
}


/* Input */

.ai-chat-input {
    display: flex;
    gap: 8px;

    padding: 10px;

    border-top: 1px solid #e1e9f2;

    background: #fff;
}

.ai-chat-input input {
    flex: 1;

    min-width: 0;

    padding: 11px 12px;

    border: 1px solid #d3dfed;
    border-radius: 22px;

    outline: none;

    font: inherit;
    font-size: 12px;
}

.ai-chat-input input:focus {
    border-color: #0866d8;
}

.ai-chat-input button {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border: none;
    border-radius: 50%;

    background: #0866d8;
    color: #fff;

    cursor: pointer;
}

.ai-chat-input button:hover {
    background: #0756b2;
}


/* Mobile */

@media (max-width: 600px) {

    .ai-assistant {
        right: 14px;
        bottom: 14px;
    }

    .ai-button-text {
        display: none;
    }

    .ai-chat-button {
        width: 56px;
        height: 56px;
        min-height: 56px;

        padding: 6px;

        justify-content: center;
    }

    .ai-icon {
        width: 44px;
        height: 44px;
    }

    .ai-chat-window {
        right: 0;
        bottom: 68px;

        width: min(360px, calc(100vw - 28px));
        height: 470px;
    }
}


/* =====================================================
   FINAL FIXES
===================================================== */

/* Photo slider: photos only */
.photo-slider .photo-caption {
    display: none !important;
}

.photo-slider .photo-slide::after {
    display: none !important;
}

/* Keep AI assistant separate from the Feedback button */
.ai-assistant {
    right: 24px;
    bottom: 92px;
}

.ai-chat-window {
    bottom: 68px;
}

@media (max-width: 600px) {
    .ai-assistant {
        right: 16px;
        bottom: 82px;
    }

    .ai-chat-window {
        bottom: 68px;
    }
}


/* =====================================================
   FINAL DASHBOARD PHOTO-ONLY + FLOATING BUTTON FIX
===================================================== */

/* Remove the employee-dashboard/sidebar area and let the photo slider use the full card width. */
.dashboard-photo-only {
    display: block !important;
    width: 100%;
    min-height: 370px;
    padding: 18px !important;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255,255,255,0.55) !important;
    box-shadow:
        0 28px 70px rgba(10, 38, 67, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.7),
        inset 0 -12px 24px rgba(30, 71, 118, 0.12) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dashboard-photo-only .photo-slider {
    width: 100%;
    height: 335px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 18px 40px rgba(9, 30, 54, 0.18);
}

/* Photos only: no caption and no dark overlay. */
.dashboard-photo-only .photo-caption,
.dashboard-photo-only .photo-slide::after {
    display: none !important;
    content: none !important;
}

.dashboard-photo-only .photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feedback stays at the bottom-right. AI sits clearly above it. */
.feedback-fab {
    right: 24px !important;
    bottom: 22px !important;
    z-index: 1800 !important;
}

.ai-assistant {
    right: 24px !important;
    bottom: 92px !important;
    z-index: 1900 !important;
}

.ai-chat-window {
    right: 0;
    bottom: 70px !important;
}

@media (max-width: 600px) {
    .dashboard-photo-only {
        padding: 14px !important;
        min-height: 290px;
    }

    .dashboard-photo-only .photo-slider {
        height: 250px;
    }

    .feedback-fab {
        right: 16px !important;
        bottom: 16px !important;
        width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 50%;
    }

    .feedback-fab span {
        display: none;
    }

    .ai-assistant {
        right: 16px !important;
        bottom: 82px !important;
    }
}

/* =========================================================
   LEADING PAGE MOTION LAYER
   Visual-only enhancements. Existing controls and routes remain unchanged.
========================================================= */
:root {
    --motion-blue: #0b66d4;
    --motion-cyan: #16a4c7;
    --motion-shadow: 0 24px 60px rgba(12, 54, 103, .14);
}

body {
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 45%, #f4f9ff 100%);
}

.navbar {
    animation: navDrop .7s cubic-bezier(.2, .75, .25, 1) both;
}

.nav-links a,
.nav-login,
.mobile-menu {
    animation: fadeSlideDown .6s .18s ease both;
}

.hero {
    isolation: isolate;
    background:
        linear-gradient(110deg, rgba(226, 241, 255, .98), rgba(225, 241, 255, .88) 48%, rgba(206, 231, 252, .72)),
        linear-gradient(135deg, #eaf5ff, #dceeff);
    background-size: 140% 140%;
    animation: heroWash 12s ease-in-out infinite alternate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .32;
    background: repeating-linear-gradient(115deg, transparent 0 72px, rgba(255, 255, 255, .34) 73px 75px, transparent 76px 150px);
    animation: lightSweep 16s linear infinite;
    pointer-events: none;
}

.hero-content {
    animation: contentRise .9s .18s cubic-bezier(.2, .75, .25, 1) both;
}

.badge {
    box-shadow: 0 8px 22px rgba(8, 102, 216, .1);
    animation: badgePulse 3s ease-in-out infinite;
}

.hero h1 span,
.hero h2 span {
    background: linear-gradient(90deg, var(--motion-blue), var(--motion-cyan), var(--motion-blue));
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 5s linear infinite;
}

.hero-buttons .btn {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 25px rgba(8, 102, 216, .2);
}

.dashboard-card {
    animation: cardFloatIn .95s .32s cubic-bezier(.2, .75, .25, 1) both, dashboardFloat 6s 1.4s ease-in-out infinite;
    box-shadow: var(--motion-shadow);
}

.dashboard-card:hover {
    transform: translateY(-6px) rotateX(1deg);
    box-shadow: 0 30px 70px rgba(12, 54, 103, .2);
}

.photo-slide.active img {
    animation: photoKenBurns 7s ease-out both;
}

.photo-slider-btn,
.photo-dot {
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.photo-slider-btn:hover {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.photo-dot:hover {
    transform: scale(1.45);
}

.section-heading,
.access-grid,
.feature-grid,
.site-footer {
    animation: sectionReveal .8s .1s both;
}

.access-card,
.feature-card {
    will-change: transform;
}

.access-card:nth-child(1) { animation: cardFloatIn .7s .08s both; }
.access-card:nth-child(2) { animation: cardFloatIn .7s .18s both; }

.access-card:hover {
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 22px 46px rgba(33, 79, 125, .16);
}

.access-icon,
.feature-icon {
    transition: transform .3s cubic-bezier(.2, .75, .25, 1), box-shadow .3s ease;
}

.access-card:hover .access-icon,
.feature-card:hover .feature-icon {
    transform: translateY(-5px) rotate(-5deg) scale(1.08);
    box-shadow: 0 10px 22px rgba(8, 102, 216, .18);
}

.feature-card:nth-child(1) { animation-delay: .06s; }
.feature-card:nth-child(2) { animation-delay: .12s; }
.feature-card:nth-child(3) { animation-delay: .18s; }
.feature-card:nth-child(4) { animation-delay: .24s; }
.feature-card:nth-child(5) { animation-delay: .30s; }
.feature-card:nth-child(6) { animation-delay: .36s; }

.feature-card {
    animation: cardFloatIn .65s both;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.footer-section {
    animation: fadeSlideUp .7s both;
}

.footer-section:nth-child(2) { animation-delay: .08s; }
.footer-section:nth-child(3) { animation-delay: .16s; }
.footer-section:nth-child(4) { animation-delay: .24s; }

.modal.show {
    animation: modalFadeIn .28s ease both;
}

.modal.show .modal-box {
    animation: modalLift .42s cubic-bezier(.2, .75, .25, 1) both;
}

.modal.show .modal-option,
.modal.show .role-option {
    animation: chooserItemIn .42s cubic-bezier(.2, .75, .25, 1) both;
}

#accessModal.show .modal-option:nth-of-type(2),
#adminRolesModal.show .role-option:nth-of-type(2) {
    animation-delay: .08s;
}

#accessModal.show .modal-option:nth-of-type(3),
#adminRolesModal.show .role-option:nth-of-type(3) {
    animation-delay: .16s;
}

#adminRolesModal.show .role-option:nth-of-type(4) {
    animation-delay: .24s;
}

.modal-option,
.login-submit,
.profile-actions button {
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.modal-option:hover,
.role-option:hover,
.login-submit:hover,
.profile-actions button:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 139, 219, 0.64);
    box-shadow: 0 16px 30px rgba(8, 75, 145, .16), inset 0 1px 0 rgba(255,255,255,.75);
}

.modal-option:hover > i:first-child,
.role-option:hover > i:first-child {
    transform: scale(1.07) rotate(-4deg);
    box-shadow: 0 8px 18px rgba(8, 102, 216, .16);
}

.modal-option:focus-visible,
.role-option:focus-visible {
    outline: 3px solid rgba(40, 132, 232, .52);
    outline-offset: 3px;
}

:root[data-theme="dark"] .modal-option:hover,
:root[data-theme="dark"] .role-option:hover {
    background: rgba(39, 63, 91, 0.88);
    border-color: rgba(116, 178, 245, 0.72);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(226, 239, 255, .12);
}

@keyframes chooserItemIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes navDrop {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes contentRise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroWash {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes lightSweep {
    from { transform: translateX(-10%); }
    to { transform: translateX(10%); }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(8, 102, 216, .1); }
    50% { box-shadow: 0 10px 28px rgba(8, 102, 216, .2); }
}

@keyframes textShimmer {
    to { background-position: 220% center; }
}

@keyframes dashboardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes photoKenBurns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes sectionReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalLift {
    from { opacity: 0; transform: translateY(22px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Keep the wide Tata Steel UISL wordmark sharp and proportioned in the navbar. */
.brand-logo {
    width: min(230px, 100%);
    height: auto;
    max-height: 34px;
    flex: 0 1 230px;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    mix-blend-mode: normal;
    display: block;
}

.login-logo {
    width: min(300px, 88%);
    height: 52px;
    object-fit: contain;
    margin: 0 auto 14px;
    mix-blend-mode: normal;
}

.brand-text {
    min-width: 0;
    max-width: 330px;
}

.brand-text strong {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .04em;
}

.brand-text span {
    display: block;
    font-size: 10px;
    line-height: 1.2;
}

@media (max-width: 650px) {
    .brand-logo {
        width: min(165px, 100%);
        height: auto;
        max-height: 28px;
        flex-basis: 165px;
        margin-left: 0;
    }

    .login-logo {
        width: min(240px, 84%);
        height: 44px;
    }

    .brand-text {
        max-width: 210px;
    }

    .brand-text strong {
        font-size: 10px;
    }
}


.forgot-password-link {
    display: block;
    margin: 12px auto 0;
    border: 0;
    background: transparent;
    color: #0756bd;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
}

#forgotPasswordStatus {
    margin-top: 12px;
    line-height: 1.45;
}

#forgotPasswordStatus.is-error { color: #b42318; }
#forgotPasswordStatus.is-success { color: #167244; }
#forgotPasswordStatus.is-info { color: #425466; }

#forgotPasswordModal .reset-password-meta,
#forgotPasswordModal .reset-password-timers {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

#forgotPasswordModal .reset-password-timers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    background: #f6f8fb;
}

#forgotPasswordModal .reset-password-timers[hidden],
#forgotPasswordModal .reset-password-meta[hidden] { display: none; }

#forgotPasswordModal .reset-password-verification {
    margin: 8px 0 2px;
    color: #425466;
    font-size: 13px;
    font-weight: 700;
}

#forgotPasswordModal .reset-password-secondary {
    width: 100%;
    margin: 8px 0 2px;
    padding: 10px 12px;
    border: 1px solid #c8d3df;
    border-radius: 6px;
    background: #fff;
    color: #263746;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#forgotPasswordModal .reset-password-secondary:disabled { cursor: not-allowed; opacity: .55; }

#forgotPasswordModal .reset-password-box {
    width: min(440px, 100%);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(22px, 5vw, 34px);
}

#forgotPasswordModal .reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#forgotPasswordModal .reset-password-form[hidden] {
    display: none !important;
}

#forgotPasswordModal #forgotPasswordResetForm:not([hidden]) {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #dbe5ef;
}

#forgotPasswordModal .login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

#forgotPasswordModal #forgotPasswordStatus:not(:empty) {
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    #forgotPasswordModal {
        padding: 12px;
    }

    #forgotPasswordModal .reset-password-box {
        width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 24px 18px;
        border-radius: 16px;
    }

    #forgotPasswordModal .reset-password-timers { grid-template-columns: 1fr; }
}

@media (max-height: 700px) {
    #forgotPasswordModal .login-logo {
        height: 42px;
        margin-bottom: 4px;
    }

    #forgotPasswordModal .login-box > p {
        margin-bottom: 14px;
    }

    #forgotPasswordModal .login-submit {
        margin-top: 14px;
        padding: 11px;
    }
}

#forgotPasswordModal .reset-password-box {
    width: min(500px, 100%);
    padding: 32px;
    border: 1px solid #d9e7f4;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(10, 48, 86, .22), 0 4px 14px rgba(10, 48, 86, .08);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

#forgotPasswordModal .reset-password-heading {
    text-align: center;
}

#forgotPasswordModal .reset-password-heading .login-logo {
    width: min(205px, 72%);
    height: 46px;
    margin: 0 auto 14px;
}

#forgotPasswordModal .reset-password-eyebrow,
#forgotPasswordModal .reset-panel-heading > span,
#forgotPasswordModal .reset-success-screen > span {
    color: #1670b8;
    font-size: 10px;
    font-weight: 800;
}

#forgotPasswordModal .reset-password-heading h2 {
    margin: 6px 0 0;
    color: #123c63;
    font-size: 24px;
}

#forgotPasswordModal .reset-password-heading > p {
    margin: 7px 0 20px;
    color: #62788e;
    font-size: 13px;
}

#forgotPasswordModal .reset-password-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

#forgotPasswordModal .reset-password-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    color: #8495a7;
    font-size: 11px;
}

#forgotPasswordModal .reset-password-steps li:not(:last-child)::after {
    position: absolute;
    top: 15px;
    left: calc(50% + 15px);
    width: calc(100% + 8px - 30px);
    height: 1px;
    background: #dce6ef;
    content: "";
}

#forgotPasswordModal .reset-password-steps li > span {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d7e2ec;
    border-radius: 50%;
    background: #fff;
    color: #6b7f92;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

#forgotPasswordModal .reset-password-steps li b {
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: 100%;
    padding: 0 4px;
    background: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

#forgotPasswordModal .reset-password-steps li.is-current,
#forgotPasswordModal .reset-password-steps li.is-complete { color: #145d9b; }

#forgotPasswordModal .reset-password-steps li.is-current > span,
#forgotPasswordModal .reset-password-steps li.is-complete > span {
    border-color: #1266a8;
    background: #1266a8;
    color: #fff;
}

#forgotPasswordModal .reset-password-steps li.is-complete:not(:last-child)::after { background: #6aa4d3; }

#forgotPasswordModal .reset-password-status {
    margin: -8px 0 14px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.45;
}

#forgotPasswordModal .reset-password-status[hidden] { display: none !important; }
#forgotPasswordModal .reset-password-status.is-error { border-color: #f0c7c4; background: #fff5f4; color: #a3302b; }
#forgotPasswordModal .reset-password-status.is-success { border-color: #bfe2d0; background: #f1fbf5; color: #176b43; }
#forgotPasswordModal .reset-password-status.is-info { border-color: #c7ddf0; background: #f2f8fd; color: #285c84; }

#forgotPasswordModal .reset-flow-panel {
    animation: resetPanelIn .24s ease both;
}

#forgotPasswordModal .reset-flow-panel[hidden],
#forgotPasswordModal .reset-success-screen[hidden],
#forgotPasswordModal .reset-password-steps[hidden] { display: none !important; }

#forgotPasswordModal .reset-password-form.reset-flow-panel,
#forgotPasswordModal #forgotPasswordOtpStep {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#forgotPasswordModal .reset-panel-heading {
    margin-bottom: 12px;
}

#forgotPasswordModal .reset-panel-heading h3 {
    margin: 5px 0 4px;
    color: #193e5e;
    font-size: 18px;
}

#forgotPasswordModal .reset-panel-heading p {
    margin: 0;
    color: #687e92;
    font-size: 12px;
    line-height: 1.5;
}

#forgotPasswordModal .reset-flow-panel label {
    margin: 10px 0 7px;
    color: #304c66;
    font-size: 12px;
    font-weight: 700;
}

#forgotPasswordModal .reset-flow-panel input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cbd9e6;
    border-radius: 9px;
    background: #fff;
    color: #183650;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#forgotPasswordModal .reset-flow-panel input:focus {
    border-color: #1474ba;
    box-shadow: 0 0 0 3px rgba(20, 116, 186, .12);
    outline: none;
}

#forgotPasswordModal .reset-primary-button {
    min-height: 47px;
    margin-top: 16px;
    border: 0;
    border-radius: 9px;
    background: #075b9a;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 7px 16px rgba(7, 91, 154, .18);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

#forgotPasswordModal .reset-primary-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #064c81;
    box-shadow: 0 9px 20px rgba(7, 91, 154, .24);
}

#forgotPasswordModal .reset-primary-button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }

#forgotPasswordModal .reset-password-meta {
    margin: 2px 0 12px;
    padding: 10px 12px;
    border: 1px solid #d5e4f0;
    border-radius: 9px;
    background: #f4f9fd;
    color: #315a7b;
    font-size: 12px;
    font-weight: 700;
}

#forgotPasswordModal .reset-password-timers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

#forgotPasswordModal .reset-password-timers[hidden],
#forgotPasswordModal .reset-password-meta[hidden] { display: none !important; }

#forgotPasswordModal .reset-password-timers > div {
    display: grid;
    gap: 4px;
    padding: 9px;
    border: 1px solid #e0eaf2;
    border-radius: 8px;
    background: #f7fafc;
}

#forgotPasswordModal .reset-password-timers span { color: #718398; font-size: 10px; }
#forgotPasswordModal .reset-password-timers strong { color: #1a527e; font-size: 13px; }

#forgotPasswordModal .reset-otp-input {
    min-height: 54px !important;
    background: #fbfdff !important;
    font-family: "Courier New", monospace !important;
    font-size: 21px !important;
    font-weight: 700;
    text-align: center;
}

#forgotPasswordModal .reset-password-verification {
    min-height: 18px;
    margin: 7px 0 0;
    color: #667b8e;
    font-size: 11px;
}

#forgotPasswordModal .reset-password-verification[data-state="verified"] { color: #167044; }
#forgotPasswordModal .reset-password-verification[data-state="incorrect"],
#forgotPasswordModal .reset-password-verification[data-state="expired"],
#forgotPasswordModal .reset-password-verification[data-state="locked"] { color: #ad3832; }

#forgotPasswordModal .reset-password-secondary {
    min-height: 40px;
    margin-top: 9px;
    border: 1px solid #cddce8;
    border-radius: 8px;
    background: #fff;
    color: #245b83;
    font-size: 12px;
    font-weight: 700;
    transition: background .18s ease, border-color .18s ease;
}

#forgotPasswordModal .reset-password-secondary:hover:not(:disabled) { border-color: #88b2d2; background: #f4f9fd; }
#forgotPasswordModal .reset-password-secondary:disabled { cursor: not-allowed; opacity: .5; }

#forgotPasswordModal .reset-password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

#forgotPasswordModal .reset-password-input-wrap input { padding-right: 48px; }

#forgotPasswordModal .reset-password-visibility {
    position: absolute;
    right: 5px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #56738e;
    cursor: pointer;
}

#forgotPasswordModal .reset-password-visibility:hover { background: #edf5fb; color: #075b9a; }

#forgotPasswordModal .reset-password-strength {
    margin: 9px 0 2px;
}

#forgotPasswordModal .reset-strength-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #697f92;
    font-size: 10px;
}

#forgotPasswordModal .reset-strength-heading strong { color: #7b8d9d; }
#forgotPasswordModal #forgotPasswordStrengthLabel[data-strength="weak"] { color: #b34840; }
#forgotPasswordModal #forgotPasswordStrengthLabel[data-strength="good"] { color: #a76a13; }
#forgotPasswordModal #forgotPasswordStrengthLabel[data-strength="strong"] { color: #187449; }

#forgotPasswordModal .reset-strength-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin: 6px 0 8px;
}

#forgotPasswordModal .reset-strength-track span {
    height: 4px;
    border-radius: 4px;
    background: #e4ebf1;
}

#forgotPasswordModal .reset-strength-track span.is-filled[data-strength="weak"] { background: #c74d45; }
#forgotPasswordModal .reset-strength-track span.is-filled[data-strength="good"] { background: #d59735; }
#forgotPasswordModal .reset-strength-track span.is-filled[data-strength="strong"] { background: #238659; }

#forgotPasswordModal .reset-password-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin: 0;
    padding: 0;
    color: #8795a3;
    font-size: 10px;
    list-style: none;
}

#forgotPasswordModal .reset-password-rules li::before {
    margin-right: 5px;
    color: #a4b0bc;
    content: "○";
}

#forgotPasswordModal .reset-password-rules li.is-met { color: #28744f; }
#forgotPasswordModal .reset-password-rules li.is-met::before { color: #238659; content: "✓"; }

#forgotPasswordModal .reset-match-status {
    min-height: 16px;
    margin: 6px 0 0;
    color: #8392a0;
    font-size: 10px;
}

#forgotPasswordModal .reset-match-status.is-match { color: #187449; }
#forgotPasswordModal .reset-match-status.is-mismatch { color: #b34840; }

#forgotPasswordModal .reset-success-screen {
    padding: 8px 0 2px;
    text-align: center;
    animation: resetPanelIn .3s ease both;
}

#forgotPasswordModal .reset-success-mark {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 2px auto 15px;
    place-items: center;
    border: 1px solid #b9e0cc;
    border-radius: 50%;
    background: #eaf8f0;
    color: #17804d;
    font-size: 25px;
}

#forgotPasswordModal .reset-success-screen h3 {
    margin: 7px 0;
    color: #173f60;
    font-size: 21px;
}

#forgotPasswordModal .reset-success-screen p {
    max-width: 340px;
    margin: 0 auto;
    color: #667d91;
    font-size: 13px;
    line-height: 1.55;
}

#forgotPasswordModal .reset-success-screen .reset-primary-button { margin-top: 22px; }

@keyframes resetPanelIn {
    from { transform: translateY(7px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
    #forgotPasswordModal .reset-password-box { padding: 24px 18px; }
    #forgotPasswordModal .reset-password-timers { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
    #forgotPasswordModal .reset-password-steps li { gap: 4px; font-size: 9px; }
    #forgotPasswordModal .reset-password-steps li > span { flex-basis: 26px; width: 26px; height: 26px; }
    #forgotPasswordModal .reset-password-timers,
    #forgotPasswordModal .reset-password-rules { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .brand-logo {
        width: min(125px, 100%);
        max-height: 22px;
        flex-basis: 125px;
    }
}
