/* styles.css */
/* Variables CSS */
:root {
    --primary-color: #1a5632;
    --primary-light: #2e7d32;
    --primary-dark: #0d3d1f;
    --secondary-color: #1976d2;
    --accent-color: #ff9800;
    --super-admin-color: #ff6b00;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --text-light: #333333;
    --text-dark: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --card-light: #ffffff;
    --card-dark: #1e1e1e;
    --sidebar-light: #1a5632;
    --sidebar-dark: #0d3d1f;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Reset et styles de base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: all 0.3s ease;
    line-height: 1.6;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    animation: fadeInOverlay 2s ease-in-out;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

body.dark-mode::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Layout principal */
.container { 
    display: flex; 
    min-height: 100vh; 
}

.main { 
    flex: 1; 
    padding: 0; 
    min-height: 100vh; 
    transition: margin-left 0.3s ease; 
    margin-left: 280px; 
}

/* Header */
.header { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    padding: 20px 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: var(--shadow); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}

body.dark-mode .header { 
    background: rgba(30, 30, 30, 0.95); 
    border-bottom-color: rgba(255,255,255,0.1); 
}

.header h1 { 
    color: var(--primary-color); 
    font-size: 1.8rem; 
    font-weight: 600; 
    transform: translateY(20px); 
    opacity: 0; 
    animation: slideIn 0.5s forwards; 
}

body.dark-mode .header h1 { 
    color: var(--text-dark); 
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.toggle-btn { 
    background: var(--accent-color); 
    color: white; 
    border: none; 
    padding: 10px 15px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.85rem; 
    transform: scale(0); 
    animation: popIn 0.5s forwards 0.3s; 
}

.toggle-btn:hover { 
    background: #e68900; 
    transform: translateY(-2px) scale(1.05) rotate(2deg); 
}

.user-info { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 8px 15px; 
    background: var(--bg-light); 
    border-radius: 8px; 
    font-size: 0.85rem; 
    transform: scale(0); 
    animation: popIn 0.5s forwards 0.4s; 
    transition: all 0.3s ease; 
}

body.dark-mode .user-info { 
    background: var(--card-dark); 
}

.user-info:hover { 
    transform: scale(1.02); 
    box-shadow: var(--shadow); 
}

.user-avatar { 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    background: var(--primary-color); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-weight: 600; 
    font-size: 0.8rem; 
    transition: transform 0.3s ease; 
}

.user-avatar.super-admin { 
    background: var(--super-admin-color); 
}

.user-avatar:hover { 
    transform: rotate(360deg); 
}

.user-role { 
    font-size: 0.75rem; 
    opacity: 0.8; 
}

/* Contenu principal */
.content { 
    padding: 30px; 
}

/* Login */
.login-container {
    max-width: 400px;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    animation: fadeInScaleLogin 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 10;
}

body.dark-mode .login-container {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.5s forwards 0.2s;
}

.login-form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.login-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.login-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

body.dark-mode .login-form-group input {
    background: var(--card-dark);
    border-color: #4b5563;
    color: var(--text-dark);
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
    transform: translateY(-2px) scale(1.02);
}

/* Messages */
.message { 
    padding: 12px 15px; 
    margin: 15px 0; 
    border-radius: 10px; 
    font-weight: 500; 
    box-shadow: var(--shadow); 
    font-size: 0.9rem; 
    opacity: 0; 
    animation: fadeInPulse 0.5s forwards; 
}

.message.success { 
    background: #d1fae5; 
    color: #065f46; 
    border-left: 4px solid var(--success-color); 
}

.message.error { 
    background: #fee2e2; 
    color: #991b1b; 
    border-left: 4px solid var(--danger-color); 
}

.message.warning { 
    background: #fef3c7; 
    color: #92400e; 
    border-left: 4px solid var(--warning-color); 
}

body.dark-mode .message.success { 
    background: #064e3b; 
    color: #6ee7b7; 
}

body.dark-mode .message.error { 
    background: #7f1d1d; 
    color: #fca5a5; 
}

body.dark-mode .message.warning { 
    background: #92400e; 
    color: #fcd34d; 
}

/* Boutons */
.btn { 
    background: var(--primary-color); 
    color: white; 
    border: none; 
    padding: 12px 24px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
    font-size: 1rem; 
    transform: scale(0.95); 
    opacity: 0; 
    animation: popIn 0.5s forwards; 
    box-shadow: 0 4px 14px rgba(26, 86, 50, 0.2); 
    position: relative; 
    overflow: hidden; 
}

.btn::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
    transition: left 0.5s; 
}

.btn:hover::before { 
    left: 100%; 
}

.btn:hover { 
    background: var(--primary-dark); 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 6px 20px rgba(26, 86, 50, 0.3); 
}

.btn.super-admin { 
    background: var(--super-admin-color); 
}

.btn.super-admin:hover { 
    background: #e65a00; 
}

.btn:nth-child(1) { 
    animation-delay: 0.1s; 
}

.btn:nth-child(2) { 
    animation-delay: 0.2s; 
}

.btn:nth-child(3) { 
    animation-delay: 0.3s; 
}

.btn-delete { 
    background: var(--danger-color); 
    margin-top: 5px; 
    width: 100%; 
    animation: shakeIn 0.5s forwards; 
}

.btn-delete:hover { 
    background: #c82333; 
    transform: translateY(-3px) scale(1.05) !important; 
}

/* Menu mobile */
.mobile-menu-btn { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    cursor: pointer; 
    padding: 6px; 
    border-radius: 4px; 
    transition: all 0.3s ease; 
}

body.dark-mode .mobile-menu-btn { 
    color: var(--text-dark); 
}

.mobile-menu-btn:hover { 
    transform: rotate(90deg) scale(1.2); 
}

/* Liens login */
.login-links { 
    text-align: center; 
    margin-top: 25px; 
    padding-top: 20px; 
    border-top: 1px solid #e5e7eb; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.login-links a { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: all 0.3s ease; 
}

.login-links a:hover { 
    color: var(--primary-dark); 
    text-decoration: underline; 
    transform: translateY(-2px); 
}

.login-info { 
    margin-top: 25px; 
    padding: 15px; 
    background: rgba(248, 249, 250, 0.8); 
    border-radius: 10px; 
    font-size: 0.85rem; 
    text-align: left; 
    border-left: 4px solid var(--primary-color); 
    transition: all 0.3s ease; 
}

body.dark-mode .login-info { 
    background: rgba(30, 30, 30, 0.8); 
    border-left-color: var(--primary-light); 
}

.login-info:hover { 
    transform: translateX(5px); 
    box-shadow: var(--shadow-hover); 
}

/* Dashboard */
.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 25px; 
    margin-bottom: 40px; 
}

