/* Corporate Leave Application System Styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #515046;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e7302a 0%, #b11f1a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(231, 48, 42, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #515046;
    letter-spacing: -0.025em;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Dark mode */
.dark-mode body,
.dark-mode {
    background: #0b0f14;
    color: #e5e7eb;
}
.dark-mode .card { background: #0f1720; border-color: #1f2937; }
.dark-mode .table { background: #0f1720; }
.dark-mode .table th { background: #111827; color: #d1d5db; }
.dark-mode .table td { border-color: #1f2937; }
.dark-mode .header { background: transparent; }
.dark-mode .nav a { color: #e5e7eb; }
.dark-mode .btn-primary { background: #e7302a; border-color: #e7302a; }
.dark-mode .btn-secondary { background: #374151; border-color: #4b5563; color: #e5e7eb; }
.dark-mode .form-control { background: #0b1220; border-color: #1f2937; color: #e5e7eb; }
.dark-mode .status-badge { filter: brightness(0.9); }
.dark-mode .quick-action-btn { background: rgba(255,255,255,0.02); }
.dark-mode .search-box input { background:#0b1220; color:#e5e7eb; border-color:#1f2937; }
.dark-mode .notification-panel { background:#0f1720; border-color:#1f2937; }

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

.nav a {
    text-decoration: none;
    color: #515046;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
}

.nav a:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #e2e8f0;
}

.nav a:active {
    background: #e7302a;
    color: white;
    border-color: #e7302a;
}

/* Card Styles */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.card-subtitle {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #515046;
    font-size: 14px;
    letter-spacing: 0.025em;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #515046;
}

.form-control:focus {
    outline: none;
    border-color: #e7302a;
    box-shadow: 0 0 0 3px rgba(231, 48, 42, 0.12);
}

.form-control:invalid {
    border-color: #ef4444;
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: 'Manrope', sans-serif;
}

/* Radio and Checkbox Styles */
.radio-group, .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.radio-item, .checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.radio-item:hover, .checkbox-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    margin: 0;
    accent-color: #e7302a;
    width: 18px;
    height: 18px;
}

.radio-item input[type="radio"]:checked + label,
.checkbox-item input[type="checkbox"]:checked + label {
    color: #1e293b;
    font-weight: 600;
}

.radio-item:has(input[type="radio"]:checked),
.checkbox-item:has(input[type="checkbox"]:checked) {
    background: #fff1f0;
    border-color: #e7302a;
    color: #515046;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.025em;
    min-height: 44px;
}

.btn-primary {
    background: #e7302a;
    color: white;
    border: 1px solid #e7302a;
}

.btn-primary:hover {
    background: #c62822;
    border-color: #c62822;
    box-shadow: 0 4px 8px rgba(231, 48, 42, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #515046;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-success {
    background: #10b981;
    color: white;
    border: 1px solid #10b981;
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    min-height: 36px;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table th {
    background: #f8fafc;
    color: #515046;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

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

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

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #e7302a;
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid;
    font-weight: 500;
}

.alert-success {
    background: #f0fdf4;
    border-color: #10b981;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    background: #fff1f0;
    border-color: #e7302a;
    color: #7a1a16;
}

/* Login Form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

/* New modern split auth layout */
.auth-wrapper {
    width: 100%;
    max-width: 980px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.auth-brand {
    background: radial-gradient(1200px 400px at -10% -10%, rgba(231, 48, 42, 0.85) 0%, transparent 60%),
                radial-gradient(800px 300px at 120% 120%, rgba(177, 31, 26, 0.85) 0%, transparent 60%),
                linear-gradient(135deg, #3b0d0b 0%, #1a0b0a 100%);
    color: #f3f4f6;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand .brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-brand .brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.auth-brand .brand-hero {
    margin-top: 40px;
}

.auth-brand h1 {
    color: #ffffff;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.auth-brand p {
    color: #cbd5e1;
}

.auth-brand .brand-points {
    margin-top: 28px;
    display: grid;
    gap: 10px;
}

.auth-brand .point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-weight: 600;
}

.auth-form {
    padding: 48px;
}

.auth-form .login-title {
    font-size: 26px;
    margin-bottom: 6px;
}

.auth-form .login-subtitle {
    margin-bottom: 24px;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-weight: 600;
}

/* Ensure input text doesn't sit under the toggle button */
.password-field .form-control {
    padding-right: 44px;
}

.password-toggle:hover {
    color: #515046;
}

/* Professional select field styling */
.select-field {
    position: relative;
}

.select-field .form-control {
    padding-left: 44px;
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
}

.select-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.select-icon-right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.field-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 920px) {
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #515046;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 16px 24px;
    color: #515046;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.mobile-nav a:hover {
    background: #f8fafc;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Search and Filter Components */
.search-filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box input {
    padding-left: 40px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

.filter-dropdown {
    min-width: 150px;
}

/* Notification System */
.notification-badge {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e7302a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Cards */
.feature-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e7302a, #c62822);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #515046;
    transition: all 0.2s ease;
    font-weight: 500;
}

.quick-action-btn:hover {
    background: #f8fafc;
    border-color: #e7302a;
    color: #e7302a;
    transform: translateY(-1px);
}

.quick-action-icon {
    width: 24px;
    height: 24px;
    background: #e7302a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* Enhanced Tables */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.table {
    min-width: 600px;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #e7302a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Global Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active { display: flex; }

.loading-spinner {
    width: 54px;
    height: 54px;
    border: 4px solid #e5e7eb;
    border-top-color: #e7302a;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Low Balance Warning */
.stat-card.low-balance {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    animation: pulse-warning 2s infinite;
}

.balance-warning {
    font-size: 12px;
    color: #d97706;
    font-weight: 600;
    margin-top: 4px;
    text-align: center;
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Profile Picture Styles */
.welcome-card {
    padding: 24px;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-section {
    position: relative;
}

.profile-picture-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e7302a;
    box-shadow: 0 4px 12px rgba(231, 48, 42, 0.2);
}

.profile-picture-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7302a 0%, #c62822 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e7302a;
    box-shadow: 0 4px 12px rgba(231, 48, 42, 0.2);
}

.initials {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.upload-btn {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #515046;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.upload-btn:hover {
    background: #e7302a;
    transform: scale(1.1);
}

.welcome-text {
    flex: 1;
}

.welcome-text h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.welcome-text .card-subtitle {
    margin: 0;
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Header User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    margin: 0 16px;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e7302a 0%, #c62822 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.user-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Mobile Responsive for Profile Picture */
@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-picture-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-picture,
    .profile-picture-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .initials {
        font-size: 32px;
    }
    
    .upload-btn {
        width: 32px;
        height: 32px;
    }
    
    .welcome-text h1 {
        font-size: 24px;
    }
    
    .user-profile {
        margin: 0 8px;
        padding: 6px 12px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .avatar-initials {
        font-size: 12px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .user-role {
        font-size: 11px;
    }
}

/* Professional Dashboard Icons */
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #64748b;
    flex-shrink: 0;
}

.stat-icon.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.stat-icon.approved {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.stat-icon.rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.stat-icon.balance {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4f46e5;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e7302a 0%, #c62822 100%);
    color: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.quick-action-btn:hover .quick-action-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 48, 42, 0.3);
}

.card-title {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

/* Status Badge Icons */
.status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge svg {
    vertical-align: middle;
}

/* Document Upload Styles */
.document-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.upload-zone {
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-zone:hover {
    background: #f3f4f6;
    border-color: #e7302a;
}

.upload-zone.drag-over {
    background: #fef2f2;
    border-color: #e7302a;
    transform: scale(1.02);
}

.upload-icon {
    color: #6b7280;
    margin-bottom: 16px;
}

.upload-text h4 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
}

.upload-text p {
    margin: 0 0 4px 0;
    color: #6b7280;
    font-size: 14px;
}

.upload-hint {
    font-size: 12px !important;
    color: #9ca3af !important;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-icon {
    color: #e7302a;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.remove-file {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.remove-file:hover {
    background: #fecaca;
    transform: scale(1.05);
}

.upload-note {
    margin-top: 12px;
    padding: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    font-size: 14px;
    color: #0c4a6e;
}

.upload-note strong {
    color: #0369a1;
}

/* Document Display Styles */
.document-display {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.document-icon {
    color: #e7302a;
    flex-shrink: 0;
}

.document-details {
    flex: 1;
    min-width: 0;
}

.document-name {
    font-weight: 600;
    color: #374151;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-type {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Employee Avatar in Forms */
.employee-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e7302a;
    box-shadow: 0 2px 8px rgba(231, 48, 42, 0.2);
    flex-shrink: 0;
}

.employee-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e7302a 0%, #c62822 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.employee-initials {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 16px;
    }
    
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    .header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 16px;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 16px;
        top: 16px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card {
        padding: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .table-container {
        font-size: 13px;
    }
    
    .table th,
    .table td {
        padding: 12px 8px;
    }
    
    .radio-group,
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .search-filter-bar {
        gap: 12px;
    }
    
    .filter-dropdown {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .card {
        padding: 16px;
    }
    
    .feature-card {
        padding: 16px;
    }
    
    .table th,
    .table td {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.4s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b8a83;
}

/* Additional Corporate Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: #515046;
    letter-spacing: -0.025em;
}

p, span, div {
    font-family: 'Manrope', sans-serif;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav a:focus {
    outline: 2px solid #e7302a;
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .header,
    .nav,
    .btn {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
}
