@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary-50: #e6ecf7;
    --primary-100: #c0ceed;
    --primary-200: #96ade2;
    --primary-300: #6b8cd6;
    --primary-400: #4a73cd;
    --primary-500: #15369a;
    --primary-600: #122f87;
    --primary-700: #0f2874;
    --primary-800: #0e2570;
    --primary-900: #091a52;
    --success: #10b981;
    --success-light: #d1fae5;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --danger-dark: #dc2626;
    --info: #15369a;
    --info-light: #e6ecf7;
    --info-dark: #0e2570;
    --white: #ffffff;
    --black: #000000;
    --gray-25: #fcfcfd;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .06);
    --shadow-lg: 0 12px 16px -4px rgba(0, 0, 0, .08), 0 4px 6px -2px rgba(0, 0, 0, .03);
    --shadow-xl: 0 20px 24px -4px rgba(0, 0, 0, .08), 0 8px 8px -4px rgba(0, 0, 0, .03);
    --shadow-blue: 0 4px 14px rgba(21, 54, 154, .39);
    --shadow-blue-lg: 0 8px 25px rgba(21, 54, 154, .45);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    --transition: 200ms cubic-bezier(.4, 0, .2, 1);
    --sidebar-width: 280px;
    --topbar-height: 72px
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f8ff 100%);
    min-height: 100vh;
    color: var(--gray-900);
    line-height: 1.6
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition)
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition)
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit
}

.login-page {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 40%, var(--primary-600) 100%);
    position: relative;
    overflow: hidden
}

.login-page::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 80%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: .5;
        transform: scale(1)
    }

    50% {
        opacity: .8;
        transform: scale(1.05)
    }
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: #fff;
    position: relative;
    z-index: 1
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 80px
}

.login-logo-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px
}

.login-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.5px
}

.login-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px
}

.login-hero p {
    font-size: 1.25rem;
    opacity: .85;
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 56px
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.login-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.0625rem;
    font-weight: 500;
    opacity: .95
}

.login-feature svg {
    width: 24px;
    height: 24px;
    color: #34d399;
    flex-shrink: 0
}

.login-right {
    flex: 0 0 520px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px;
    position: relative;
    z-index: 1;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .15)
}

.login-form-header {
    margin-bottom: 40px
}

.login-form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -.5px
}

.login-form-header p {
    color: var(--gray-500);
    font-size: 1.0625rem
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 28px
}

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

.form-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-700)
}

.form-label.required::after {
    content: ' *';
    color: var(--danger)
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
    font-weight: 500
}

.form-control:hover {
    border-color: var(--gray-300);
    background: var(--white)
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
    background: var(--white)
}

.form-control::placeholder {
    color: var(--gray-400);
    font-weight: 400
}

textarea.form-control {
    resize: vertical;
    min-height: 120px
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer
}

.password-input {
    position: relative
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    padding: 4px
}

.login-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-blue);
    cursor: pointer
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg)
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-400);
    font-size: .875rem;
    font-weight: 500;
    margin: 12px 0
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200)
}

.demo-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.demo-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent
}

.demo-account:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateX(4px)
}

.demo-account-email {
    font-weight: 600;
    color: var(--gray-900);
    font-size: .9375rem
}

.demo-account-role {
    font-size: .8125rem;
    color: var(--gray-500)
}

.app-container {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #15369a 0%, #0e2570 100%);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    box-shadow: 0 0 30px rgba(21, 54, 154, .4)
}

.sidebar-header {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: var(--shadow-blue)
}

.sidebar-brand {
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px
}

.sidebar-nav {
    flex: 1;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto
}

.nav-section-title {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    padding: 20px 16px 10px
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    font-weight: 500;
    font-size: .9375rem;
    transition: var(--transition);
    position: relative
}

.nav-item:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: #fff;
    box-shadow: var(--shadow-blue)
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

.nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    min-width: 24px;
    text-align: center
}

.nav-badge.live {
    background: var(--success);
    animation: pulse-badge 2s infinite
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .4)
    }

    50% {
        opacity: .9;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0)
    }
}

.nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 16px
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius-lg);
    margin-bottom: 16px
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .9375rem;
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0
}

.sidebar-user-name {
    font-weight: 600;
    color: #fff;
    font-size: .9375rem
}

.sidebar-user-role {
    font-size: .75rem;
    color: var(--gray-500)
}

.sidebar-signout {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: .875rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--radius);
    transition: var(--transition)
}

.sidebar-signout:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, .1)
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

.topbar {
    background: var(--white);
    padding: 0 40px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm)
}

.topbar-left {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.topbar-greeting {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -.5px
}

.topbar-greeting span {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.topbar-date {
    font-size: .875rem;
    color: var(--gray-500)
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-100);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    width: 320px;
    transition: var(--transition);
    border: 2px solid transparent
}

.topbar-search:focus-within {
    background: var(--white);
    border-color: var(--primary-300);
    box-shadow: 0 0 0 4px var(--primary-100)
}

.topbar-search input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: .9375rem;
    color: var(--gray-800)
}

.topbar-search svg {
    color: var(--gray-400);
    width: 20px;
    height: 20px
}

.topbar-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    background: var(--gray-100);
    position: relative;
    transition: var(--transition)
}

.topbar-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800)
}

.topbar-btn svg {
    width: 22px;
    height: 22px
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: pulse-badge 2s infinite
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition)
}

.topbar-user:hover {
    background: var(--gray-200)
}

.topbar-user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .875rem
}

.topbar-user-name {
    font-weight: 600;
    font-size: .9375rem;
    color: var(--gray-800)
}

.content {
    flex: 1;
    padding: 40px
}

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: var(--transition)
}

.card:hover {
    box-shadow: var(--shadow-md)
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-25)
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 12px
}

.card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500)
}

.card-body {
    padding: 28px
}

.card-body.p-0 {
    padding: 0
}

.card-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 36px
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all .3s;
    position: relative;
    overflow: hidden
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--stat-color, var(--primary-500))
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--stat-color, var(--primary-500));
    opacity: .05;
    border-radius: 50%;
    transform: translate(30%, -30%)
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.stat-card.primary {
    --stat-color: var(--primary-500)
}

.stat-card.success {
    --stat-color: var(--success)
}

.stat-card.warning {
    --stat-color: var(--warning)
}

.stat-card.danger {
    --stat-color: var(--danger)
}

.stat-card.info {
    --stat-color: var(--info)
}

.stat-content {
    position: relative;
    z-index: 1
}

.stat-label {
    font-size: .875rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 10px
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    letter-spacing: -1px
}

.stat-meta {
    font-size: .8125rem;
    color: var(--gray-500);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px
}

.stat-meta.positive {
    color: var(--success)
}

.stat-meta.negative {
    color: var(--danger)
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1
}

.stat-icon svg {
    width: 26px;
    height: 26px
}

.stat-icon.primary {
    background: var(--primary-100);
    color: var(--primary-600)
}

.stat-icon.success {
    background: var(--success-light);
    color: var(--success-dark)
}

.stat-icon.warning {
    background: var(--warning-light);
    color: var(--warning-dark)
}

.stat-icon.danger {
    background: var(--danger-light);
    color: var(--danger-dark)
}

.stat-icon.info {
    background: var(--info-light);
    color: var(--info-dark)
}

.stat-icon.secondary {
    background: var(--gray-100);
    color: var(--gray-600)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: .9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap
}

.btn svg {
    width: 18px;
    height: 18px
}

.btn-sm {
    padding: 8px 16px;
    font-size: .8125rem;
    border-radius: var(--radius)
}

.btn-sm svg {
    width: 16px;
    height: 16px
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.0625rem;
    border-radius: var(--radius-xl)
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: #fff;
    box-shadow: var(--shadow-blue)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue-lg)
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, .35)
}

.btn-success:hover {
    transform: translateY(-2px)
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, var(--warning-dark) 100%);
    color: #fff
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%);
    color: #fff
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700)
}

