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

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

body { 
    font-family: 'Montserrat', sans-serif; 
    background: #f7fafc;
    color: #2d3748;
}

.navbar { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon.leave_cancel {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.navbar-brand .logo {
    width, td { 
    padding: 1rem; 
    text-align: left; 
    border-bottom: 1px solid #e2e8f0;
}

th { 
    background: #f7fafc; 
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f7fafc;
}

.badge { 
    padding: 0.35rem 0.85rem; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: 600;
    display: inline-block;
}

.badge-pending { 
    background: #fef3c7; 
    color: #92400e; 
}

.badge-approved { 
    background: #d1fae5; 
    color: #065f46; 
}

.badge-rejected { 
    background: #fee2e2; 
    color: #991b1b; 
}

.badge-admin { 
    background: #fef3c7; 
    color: #92400e; 
}

.badge-manager { 
    background: #dbeafe; 
    color: #1e40af; 
}

.badge-employee { 
    background: #d1fae5; 
    color: #065f46; 
}

.success { 
    background: #d1fae5; 
    color: #065f46; 
    padding: 1rem 1.25rem; 
    border-radius: 10px; 
    margin-bottom: 1.5rem;
    border-left: 4px solid #10b981;
    font-weight: 500;
}

.error { 
    background: #fee2e2; 
    color: #991b1b; 
    padding: 1rem 1.25rem; 
    border-radius: 10px; 
    margin-bottom: 1.5rem;
    border-left: 4px solid #ef4444;
    font-weight: 500;
}

.info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #a0aec0;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #718096;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar nav {
        width: 100%;
        justify-content: center;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
    }
}: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.navbar h1 { 
    font-size: 1.4rem;
    font-weight: 600;
}

.navbar nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.navbar nav a { 
    color: white; 
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar nav a:hover { 
    background: rgba(255,255,255,0.2);
}

.container { 
    max-width: 1200px; 
    margin: 2rem auto; 
    padding: 0 1rem;
}

.card { 
    background: white; 
    border-radius: 16px; 
    padding: 2rem; 
    margin-bottom: 1.5rem; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card h2 { 
    margin-bottom: 1.5rem; 
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group { 
    margin-bottom: 1.5rem; 
}


label { 
    display: block; 
    margin-bottom: 0.5rem; 
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

input, select, textarea { 
    width: 100%; 
    padding: 0.875rem 1rem; 
    border: 2px solid #e2e8f0; 
    border-radius: 10px; 
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.btn { 
    display: inline-block; 
    padding: 0.75rem 1.5rem; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; 
    text-decoration: none; 
    border-radius: 10px; 
    border: none; 
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-success { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-success:hover { 
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-danger { 
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.btn-danger:hover { 
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

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

/* Mobile Responsive Fixes for The Moments Group HR System */

/* 1. Add this to your HTML <head> if not present */
/* <meta name="viewport" content="width=device-width, initial-scale=1.0"> */

/* 2. Hide sidebar on mobile screens */
@media screen and (max-width: 768px) {
    
    /* Hide the sidebar navigation on mobile */
    .sidebar,
    .side-nav,
    nav.sidebar,
    .navigation-menu {
        display: none !important;
    }
    
    /* Make main content full width */
    .main-content,
    .content,
    main,
    .dashboard-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px !important;
    }
    
    /* Add hamburger menu button (you'll need to add this element) */
    .mobile-menu-toggle {
        display: block !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1000;
        background: #6366f1;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    
    /* Mobile sidebar (when opened) */
    .sidebar.mobile-open {
        display: block !important;
        position: fixed;
        left: 0;
        top: 0;
        width: 80% !important;
        max-width: 300px;
        height: 100vh;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }
    
    /* Overlay when menu is open */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Welcome card responsive */
    .welcome-card {
        width: 100% !important;
        margin: 10px 0 !important;
        padding: 20px !important;
    }
    
    /* Status cards responsive */
    .status-card,
    .request-card {
        width: 100% !important;
        margin: 10px 0 !important;
    }
    
    /* Logo adjustments */
    .logo img {
        max-width: 150px;
        height: auto;
    }
    
    /* Text sizing for mobile */
    h1, .welcome-title {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    /* Button sizing */
    button, .btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 200px !important;
    }
    
    .main-content {
        margin-left: 200px !important;
    }
}

/* Desktop - hide mobile menu button */
@media screen and (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}