/**
 * Employee Portal Styles
 * Custom CSS for Employee Portal System
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;

    
    color: #333;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Utility Classes */
.text-muted {
    color: #6c757d;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

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

/* Login Page - PREMIUM DESIGN */
.login-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    animation: float 25s infinite linear;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    bottom: 10%;
    right: 10%;
    animation-delay: -8s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    padding: 3.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.login-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-icon {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 1.75rem;
}

.logo-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login-header h1 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-form {
    margin-bottom: 3rem;
}

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

.input-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-container:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.input-container.focused {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-container.focused .input-icon {
    color: white;
}

.input-container input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.75rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
}

.input-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.input-container.focused .input-border {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: scale(1.1);
}

.custom-checkbox i {
    color: white;
    font-size: 12px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.forgot-password {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.forgot-password:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 1.3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    letter-spacing: 0.5px;
}

.login-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 ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn.loading .btn-text,
.login-btn.loading .btn-icon {
    opacity: 0;
}

.login-btn.loading .btn-loading {
    opacity: 1;
}

.btn-loading {
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(220, 53, 69, 0.1);
    backdrop-filter: blur(10px);
}

.alert-icon {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.alert-content strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.alert-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Demo Section */
.demo-section {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 2.5rem;
    margin-top: 1rem;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
}

.demo-header i {
    color: #667eea;
}

.credential-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.credential-card:hover::before {
    left: 100%;
}

.credential-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    justify-content: center;
}

.credential-badge.superadmin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.credential-badge.admin {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    color: white;
}

.credential-badge.employee {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    color: white;
}

.credential-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.credential-userid {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.credential-password {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.credential-action {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.credential-card:hover .credential-action {
    color: white;
    transform: scale(1.2);
}

/* Security Badge */
.security-badge {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 1000;
}

.security-badge i {
    color: #10b981;
}

/* Professional Header Design */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 1rem 2rem; */
    max-width: 1400px;
    margin: 0 auto;
    min-height: 70px;
}

/* Logo Section */
.header-left {
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    /* gap: 1rem; */
}

.header-logo-image {
    width: 100px;


}


.logo-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #667eea;
    margin: 0;
    /* letter-spacing: -0.5px; */
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Navigation */
.main-nav {
    /* flex: 1; */
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.nav-link i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.nav-link span {
    font-size: 0.9rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #667eea;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* User Menu */
.header-right {
    flex-shrink: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Notifications */
.notification-container {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.notification-btn i {
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-profile-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.user-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-arrow {
    color: #666;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-profile-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 12px 12px 0 0;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-user-info strong {
    color: #333;
    font-size: 0.95rem;
}

.dropdown-user-info span {
    color: #666;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

.dropdown-item.logout-item {
    color: #dc3545;
}

.dropdown-item.logout-item:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    margin-bottom: 0;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    margin: 0;
    color: #333;
}

.card-content {
    padding: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    border-radius: 10px;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    color: #333;
}

.stat-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge-primary {
    background: #667eea;
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #212529;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-declined {
    background: #f8d7da;
    color: #721c24;
}

.status-present {
    background: #d4edda;
    color: #155724;
}

.status-absent {
    background: #f8d7da;
    color: #721c24;
}

.status-on_leave {
    background: #fff3cd;
    color: #856404;
}

.status-open {
    background: #e2e3e5;
    color: #383d41;
}

.status-in_progress {
    background: #d1ecf1;
    color: #0c5460;
}

.status-done {
    background: #d4edda;
    color: #155724;
}

/* Priority Badges */
.priority-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-low {
    background: #e2e3e5;
    color: #383d41;
}

.priority-normal {
    background: #d1ecf1;
    color: #0c5460;
}

.priority-high {
    background: #f8d7da;
    color: #721c24;
}

/* Role Badges */
.role-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-superadmin {
    background: #dc3545;
    color: white;
}

.role-admin {
    background: #fd7e14;
    color: white;
}

.role-employee {
    background: #28a745;
    color: white;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.activity-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.activity-content small {
    color: #666;
}

/* Holiday List */
.holiday-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.holiday-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.holiday-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    min-width: 60px;
}

.holiday-content p {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.holiday-content small {
    color: #666;
}

/* Notification List */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-item {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
}

.notification-item.unread {
    background: #f8f9ff;
    border-left-color: #667eea;
}

.notification-item p {
    margin: 0 0 0.25rem 0;
}

.notification-item small {
    color: #666;
}

/* Attendance */
.attendance-section {
    margin-bottom: 2rem;
}

.attendance-form {
    text-align: center;
}

.location-status {
    margin-top: 1rem;
}

.loading {
    color: #667eea;
    font-style: italic;
}

.success {
    color: #28a745;
    font-weight: 600;
}

.attendance-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.attendance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.attendance-date {
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.attendance-details {
    flex: 1;
}

.attendance-time {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.attendance-location {
    margin-bottom: 0.25rem;
}

.location-coords {
    font-family: monospace;
    font-size: 0.9rem;
    color: #666;
}

.map-link {
    color: #667eea;
    text-decoration: none;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.map-link:hover {
    text-decoration: underline;
}

.device-info {
    font-size: 0.8rem;
    color: #666;
}

/* Manual Attendance (Admin) */
.assigned-employees-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px 16px;
    align-items: center;
}

.assigned-employees-list .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    line-height: 1.2;
    cursor: pointer;
}

.assigned-employees-list .checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.assigned-employees-list .checkbox small {
    color: #666;
    margin-left: 2px;
}

@media (max-width: 600px) {
    .assigned-employees-list {
        grid-template-columns: 1fr;
    }
}

/* Leaves */
.leaves-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leave-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
}

.leave-item.pending {
    border-left-color: #ffc107;
}

.leave-item.approved {
    border-left-color: #28a745;
}

.leave-item.declined {
    border-left-color: #dc3545;
}

.leave-info {
    flex: 1;
}

.leave-user {
    margin-bottom: 0.5rem;
}

.leave-user strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
}

.user-email {
    font-size: 0.9rem;
    color: #666;
}

.leave-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.leave-type,
.leave-dates,
.leave-duration {
    font-size: 0.9rem;
    color: #666;
}

.leave-reason {
    margin-bottom: 0.5rem;
}

.leave-reason p {
    margin: 0;
    font-style: italic;
    color: #555;
}

.leave-timeline {
    font-size: 0.8rem;
    color: #666;
}

.leave-timeline span {
    display: block;
    margin-bottom: 0.25rem;
}

.leave-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Tasks */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
}

.task-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.task-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.task-title h4 {
    margin: 0;
    color: #333;
}

.task-actions {
    flex-shrink: 0;
}

.status-select {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
}

.task-content {
    margin-bottom: 1rem;
}

.task-description {
    margin-bottom: 1rem;
    color: #555;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.task-assignment span {
    display: block;
    margin-bottom: 0.25rem;
}

.task-dates span {
    display: block;
    margin-bottom: 0.25rem;
}

.due-date.overdue {
    color: #dc3545;
    font-weight: 600;
}

.task-filters {
    display: flex;
    gap: 1rem;
}

.task-filters select {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Holidays */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.calendar-month {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.calendar-month h4 {
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.month-holidays {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.holiday-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.holiday-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    min-width: 40px;
}

.holiday-info {
    flex: 1;
}

.holiday-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.holiday-description {
    font-size: 0.9rem;
    color: #666;
}

.holiday-actions {
    flex-shrink: 0;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.date-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
}

.date-month {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.date-year {
    font-size: 0.7rem;
    color: #999;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #f8f9fa;
}

.modal-body {
    padding: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Attendance specific styles */
.attendance-user {
    margin-bottom: 0.5rem;
}

.attendance-user strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
}

.attendance-user small {
    color: #666;
}

.edit-location-btn {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Profile Page Styles */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-card, .password-card, .stats-card, .activity-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover, .password-card:hover, .stats-card:hover, .activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay i {
    color: white;
    font-size: 1.2rem;
}

.profile-basic-info h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.profile-role {
    margin: 0 0 0.5rem 0;
}

.profile-userid {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.profile-form, .password-form {
    margin-top: 1rem;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.8rem;
}

.form-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle-btn:hover {
    color: #667eea;
}

/* Profile Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.stat-item .stat-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-item .stat-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: #333;
}

.stat-item .stat-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.activity-item .activity-icon {
    width: 35px;
    height: 35px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-item .activity-content p {
    margin: 0 0 0.25rem 0;
    font-weight: 500;
    color: #333;
}

.activity-item .activity-content small {
    color: #666;
    font-size: 0.8rem;
}

/* Profile Grid Responsive */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-avatar {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-item .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        padding: 1rem 1.5rem;
    }
    
    .nav-list {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 1.1rem;
    }
}

/* Mobile Navigation (fix) */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(102, 126, 234, 0.1);
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .nav-toggle:hover {
        background: rgba(102, 126, 234, 0.2);
    }

    /* Hide nav by default */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease;
        z-index: 9999;
    }

    /* Show when open */
    .main-nav.is-open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.875rem 1rem;
        border-radius: 8px;
        justify-content: flex-start;
        transition: background 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(102, 126, 234, 0.05);
    }

    .nav-link span {
        display: inline-block;
        font-size: 0.95rem;
    }

    .nav-link i {
        font-size: 1.1rem;
        width: 20px;
        margin-right: 0.5rem;
    }

    /* Smooth dropdown animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


@media (max-width: 480px) {
    .header-content {
        padding: 0.75rem;
    }
    
    .logo-container {
        gap: 0.5rem;
        padding:20px;
    }
    
    .header-logo-image {
        width: 35px;
        /* height: 35px; */
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .nav-list {
        padding: 0.75rem;
    }
    
    .nav-link {
        padding: 0.75rem;
    }
    
    .user-profile-btn {
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
    
    .user-name {
        font-size: 0.8rem;
    }
    
    .user-role {
        font-size: 0.65rem;
    }
    
    .user-dropdown-menu {
        right: -0.5rem;
        min-width: 200px;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-info {
    border-left: 4px solid #667eea;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #28a745;
}

.notification-error .notification-content i {
    color: #dc3545;
}

.notification-info .notification-content i {
    color: #667eea;
}

.notification-content span {
    color: #333;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .task-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .task-meta {
        flex-direction: column;
    }
    
    .leave-item {
        flex-direction: column;
    }
    
    .leave-actions {
        align-self: flex-start;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }

@media (max-width: 768px) {
    .login-container {
        max-width: 100%;
        padding: 1rem 0.5rem;
        min-height: 100vh;
    }
    
    .login-card {
        padding: 3rem 2.5rem;
        border-radius: 24px;
        margin: 1rem;
    }
    
    .login-header {
        margin-bottom: 3rem;
    }
    
    .login-header h1 {
        font-size: 2.2rem;
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .logo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }
    
    .credential-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        text-align: left;
        padding: 1.5rem;
    }
    
    .credential-badge {
        min-width: auto;
        align-self: flex-start;
    }
    
    .security-badge {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.5rem 0.25rem;
    }
    
    .login-card {
        padding: 2.5rem 2rem;
        border-radius: 20px;
        margin: 0.5rem;
    }
    
    .login-header {
        margin-bottom: 2.5rem;
    }
    
    .login-header h1 {
        font-size: 1.9rem;
    }
    
    .logo-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .logo-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .form-group {
        margin-bottom: 2rem;
    }
    
    .input-container input {
        padding: 1.1rem 1.1rem 1.1rem 3.2rem;
        font-size: 1rem;
    }
    
    .input-icon {
        left: 1.1rem;
        font-size: 1.1rem;
    }
    
    .password-toggle {
        right: 1.1rem;
    }
    
    .login-btn {
        padding: 1.1rem 1.75rem;
        font-size: 1.05rem;
    }
    
    .form-options {
        margin-bottom: 2.25rem;
    }
    
    .credential-card {
        padding: 1.25rem;
    }
    
    .credential-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }
    
    .security-badge {
        display: none;
    }
    
    .shape {
        display: none;
    }
}

/* Desktop Styles - Hide Mobile Elements */
@media (min-width: 769px) {
    .mobile-user-section,
    .mobile-actions,
    .mobile-menu-header {
        display: none !important;
    }
  
}