.card { 
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: var(--shadow); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative; 
    overflow: hidden; 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    opacity: 0; 
    transform: translateY(50px) rotateX(10deg); 
    animation: slideInCard 0.8s forwards; 
    backdrop-filter: blur(5px); 
}

.card:nth-child(1) { 
    animation-delay: 0.1s; 
}

.card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.card:nth-child(3) { 
    animation-delay: 0.3s; 
}

.card:nth-child(4) { 
    animation-delay: 0.4s; 
}

.card:nth-child(5) { 
    animation-delay: 0.5s; 
}

.card:nth-child(6) { 
    animation-delay: 0.6s; 
}

body.dark-mode .card { 
    background: rgba(30, 30, 30, 0.9); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
}

.card:hover { 
    transform: translateY(-10px) rotateX(0deg); 
    box-shadow: var(--shadow-hover); 
}

.card::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); 
    transition: height 0.3s ease; 
}

.card:hover::before { 
    height: 6px; 
}

.card-icon { 
    width: 70px; 
    height: 70px; 
    border-radius: 16px; 
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
    color: white; 
    font-size: 1.8rem; 
    transition: all 0.3s ease; 
}

.card:hover .card-icon { 
    transform: scale(1.1) rotate(360deg); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.card h3 { 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin-bottom: 15px; 
    color: var(--primary-color); 
}

body.dark-mode .card h3 { 
    color: var(--text-dark); 
}

.card p { 
    color: #666; 
    margin-bottom: 20px; 
    font-size: 0.95rem; 
}

body.dark-mode .card p { 
    color: #aaa; 
}

.card-stats { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 15px; 
}

/* Modules */
.module { 
    background: rgba(255, 255, 255, 0.9); 
    border-radius: 16px; 
    padding: 30px; 
    margin-bottom: 30px; 
    box-shadow: var(--shadow); 
    border-left: 4px solid var(--primary-color); 
    opacity: 0; 
    animation: slideInModule 0.6s forwards 0.2s; 
    backdrop-filter: blur(5px); 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.module:hover { 
    transform: translateY(-5px) scale(1.01); 
    box-shadow: var(--shadow-hover); 
}

body.dark-mode .module { 
    background: rgba(30, 30, 30, 0.9); 
}

.module h2 { 
    color: var(--primary-color); 
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

body.dark-mode .module h2 { 
    color: var(--text-dark); 
}

/* Articles */
.articles-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}

.article-card { 
    background: var(--bg-light); 
    border-radius: 12px; 
    padding: 20px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    opacity: 0; 
    transform: translateY(30px) rotateY(5deg); 
    animation: slideInArticle 0.7s forwards; 
}

.article-card:nth-child(1) { 
    animation-delay: 0.1s; 
}

.article-card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.article-card:nth-child(3) { 
    animation-delay: 0.3s; 
}

body.dark-mode .article-card { 
    background: rgba(255, 255, 255, 0.05); 
}

.article-card:hover { 
    transform: translateY(-8px) rotateY(0deg); 
    box-shadow: var(--shadow-hover); 
}

.article-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 12px; 
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    transition: all 0.3s ease; 
}

.article-card:hover .article-icon { 
    transform: scale(1.15) rotate(180deg); 
}

.article-card h4 { 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 10px; 
    color: var(--primary-color); 
}

body.dark-mode .article-card h4 { 
    color: var(--text-dark); 
}

.article-card p { 
    color: #666; 
    font-size: 0.9rem; 
    line-height: 1.5; 
}

body.dark-mode .article-card p { 
    color: #aaa; 
}

/* Statistiques */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}

