﻿/* ================================================================
   ZenHR SaaS Design System — Dark Glassmorphism Theme
   Brand: ZenHR | Colors: Deep Violet + Cyan Glow
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --primary-xlight: #EEF2FF;
    --accent: #06B6D4;
    --accent-dark: #0891B2;
    --accent-light: #CFFAFE;
    --secondary: #7C3AED;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    /* Light Theme Backgrounds */
    --bg-base: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-elevated: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255,255,255,0.9);
    --bg-glass-hover: rgba(255,255,255,1);
    /* Text */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-accent: #4F46E5;
    /* Borders */
    --border: #E2E8F0;
    --border-strong: #CBD5E1;
    --border-accent: rgba(79,70,229,0.3);
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --grad-accent: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    --grad-hero: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #E0E7FF 100%);
    --grad-card: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    --grad-glow: radial-gradient(ellipse at center, rgba(79,70,229,0.08) 0%, transparent 70%);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 30px rgba(79,70,229,0.15);
    --shadow-cyan: 0 0 20px rgba(6,182,212,0.15);
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 999px;
    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Sidebar */
    --sidebar-w: 260px;
    --sidebar-collapsed: 72px;
    --topbar-h: 68px;
    /* Gray scale (legacy compat) */
    --gray-50: #F8FAFC;
    --gray-100: rgba(255,255,255,0.06);
    --gray-200: rgba(255,255,255,0.09);
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-700: #CBD5E1;
    --gray-800: #E2E8F0;
    --gray-900: #F1F5F9;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: var(--font);
}

img {
    max-width: 100%;
    display: block;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
    background: rgba(99,102,241,0.4);
    border-radius: 99px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

/* ── App Shell ────────────────────────────────────────────────── */
.hrms-app {
    display: flex;
    min-height: 100vh;
    background: var(--bg-base);
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), width 0.3s;
    overflow: hidden;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
    min-height: var(--topbar-h);
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.brand-text {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(90deg, #818CF8, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.brand-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
    margin-top: -2px;
}

/* Sidebar scroll */
.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0;
}

    .sidebar-scroll::-webkit-scrollbar {
        width: 3px;
    }

/* Sidebar nav */
.sidebar-nav {
    padding: 0 10px;
}

.nav-section-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 14px 10px 6px;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

    .nav-link i {
        font-size: 16px;
        flex-shrink: 0;
        width: 20px;
        text-align: center;
    }

.nav-label {
    flex: 1;
}

.nav-link:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--primary-xlight);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
}

    .nav-link.active i {
        color: var(--primary);
    }

.nav-badge {
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    min-width: 18px;
    text-align: center;
}

/* Sidebar footer */
.sidebar-footer {
    padding: 12px 14px 16px;
    border-top: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1039;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

/* ── Main Content ──────────────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s;
}

/* ── Topbar ───────────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-h);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .toggle-btn:hover {
        background: var(--bg-glass-hover);
        color: var(--text-primary);
    }

.topbar-search {
    flex: 1;
    max-width: 380px;
    position: relative;
}

    .topbar-search .search-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        font-size: 14px;
    }

    .topbar-search input {
        width: 100%;
        background: var(--bg-glass);
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        padding: 8px 16px 8px 36px;
        color: var(--text-primary);
        font-size: 0.83rem;
        font-family: var(--font);
        outline: none;
        transition: border-color 0.2s;
    }

        .topbar-search input::placeholder {
            color: var(--text-muted);
        }

        .topbar-search input:focus {
            border-color: var(--primary);
        }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
}

    .icon-btn:hover {
        background: var(--bg-glass-hover);
        color: var(--primary-light);
        border-color: var(--border-accent);
    }

.badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    background: var(--danger);
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px 6px 6px;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    transition: all 0.2s;
}

    .profile-toggle:hover {
        border-color: var(--border-accent);
        background: var(--bg-glass-hover);
    }

    .profile-toggle .avatar {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

.profile-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-role {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Tenant badge in topbar */
.tenant-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: var(--primary-xlight);
    border: 1px solid var(--border-accent);
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--primary-light);
}

    .tenant-badge i {
        font-size: 12px;
    }