.btn-secondary:hover {
    background: var(--gray-200)
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-700)
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50)
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600)
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800)
}

.btn-block {
    width: 100%
}

.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none !important
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: .75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: .5px
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-700)
}

.badge-success {
    background: var(--success-light);
    color: var(--success-dark)
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark)
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger-dark)
}

.badge-info {
    background: var(--info-light);
    color: var(--info-dark)
}

.badge-secondary {
    background: var(--gray-100);
    color: var(--gray-600)
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: pulse-badge 2s infinite
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100)
}

.table th {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-500);
    background: var(--gray-50)
}

.table tbody tr {
    transition: var(--transition)
}

.table tbody tr:hover {
    background: var(--gray-50)
}

.table tbody tr:last-child td {
    border-bottom: none
}

.table-clickable tbody tr {
    cursor: pointer
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-weight: 700;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    color: #fff
}

.avatar-xs {
    width: 28px;
    height: 28px;
    font-size: .625rem;
    border-radius: 6px
}

.avatar-sm {
    width: 36px;
    height: 36px;
    font-size: .75rem
}

.avatar-md {
    width: 44px;
    height: 44px;
    font-size: .875rem
}

.avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 1rem
}

.avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    border-radius: var(--radius-xl)
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition)
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible
}

.modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(.95) translateY(20px);
    transition: all .3s;
    box-shadow: var(--shadow-xl)
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0)
}

.modal-lg {
    max-width: 720px
}

.modal-xl {
    max-width: 960px
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-bottom: 1px solid var(--gray-100)
}

.modal-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900)
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition)
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-600)
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    max-height: 60vh
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 28px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50)
}

.toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.toast {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    min-width: 360px;
    animation: slideIn .4s cubic-bezier(.16, 1, .3, 1);
    border: 1px solid var(--gray-100)
}

.toast.hide {
    animation: slideOut .3s ease forwards
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100%)
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.toast.success .toast-icon {
    background: var(--success-light);
    color: var(--success)
}

.toast.error .toast-icon {
    background: var(--danger-light);
    color: var(--danger)
}

.toast.warning .toast-icon {
    background: var(--warning-light);
    color: var(--warning)
}

.toast.info .toast-icon {
    background: var(--primary-100);
    color: var(--primary-600)
}

.toast-content {
    flex: 1
}

.toast-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px
}

.toast-message {
    font-size: .875rem;
    color: var(--gray-500)
}

.workday-card {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: var(--radius-2xl);
    padding: 56px;
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-200)
}

.workday-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, .15) 0%, transparent 70%)
}

.workday-card.working {
    background: linear-gradient(135deg, var(--success-light) 0%, #a7f3d0 100%);
    border-color: var(--success)
}

.workday-card.on-break {
    background: linear-gradient(135deg, var(--warning-light) 0%, #fde68a 100%);
    border-color: var(--warning)
}

.workday-card.finished {
    background: linear-gradient(135deg, var(--info-light) 0%, #c7d2fe 100%);
    border-color: var(--info)
}

.workday-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md)
}

.workday-status.working {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: #fff
}

.workday-status.on_break,
.workday-status.on-break {
    background: linear-gradient(135deg, var(--warning) 0%, var(--warning-dark) 100%);
    color: #fff
}

.workday-status.finished {
    background: linear-gradient(135deg, var(--info) 0%, var(--info-dark) 100%);
    color: #fff
}

.workday-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5.5rem;
    font-weight: 700;
    letter-spacing: -3px;
    margin-bottom: 20px;
    color: var(--gray-900);
    position: relative;
    z-index: 1
}

.workday-timer span {
    opacity: .3
}

.workday-info {
    color: var(--gray-600);
    font-size: 1.0625rem;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1
}

.workday-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1
}

.checkin-container {
    max-width: 640px;
    margin: 0 auto
}

.checkin-header {
    text-align: center;
    margin-bottom: 56px
}

.checkin-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -.5px;
    color: var(--gray-900)
}

.checkin-header p {
    color: var(--gray-500);
    font-size: 1.125rem
}

.checkin-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px
}