.stat-card { 
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); 
    color: white; 
    padding: 25px; 
    border-radius: 12px; 
    text-align: center; 
    opacity: 0; 
    transform: translateY(40px); 
    animation: bounceIn 0.8s forwards; 
    box-shadow: var(--shadow); 
    transition: all 0.3s ease; 
}

.stat-card:nth-child(1) { 
    animation-delay: 0.1s; 
}

.stat-card:nth-child(2) { 
    animation-delay: 0.2s; 
}

.stat-card:nth-child(3) { 
    animation-delay: 0.3s; 
}

.stat-card:nth-child(4) { 
    animation-delay: 0.4s; 
}

.stat-card:hover { 
    transform: translateY(-5px) scale(1.05); 
    box-shadow: var(--shadow-hover); 
}

.stat-number { 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 5px; 
    transition: transform 0.3s ease; 
}

.stat-card:hover .stat-number { 
    transform: scale(1.1); 
}

.stat-label { 
    font-size: 0.9rem; 
    opacity: 0.9; 
}

/* Sélecteur de date */
.date-selector { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.date-selector select { 
    padding: 8px 12px; 
    border-radius: 6px; 
    border: 1px solid #ddd; 
    background-color: var(--card-light); 
    color: var(--text-light); 
    transition: all 0.3s ease; 
}

body.dark-mode .date-selector select { 
    background-color: var(--card-dark); 
    border-color: #444; 
    color: var(--text-dark); 
}

.date-selector select:focus { 
    border-color: var(--primary-color); 
    transform: scale(1.02); 
}

.refresh-btn { 
    background: var(--accent-color); 
    color: white; 
    border: none; 
    padding: 8px 12px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.refresh-btn:hover { 
    background: #e68900; 
    transform: translateY(-2px) rotate(180deg); 
}

/* Galerie d'images */
.images-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px; 
    margin-top: 20px; 
}

.image-item { 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    position: relative; 
}

.image-item:hover { 
    transform: scale(1.05) rotate(2deg); 
}

.image-thumb { 
    width: 100px; 
    height: 100px; 
    object-fit: cover; 
    border-radius: 8px; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.3s ease; 
}

.image-thumb:hover { 
    border-color: var(--accent-color); 
    transform: scale(1.1); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

.image-thumb.selected { 
    border-color: var(--success-color); 
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3); 
    animation: glow 1s infinite alternate; 
}

.image-item p { 
    font-size: 0.8rem; 
    margin-top: 5px; 
    color: var(--text-light); 
}

body.dark-mode .image-item p { 
    color: var(--text-dark); 
}

.gallery-toggle { 
    cursor: pointer; 
    font-weight: bold; 
    color: var(--primary-color); 
    margin-bottom: 10px; 
    display: block; 
    transition: all 0.3s ease; 
}

.gallery-toggle:hover { 
    color: var(--primary-dark); 
    transform: translateX(10px); 
}

/* Carte employé */
.employe-info-card { 
    background: linear-gradient(135deg, #044e25ff 0%, #056c30ff 100%); 
    color: white; 
    padding: 25px; 
    border-radius: 16px; 
    margin-bottom: 25px; 
    box-shadow: var(--shadow-hover); 
}

.employe-info-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.employe-avatar { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.2); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    border: 3px solid white; 
}

.employe-details { 
    flex: 1; 
    margin-left: 20px; 
}

.employe-name { 
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-bottom: 5px; 
}

.employe-matricule { 
    font-size: 1rem; 
    opacity: 0.9; 
}

.employe-stats { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    margin-top: 20px; 
}

.employe-stat-item { 
    text-align: center; 
    padding: 15px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 10px; 
}

.employe-stat-value { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 5px; 
}

.employe-stat-label { 
    font-size: 0.9rem; 
    opacity: 0.9; 
}

/* Animations */
@keyframes slideIn { 
    to { 
        transform: translateY(0); 
        opacity: 1; 
    } 
}

@keyframes slideInLeft { 
    to { 
        transform: translateX(0); 
        opacity: 1; 
    } 
}

@keyframes fadeIn { 
    to { 
        opacity: 1; 
    } 
}

@keyframes popIn { 
    to { 
        transform: scale(1); 
        opacity: 1; 
    } 
}

@keyframes fadeInScale { 
    to { 
        transform: scale(1); 
        opacity: 1; 
    } 
}

@keyframes fadeInScaleLogin { 
    to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    } 
}