/* ── Page Body ────────────────────────────────────────────────── */
.page-body {
    padding: 28px 28px;
    flex: 1;
    overflow-x: hidden;
}

/* Page header */
.page-header {
    margin-bottom: 28px;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

    .breadcrumb-custom i {
        font-size: 12px;
        color: var(--primary);
    }

    .breadcrumb-custom .sep {
        color: var(--border-strong);
    }

.page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body {
    padding: 20px;
}

/* Stat Cards */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--card-accent, #6366F1), var(--card-accent2, #4F46E5));
    }

    .stat-card:hover {
        transform: translateY(-2px);
        border-color: var(--card-accent, var(--border-accent));
        box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    }

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--card-icon-bg, var(--primary-xlight));
    color: var(--card-icon-color, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

    .stat-trend.up {
        background: rgba(16,185,129,0.12);
        color: #10B981;
    }

    .stat-trend.down {
        background: rgba(239,68,68,0.12);
        color: #EF4444;
    }

    .stat-trend.neutral {
        background: rgba(245,158,11,0.12);
        color: #F59E0B;
    }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 0.83rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99,102,241,0.35);
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(99,102,241,0.5);
    }

.btn-accent {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6,182,212,0.3);
}

    .btn-accent:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(6,182,212,0.45);
    }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary-light);
        background: var(--primary-xlight);
    }

.btn-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}

    .btn-glass:hover {
        background: var(--bg-glass-hover);
        color: var(--text-primary);
    }

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.76rem;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 0.9rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    padding: 9px;
    aspect-ratio: 1;
    justify-content: center;
}

/* ── Forms ────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control, .form-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

    .form-control::placeholder {
        color: var(--text-muted);
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
    }

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* ── Tables ───────────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

    .data-table thead tr {
        background: rgba(255,255,255,0.04);
        border-bottom: 1px solid var(--border);
    }

    .data-table thead th {
        padding: 12px 16px;
        text-align: left;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted);
        white-space: nowrap;
    }

    .data-table tbody tr {
        border-bottom: 1px solid var(--border);
        transition: background 0.15s;
    }

        .data-table tbody tr:hover {
            background: var(--bg-glass-hover);
        }

    .data-table tbody td {
        padding: 13px 16px;
        color: var(--text-secondary);
        vertical-align: middle;
    }

        .data-table tbody td:first-child {
            color: var(--text-primary);
            font-weight: 600;
        }

/* Employee avatar in table */
.emp-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emp-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.emp-name {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
}

.emp-dept {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ── Badges ───────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
}

.badge-present {
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
}

.badge-absent {
    background: rgba(239,68,68,0.12);
    color: #EF4444;
    border: 1px solid rgba(239,68,68,0.25);
}

.badge-late {
    background: rgba(245,158,11,0.12);
    color: #F59E0B;
    border: 1px solid rgba(245,158,11,0.25);
}

.badge-pending {
    background: rgba(245,158,11,0.12);
    color: #F59E0B;
    border: 1px solid rgba(245,158,11,0.25);
}

.badge-approved {
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
}

.badge-rejected {
    background: rgba(239,68,68,0.12);
    color: #EF4444;
    border: 1px solid rgba(239,68,68,0.25);
}

.badge-primary {
    background: var(--primary-xlight);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
}

.badge-pill {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ── Modals ───────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

    .modal-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

.modal-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.show .modal-box {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1rem;
    font-weight: 700;
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

    .modal-close:hover {
        color: var(--danger);
        border-color: var(--danger);
    }

.modal-body {
    padding: 20px 24px;
}

.modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Bootstrap modal dark override */
.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-2xl);
    color: var(--text-primary);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    border-top-color: var(--border);
}