.checkin-step {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 2px solid var(--gray-200);
    transition: all .3s
}

.checkin-step.completed {
    border-color: var(--success);
    background: linear-gradient(135deg, var(--white) 0%, var(--success-light) 100%)
}

.checkin-step.active {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100)
}

.checkin-step-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px
}

.checkin-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: var(--transition)
}

.checkin-step.completed .checkin-step-number {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: #fff
}

.checkin-step.active .checkin-step-number {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: #fff
}

.checkin-step-info {
    flex: 1
}

.checkin-step-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900)
}

.checkin-step-desc {
    color: var(--gray-500);
    font-size: .875rem
}

.checkin-step-content {
    padding-left: 62px
}

.checkin-camera {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative
}

.checkin-camera video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.checkin-camera-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none
}

.checkin-camera-preview.show {
    display: block
}

.checkin-camera-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500)
}

.checkin-camera-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px
}

.task-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer
}

.task-item:hover {
    background: var(--gray-50)
}

.task-item:last-child {
    border-bottom: none
}

.task-priority-bar {
    width: 4px;
    height: 52px;
    border-radius: 2px;
    flex-shrink: 0
}

.task-priority-bar.urgent {
    background: linear-gradient(180deg, var(--danger) 0%, var(--danger-dark) 100%)
}

.task-priority-bar.high {
    background: linear-gradient(180deg, var(--warning) 0%, var(--warning-dark) 100%)
}

.task-priority-bar.medium {
    background: linear-gradient(180deg, var(--primary-500) 0%, var(--primary-600) 100%)
}

.task-priority-bar.low {
    background: var(--gray-300)
}

.task-content {
    flex: 1;
    min-width: 0
}

.task-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .8125rem;
    color: var(--gray-500)
}

.task-meta svg {
    width: 14px;
    height: 14px
}

.task-actions {
    display: flex;
    gap: 8px
}

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

.team-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition);
    border: 1px solid transparent
}

.team-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md)
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 16px
}

.team-avatar {
    position: relative
}

.team-avatar .team-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px
}

.team-status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px currentColor
}

.team-status-dot.working {
    color: var(--success);
    background: var(--success)
}

.team-status-dot.on_break,
.team-status-dot.on-break {
    color: var(--warning);
    background: var(--warning)
}

.team-status-dot.offline {
    color: var(--gray-400);
    background: var(--gray-400)
}

.team-status-dot.finished {
    color: var(--info);
    background: var(--info)
}

.team-name {
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px
}

.team-dept {
    font-size: .8125rem;
    color: var(--gray-500)
}

.team-task {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    font-size: .8125rem;
    margin-top: 16px;
    border: 1px solid var(--gray-200)
}

.team-task-label {
    color: var(--gray-500)
}

.team-task-name {
    color: var(--primary-600);
    font-weight: 600
}

.team-task-name:hover {
    text-decoration: underline
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px
}

.kanban-column {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 20px;
    min-height: 520px
}

.kanban-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200)
}

.kanban-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.kanban-dot.not_started,
.kanban-dot.not-started {
    background: var(--gray-400)
}

.kanban-dot.pending {
    background: var(--warning)
}

.kanban-dot.in_progress,
.kanban-dot.in-progress {
    background: var(--primary-500)
}

.kanban-dot.in_review,
.kanban-dot.in-review {
    background: var(--info)
}

.kanban-dot.completed {
    background: var(--success)
}

.kanban-title {
    font-weight: 700;
    flex: 1;
    font-size: .9375rem
}

.kanban-count {
    background: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-600)
}

.kanban-tasks {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.kanban-task {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05)
}

.kanban-task:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

.kanban-task.priority-urgent {
    border-left-color: var(--danger)
}

.kanban-task.priority-high {
    border-left-color: var(--warning)
}

.kanban-task.priority-medium {
    border-left-color: var(--primary-500)
}

.kanban-task.priority-low {
    border-left-color: var(--gray-300)
}

.kanban-task-title {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem
}

.kanban-task-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    color: var(--gray-500)
}