@keyframes fadeInPulse { 
    to { 
        opacity: 1; 
        transform: scale(1.02); 
    } 
    50% { 
        transform: scale(1.05); 
    } 
}

@keyframes slideInCard { 
    to { 
        transform: translateY(0) rotateX(0deg); 
        opacity: 1; 
    } 
}

@keyframes slideInModule { 
    to { 
        transform: translateY(0); 
        opacity: 1; 
    } 
}

@keyframes slideInArticle { 
    to { 
        transform: translateY(0) rotateY(0deg); 
        opacity: 1; 
    } 
}

@keyframes bounceIn { 
    0% { 
        transform: scale(0.3); 
        opacity: 0; 
    } 
    50% { 
        transform: scale(1.05); 
    } 
    70% { 
        transform: scale(0.9); 
    } 
    100% { 
        transform: scale(1); 
        opacity: 1; 
    } 
}

@keyframes shakeIn { 
    0%, 100% { 
        transform: translateX(0); 
    } 
    10%, 30%, 50%, 70%, 90% { 
        transform: translateX(-5px); 
    } 
    20%, 40%, 60%, 80% { 
        transform: translateX(5px); 
    } 
}

@keyframes glow { 
    from { 
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.3); 
    } 
    to { 
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.6); 
    } 
}

@keyframes fadeInOverlay { 
    from { 
        opacity: 0; 
    } 
    to { 
        opacity: 1; 
    } 
}

/* Responsive */
@media (max-width: 768px) {
    .container { 
        flex-direction: column; 
    }
    
    .header { 
        padding: 15px 20px; 
    }
    
    .content { 
        padding: 20px; 
    }
    
    .mobile-menu-btn { 
        display: block; 
    }
    
    .main { 
        margin-left: 0; 
    }
    
    .cards { 
        grid-template-columns: 1fr; 
    }
    
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .articles-grid { 
        grid-template-columns: 1fr; 
    }
    
    .images-grid { 
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    }
    
    .login-container { 
        margin: 40px 20px; 
        padding: 30px; 
    }
    
    .employe-stats { 
        grid-template-columns: 1fr; 
    }
    
    .employe-info-header { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .employe-details { 
        margin-left: 0; 
        margin-top: 15px; 
    }
}

@media (max-width: 480px) {
    .btn { 
        width: 100%; 
        justify-content: center; 
    }
    
    .stats-grid { 
        grid-template-columns: 1fr; 
    }
    
    .login-container { 
        margin: 20px 10px; 
        padding: 20px; 
    }
}