.btn-close {
    filter: invert(1) opacity(0.6);
}

.dropdown-menu {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
}

.dropdown-item {
    color: var(--text-secondary);
    font-size: 0.83rem;
    padding: 8px 16px;
}

    .dropdown-item:hover {
        background: var(--bg-glass-hover);
        color: var(--text-primary);
    }

.dropdown-header {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.dropdown-divider {
    border-color: var(--border);
}

/* ── Status Indicators ────────────────────────────────────────── */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulseDot 1.6s ease-out infinite;
    display: inline-block;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16,185,129,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0);
    }
}

.status-online {
    color: var(--success);
}

.status-offline {
    color: var(--text-muted);
}

/* ── Toast ────────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    min-width: 280px;
    max-width: 380px;
    box-shadow: var(--shadow-lg);
    animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.toast-success .toast-icon {
    background: rgba(16,185,129,0.15);
    color: var(--success);
}

.toast-error .toast-icon {
    background: rgba(239,68,68,0.15);
    color: var(--danger);
}

.toast-info .toast-icon {
    background: rgba(99,102,241,0.15);
    color: var(--primary);
}

.toast-msg {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.toast-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

/* ── Quick Chips ──────────────────────────────────────────────── */
.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    color: var(--text-secondary);
    transition: all 0.2s;
}

    .quick-chip:hover {
        border-color: var(--primary);
        color: var(--primary-light);
        background: var(--primary-xlight);
    }

/* ── Scroll to top ────────────────────────────────────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

    .scroll-top-btn.visible {
        opacity: 1;
        pointer-events: all;
    }

    .scroll-top-btn:hover {
        transform: translateY(-3px);
    }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* ── Glow effects ─────────────────────────────────────────────── */
.glow-primary {
    box-shadow: var(--shadow-glow);
}

.glow-cyan {
    box-shadow: var(--shadow-cyan);
}

/* ── Dividers ─────────────────────────────────────────────────── */
hr {
    border: none;
    border-top: 1px solid var(--border);
}

/* ── Section header ───────────────────────────────────────────── */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .section-head h6 {
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
    }

/* ── Map ──────────────────────────────────────────────────────── */
#miniMap, .map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ── Leaflet dark override ────────────────────────────────────── */
.leaflet-container {
    background: #1A1A2E;
}

.leaflet-tile {
    filter: brightness(0.65) saturate(0.5);
}

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 16px;
        opacity: 0.4;
        display: block;
    }

    .empty-state p {
        font-size: 0.85rem;
    }

/* ── Role color accents ───────────────────────────────────────── */
.role-superadmin {
    color: #F59E0B;
}

.role-admin {
    color: #6366F1;
}

.role-hr {
    color: #06B6D4;
}

.role-manager {
    color: #A855F7;
}

.role-employee {
    color: #10B981;
}