.dependency-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--warning-light);
    border: 1px solid var(--warning);
    border-radius: var(--radius-lg);
    font-size: .875rem;
    color: var(--warning-dark);
    margin-bottom: 20px
}

.dependency-indicator svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

.dependency-indicator.blocked {
    background: var(--danger-light);
    border-color: var(--danger);
    color: var(--danger-dark)
}

.dependency-indicator.ready {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success-dark)
}

.file-dropzone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--gray-50)
}

.file-dropzone:hover,
.file-dropzone.dragover {
    border-color: var(--primary-500);
    background: var(--primary-50)
}

.file-dropzone svg {
    width: 56px;
    height: 56px;
    color: var(--gray-400);
    margin-bottom: 20px
}

.file-dropzone p {
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 500
}

.file-dropzone span {
    font-size: .875rem;
    color: var(--gray-400)
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px
}

.file-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200)
}

.file-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600)
}

.file-info {
    flex: 1
}

.file-name {
    font-weight: 600;
    font-size: .9375rem
}

.file-meta {
    font-size: .75rem;
    color: var(--gray-500)
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 400px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    display: none;
    z-index: 100
}

.notifications-dropdown.show {
    display: block;
    animation: fadeSlideDown .2s ease
}

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

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100)
}

.notifications-title {
    font-weight: 700;
    font-size: 1rem
}

.notifications-list {
    max-height: 420px;
    overflow-y: auto
}

.notification-item {
    display: flex;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer
}

.notification-item:hover {
    background: var(--gray-50)
}

.notification-item.unread {
    background: var(--primary-50)
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.notification-icon.task {
    background: var(--primary-100);
    color: var(--primary-600)
}

.notification-icon.review {
    background: var(--warning-light);
    color: var(--warning-dark)
}

.notification-icon.success {
    background: var(--success-light);
    color: var(--success-dark)
}

.notification-content {
    flex: 1;
    min-width: 0
}

.notification-text {
    font-size: .9375rem;
    color: var(--gray-800);
    margin-bottom: 4px
}

.notification-time {
    font-size: .75rem;
    color: var(--gray-400)
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.filters-bar .form-control {
    padding: 10px 16px
}

.view-toggle {
    display: flex;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden
}

.view-toggle button {
    padding: 10px 16px;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition)
}

.view-toggle button:first-child {
    border-right: 1px solid var(--gray-200)
}

.view-toggle button.active {
    background: var(--primary-500);
    color: #fff
}

.view-toggle button:hover:not(.active) {
    background: var(--gray-100)
}

.alert {
    padding: 18px 24px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px
}

.alert-success {
    background: var(--success-light);
    color: var(--success-dark);
    border: 1px solid var(--success)
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger-dark);
    border: 1px solid var(--danger)
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
    border: 1px solid var(--warning)
}

.alert-info {
    background: var(--primary-100);
    color: var(--primary-700);
    border: 1px solid var(--primary-300)
}

.row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap
}

.col {
    flex: 1;
    min-width: 0
}

.col-3 {
    flex: 0 0 calc(25% - 21px)
}

.col-4 {
    flex: 0 0 calc(33.333% - 19px)
}

.col-5 {
    flex: 0 0 calc(41.666% - 16px)
}

.col-6 {
    flex: 0 0 calc(50% - 14px)
}

.col-7 {
    flex: 0 0 calc(58.333% - 12px)
}

.col-8 {
    flex: 0 0 calc(66.666% - 9px)
}

.col-9 {
    flex: 0 0 calc(75% - 7px)
}

.d-flex {
    display: flex
}

.align-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.justify-center {
    justify-content: center
}

.flex-wrap {
    flex-wrap: wrap
}

.flex-1 {
    flex: 1
}

.flex-column {
    flex-direction: column
}

.gap-1 {
    gap: 4px
}

.gap-2 {
    gap: 8px
}

.gap-3 {
    gap: 12px
}

.gap-4 {
    gap: 16px
}