/* ── Utility ──────────────────────────────────────────────────── */
.text-gradient {
    background: linear-gradient(90deg, #818CF8, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-c {
    color: var(--text-primary);
}

.text-secondary-c {
    color: var(--text-secondary);
}

.text-muted-c {
    color: var(--text-muted);
}

.fw-800 {
    font-weight: 800;
}

.fw-700 {
    font-weight: 700;
}

/* ── Stat card accent classes ─────────────────────────────────── */
.sc-employees {
    --card-accent: #6366F1;
    --card-accent2: #4F46E5;
    --card-icon-bg: rgba(99,102,241,0.12);
    --card-icon-color: #818CF8;
}

.sc-present {
    --card-accent: #10B981;
    --card-accent2: #059669;
    --card-icon-bg: rgba(16,185,129,0.12);
    --card-icon-color: #10B981;
}

.sc-absent {
    --card-accent: #EF4444;
    --card-accent2: #DC2626;
    --card-icon-bg: rgba(239,68,68,0.12);
    --card-icon-color: #EF4444;
}

.sc-late {
    --card-accent: #F59E0B;
    --card-accent2: #D97706;
    --card-icon-bg: rgba(245,158,11,0.12);
    --card-icon-color: #F59E0B;
}

.sc-live {
    --card-accent: #06B6D4;
    --card-accent2: #0891B2;
    --card-icon-bg: rgba(6,182,212,0.12);
    --card-icon-color: #06B6D4;
}

.sc-leaves {
    --card-accent: #A855F7;
    --card-accent2: #9333EA;
    --card-icon-bg: rgba(168,85,247,0.12);
    --card-icon-color: #A855F7;
}

.sc-tasks {
    --card-accent: #F97316;
    --card-accent2: #EA580C;
    --card-icon-bg: rgba(249,115,22,0.12);
    --card-icon-color: #F97316;
}

.sc-companies {
    --card-accent: #06B6D4;
    --card-accent2: #0891B2;
    --card-icon-bg: rgba(6,182,212,0.12);
    --card-icon-color: #06B6D4;
}

.sc-revenue {
    --card-accent: #10B981;
    --card-accent2: #059669;
    --card-icon-bg: rgba(16,185,129,0.12);
    --card-icon-color: #10B981;
}

/* ================================================================
   ZenHR — Responsive Styles (Mobile-first)
   ================================================================ */

/* ── Tablet (≤1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --sidebar-w: 240px;
    }

    .page-body {
        padding: 20px;
    }

    .stat-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Small Tablet / Large Mobile (≤768px) ────────────────────── */
@media (max-width: 768px) {
    /* Sidebar becomes off-canvas */
    .sidebar {
        transform: translateX(-100%);
        z-index: 1045;
    }

        .sidebar.open {
            transform: translateX(0);
            box-shadow: 20px 0 60px rgba(0,0,0,0.6);
        }

    .main-content {
        margin-left: 0;
    }

    /* Topbar */
    .topbar {
        padding: 0 16px;
        gap: 12px;
    }

    .topbar-search {
        max-width: none;
        flex: 1;
    }

    .profile-name, .profile-role {
        display: none;
    }

    /* Page body */
    .page-body {
        padding: 16px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    /* Stat grids */
    .stat-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Cards full width */
    .row > [class*='col-lg'] {
        width: 100%;
    }

    /* Table horizontal scroll */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 600px;
    }
}

/* ── Mobile (≤480px) ──────────────────────────────────────────── */
@media (max-width: 480px) {
    .page-body {
        padding: 12px;
    }

    .page-title {
        font-size: 1.15rem;
    }

    .page-subtitle {
        font-size: 0.78rem;
    }

    .stat-grid-4 {
        grid-template-columns: 1fr 1fr !important;
    }

    .stat-grid-3 {
        grid-template-columns: 1fr 1fr !important;
    }

    .stat-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .topbar-search {
        display: none;
    }

    .topbar-actions .tenant-badge {
        display: none;
    }

    .modal-box {
        border-radius: var(--radius-xl);
    }

    .modal-body {
        padding: 16px 20px;
    }

    .card-body {
        padding: 14px;
    }

    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
    }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
    .sidebar, .topbar, .scroll-top-btn {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .card {
        border: 1px solid #ddd !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }
}

/* ── Website Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .website-nav .nav-links {
        display: none;
    }

    .website-nav.open .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 4px;
        z-index: 1000;
    }

    .website-nav .mobile-menu-btn {
        display: flex !important;
    }

    .website-hero h1 {
        font-size: 2.4rem;
    }

    .website-hero p {
        font-size: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .website-hero h1 {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-btns .btn {
            text-align: center;
            justify-content: center;
        }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Miscellaneous */

/* Nav */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #E2E8F0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
}

.nav-link {
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: #4F46E5;
    }

/* Hero */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: pulse 8s infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(79,70,229,0.2);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(6,182,212,0.2);
    bottom: -200px;
    right: -100px;
    animation-delay: -4s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.hero p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gradient {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s;
}

    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
        color: #fff;
    }

.btn-glass {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s;
}

    .btn-glass:hover {
        background: #F1F5F9;
        color: #0F172A;
    }

.dashboard-preview {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 12px;
    margin-top: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    position: relative;
}

.stat-bubble {
    position: absolute;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    color: #0F172A;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 6s infinite ease-in-out alternate;
}

.stat-bubble-1 {
    top: 10%;
    left: -5%;
}

.stat-bubble-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: -3s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(20px);
    }
}

/* Stats Row */
.stats-row {
    padding: 60px 0;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #06B6D4, #4F46E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748B;
    font-weight: 500;
}

/* Features */
.features-section {
    padding: 100px 0;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(79, 70, 229, 0.4);
        box-shadow: 0 15px 30px rgba(79, 70, 229, 0.08);
    }

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Pricing */
.pricing-section {
    padding: 100px 0;
    background: #F1F5F9;
}

.pricing-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

    .pricing-card.popular {
        border-color: #4F46E5;
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    color: #0F172A;
}

    .price span {
        font-size: 1rem;
        color: #64748B;
        font-weight: 500;
    }

.pricing-list li {
    margin-bottom: 12px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pricing-list li i {
        color: #06B6D4;
    }

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4F46E5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* CTA Band */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.footer-links a {
    color: #64748B;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: #4F46E5;
    }

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .pricing-card.popular {
        transform: none;
        margin: 20px 0;
    }

    .stat-bubble {
        display: none;
    }
}

.feature-block {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .feature-block:last-child {
        border-bottom: none;
    }

.feature-img {
    background: rgba(26,26,46,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6366F1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-form .form-control {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    border-radius: 10px;
    padding: 12px;
}

.pricing-section {
    padding: 60px 0 100px;
}

.pricing-card {
    background: rgba(26,26,46,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

    .pricing-card.popular {
        border-color: #6366F1;
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
        z-index: 2;
    }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366F1, #A855F7);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

    .price span {
        font-size: 1rem;
        color: #a1a1aa;
        font-weight: 500;
    }

.pricing-list li {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pricing-list li i {
        color: #06B6D4;
    }

.contact-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

    .contact-card .form-control, .contact-card .form-select {
        background: #F8FAFC;
        border: 1px solid #CBD5E1;
        color: #0F172A;
        border-radius: 10px;
        padding: 12px;
    }


.bg-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.2);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.2);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.login-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.brand-logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 8px;
}

.form-control {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    border-radius: 12px;
    padding: 12px 16px;
}

    .form-control:focus {
        background: #FFFFFF;
        border-color: #4F46E5;
        color: #0F172A;
        box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    }

.btn-primary {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    }

.demo-creds {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
    font-size: 0.85rem;
}

.demo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
}

    .demo-item:last-child {
        border-bottom: none;
    }

.demo-btn {
    background: #E2E8F0;
    border: none;
    color: #334155;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .demo-btn:hover {
        background: #CBD5E1;
    }

/* Floating blobs animation */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: floatBlob 8s ease-in-out infinite alternate;
}

.blob-1 {
    width: 350px;
    height: 350px;
    background: rgba(79,70,229,0.25);
    top: -80px;
    right: -80px;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: rgba(6,182,212,0.18);
    bottom: -60px;
    left: -60px;
    animation-delay: -3s;
}

.blob-3 {
    width: 180px;
    height: 180px;
    background: rgba(124,58,237,0.2);
    top: 40%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes floatBlob {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, -20px) scale(1.1);
    }
}
/* Steps for OTP */
.login-step {
    display: none;
}

    .login-step.active {
        display: block;
    }
/* Feature list */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin: 3px;
}

    .feature-chip i {
        color: var(--accent);
    }
/* Divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
}

    .or-divider::before, .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,0.12);
    }