.gap-6 {
    gap: 24px
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.text-muted {
    color: var(--gray-500)
}

.text-primary {
    color: var(--primary-600)
}

.text-success {
    color: var(--success)
}

.text-danger {
    color: var(--danger)
}

.text-warning {
    color: var(--warning)
}

.font-semibold {
    font-weight: 600
}

.font-bold {
    font-weight: 700
}

.mb-1 {
    margin-bottom: 4px
}

.mb-2 {
    margin-bottom: 8px
}

.mb-3 {
    margin-bottom: 12px
}

.mb-4 {
    margin-bottom: 16px
}

.mb-6 {
    margin-bottom: 24px
}

.mb-8 {
    margin-bottom: 32px
}

.mt-2 {
    margin-top: 8px
}

.mt-3 {
    margin-top: 12px
}

.mt-4 {
    margin-top: 16px
}

.mt-6 {
    margin-top: 24px
}

.ml-2 {
    margin-left: 8px
}

.p-0 {
    padding: 0 !important
}

.p-4 {
    padding: 16px
}

.p-6 {
    padding: 24px
}

.hidden {
    display: none !important
}

.text-sm {
    font-size: .875rem
}

.spin {
    animation: spin 1s linear infinite
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@media(max-width:1400px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .kanban-board {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: all .3s
    }

    .sidebar.show {
        transform: translateX(0)
    }

    .main-content {
        margin-left: 0
    }

    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9 {
        flex: 0 0 100%
    }

    .topbar-search {
        display: none
    }

    .kanban-board {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .content {
        padding: 24px
    }

    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr
    }

    .kanban-board {
        grid-template-columns: 1fr
    }

    .login-page {
        flex-direction: column
    }

    .login-left {
        padding: 40px;
        flex: 0
    }

    .login-left h1 {
        font-size: 2rem
    }

    .login-right {
        flex: 1;
        max-width: none;
        padding: 40px
    }

    .workday-timer {
        font-size: 3.5rem
    }

    .row {
        gap: 20px
    }
}

/* ============================================
   ENHANCED LIGHT THEME - GLOBAL IMPROVEMENTS
   ============================================ */

/* Ensure all inputs and form elements have proper visibility */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #d1d5db !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    background-color: #ffffff !important;
}

/* Labels visibility */
.form-label,
label {
    color: #1e293b !important;
    font-weight: 600;
}

/* Content area light background */
.content {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Cards with better contrast */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.card-header {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.card-body {
    background: #ffffff;
}

/* Table improvements */
.table th {
    background: #f8fafc;
    color: #374151;
    border-bottom: 2px solid #e2e8f0;
}

.table td {
    background: #ffffff;
    color: #1e293b;
}

.table tbody tr:hover {
    background: #f8fafc;
}

/* Modal improvements */
.modal {
    background: #ffffff;
}

.modal-header {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.modal-body {
    background: #ffffff;
    color: #1e293b;
}

.modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Topbar improvements */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.topbar-greeting {
    color: #0f172a;
}

.topbar-date {
    color: #64748b;
}

/* Stat cards */
.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.stat-label {
    color: #64748b;
}

.stat-value {
    color: #0f172a;
}

/* Task items */
.task-item {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.task-item:hover {
    background: #f8fafc;
}

.task-title {
    color: #0f172a;
}

.task-meta {
    color: #64748b;
}

/* Team cards */
.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.team-name {
    color: #0f172a;
}

.team-dept {
    color: #64748b;
}

/* Alert visibility */
.alert {
    border-width: 1px;
}

.alert-success {
    background: #dcfce7;
    border-color: #22c55e;
    color: #15803d;
}

.alert-danger {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

.alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #b45309;
}

.alert-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1d4ed8;
}

/* Badge improvements */
.badge {
    font-weight: 600;
}

/* Button text visibility */
.btn-secondary {
    color: #374151;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    color: #1f2937;
}

.btn-outline {
    color: #374151;
    background: #ffffff;
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #1d4ed8;
}

/* Dropdown improvements */
.notifications-dropdown {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.notification-item {
    background: #ffffff;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-text {
    color: #1e293b;
}

.notification-time {
    color: #9ca3af;
}