/**
 * Custom CSS styles for HR Management Theme
 * These styles override and extend the Tailwind CSS framework
 */

/* General Layout and Typography */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--foreground);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
    color: #9fe870;
}

/* Header Styling */
.site-header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Footer Styling */
.site-footer {
  color: var(--muted-foreground);
}

/* Australian Specific Styling for custom fields */
.australian-field {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Dashboard Cards */
.dashboard-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

/* Employee Directory Styling */
.employee-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

.employee-card-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
}

/* Leave Request Status Colors */
.status-approved {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-rejected {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Australian Leave Types styling */
.leave-type-annual {
  border-left: 3px solid #10b981;
}

.leave-type-personal {
  border-left: 3px solid #6366f1;
}

.leave-type-compassionate {
  border-left: 3px solid #8b5cf6;
}

.leave-type-long-service {
  border-left: 3px solid #f59e0b;
}

/* Tenant Management Styling */
.tenant-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tenant-header {
  background-color: var(--primary);
  color: white;
  padding: 1.5rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .employee-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .tenant-header {
    padding: 1rem;
  }
}
 /* Header styling */
        .site-header {
            background-color: #ffffff;
            padding: 15px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        .site-branding {
            max-width: 30%;
            display: flex;
            align-items: center;
        }
        .site-logo {
            max-height: 90px;
            width: auto;
            max-width: 100%;
        }
        .site-title {
            margin: 0 0 0 10px;
            font-size: 1.5rem;
            font-weight: bold;
            color: #0F472A;
        }
        .main-navigation {
            display: flex;
            align-items: center;
            width: 70%;
            justify-content: flex-end;
        }
        .menu-container {
            margin-right: 20px;
        }
        .menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .menu li {
            position: relative;
        }
        .menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 8px;
            display: block;
            transition: color 0.3s;
        }
        .menu a:hover {
            color: #0F472A;
        }
        .auth-buttons {
            display: flex;
            gap: 10px;
        }
        .login-button, .register-button {
            padding: 8px 16px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        .login-button {
            background-color: transparent;
            color: #0F472A;
            border: 1px solid #0F472A;
        }
        .register-button {
            background-color: #0F472A;
            color: white;
            border: 1px solid #0F472A;
        }
        .login-button:hover {
            background-color: rgba(15, 71, 42, 0.1);
        }
        .register-button:hover {
            background-color: #0c3621;
        }
        .user-menu {
            display: flex;
            align-items: center;
        }
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #0F472A;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-weight: bold;
            padding: 20px;
        }
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #0F472A;
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .site-branding {
                max-width: 50%;
            }
            .main-navigation {
                width: 50%;
            }
            .menu-container {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                box-shadow: 0 4px 6px rgba(0,0,0,0.1);
                z-index: 100;
            }
            .menu-container.active {
                display: block;
            }
            .menu {
                flex-direction: column;
                padding: 15px;
            }
            .menu li {
                margin: 10px 0;
            }
            .mobile-menu-toggle {
                display: block;
            }
            .header-container {
                position: relative;
            }
            /* Homepage-specific responsive fixes */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Homepage article cards */
    .grid article {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile article content */
    .prose {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Mobile post titles */
    .text-xl {
        font-size: 1.125rem;
    }
    
    /* Mobile headers */
    .text-3xl {
        font-size: 1.875rem;
    }
    
    /* Mobile navigation buttons */
    .inline-flex {
        padding: 0.2rem 0.5rem;
        font-size: 0.875rem;
         line-height: 1;
    }
    .p-2 {
    padding: .2rem;
}
.gap-4 {
    gap: .8rem;
}
        }

/* Modern Header Menu Styling */
#site-navigation {
    background-color: #fff;
    padding: 0;
}

#header-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 70px;
}

#header-menu > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#header-menu > li > a {
    color: #0F472A;
    font-size: 15px;
    font-weight: 500;
    padding: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
}

#header-menu > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

#header-menu > li:hover > a:after,
#header-menu > li.current-menu-item > a:after {
    width: 100%;
    background: #0F472A;
    color: #fff;
}

/* Container for the entire header */
.site-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Site branding */
.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 24px;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.custom-logo-link {
    display: block;
    max-width: 200px;
    margin-right: 15px;
}

.custom-logo {
    max-height: 90px;
    width: auto;
}

/* Mobile menu toggle button */
#mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Mobile menu */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #0F472A;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 60px 0 20px;
}

#mobile-menu.hidden {
    transform: translateX(100%);
}

#mobile-menu:not(.hidden) {
    transform: translateX(0);
}

#mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

#mobile-menu:not(.hidden) + #mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    #site-navigation .menu-container {
        display: none;
    }
    
   /* Better mobile spacing */
    .documents-container,
    .profile-container {
        padding: 15px;
    }
    
    /* Mobile-friendly cards */
    .document-card {
        padding: 15px;
    }
    
    /* Responsive button groups */
    .document-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .site-header-container {
        padding: 15px 20px;
    }
}
/* Homepage Styles */

/* Global Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
    color: #666;
}

/* Buttons */
 
        .action-buttons {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }
        
        .btn {
             display: inline-block;
    padding: 12px 24px;
    transition: all 0.3s ease;
    cursor: pointer;
 align-items: center;
            gap: 8px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            border: none;

        }
.btn-primary {
    background-color: #613a12 !important;
    color: #fff;
}
        .btn-primary:hover {
            background: #0a3520;
            color: white;
        }
.btn-outline {
    background-color: transparent;
    color: #0F472A;
    border: 2px solid #0F472A;
}

.btn-outline:hover {
    background-color: rgba(15, 71, 42, 0.1);
}

.btn-secondary {
    background-color: #2c7b4e;
    color: #fff;
    border: 2px solid #2c7b4e;
}

.btn-secondary:hover {
    background-color: #236440;
    border-color: #236440;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background-color: #0F472A;
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #9fe870;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons .btn-outline {
    color: #fff;
    border-color: #fff;
}

.hero-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
    flex: 1;
    max-width: 550px;
    padding-left: 40px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #0F472A;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Compliance Section */
.compliance-section {
    padding: 100px 0;
    background-color: #fff;
}

.compliance-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compliance-content {
    flex: 1;
    max-width: 550px;
}

.compliance-content .section-title {
    text-align: left;
}

.compliance-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.compliance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.compliance-list li {
    margin-bottom: 15px;
    font-size: 17px;
    display: flex;
    align-items: center;
    color: #444;
}

.compliance-list .dashicons {
    color: #0F472A;
    margin-right: 10px;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.compliance-image {
    flex: 1;
    max-width: 550px;
    padding-left: 40px;
}

.compliance-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.testimonials-slider {
    margin-top: 50px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: #0F472A;
    border-radius: 10px;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: #fff;
    border: 2px solid #0F472A;
    position: relative;
    z-index: 1;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    background-color: #0F472A;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background-color: #0F472A;
}

.pricing-header h3 {
    font-size: 24px;
    margin: 0 0 15px;
    color: rgb(159, 232, 112);
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.currency {
    font-size: 24px;
    vertical-align: top;
    position: relative;
    top: 5px;
}

.period {
    font-size: 16px;
    font-weight: 400;
}

.pricing-header p {
    font-size: 16px;
    opacity: 0.9;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
}

.pricing-features .dashicons {
    margin-right: 10px;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.pricing-features .dashicons-yes {
    color: #0F472A;
}

.pricing-features .dashicons-no {
    color: #dc3545;
}

.pricing-footer {
    padding: 0 30px 30px;
}

/* CTA Section */
.cta-section {
    background-color: #0F472A;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: rgb(159, 232, 112);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-outline {
    color: #fff;
    border-color: #fff;
}

.cta-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section .container,
    .compliance-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .compliance-content,
    .hero-image,
    .compliance-image {
        max-width: 100%;
        padding-left: 0;
    }
    
    .hero-image,
    .compliance-image {
        margin-top: 40px;
    }
    
    .compliance-content .section-title {
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-section,
    .features-section,
    .compliance-section,
    .testimonials-section,
    .pricing-section {
        padding: 70px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* Additional Testimonial Styles */
.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-placeholder-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimonial-placeholder-image .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #999;
}

/* Make sure we don't have empty paragraphs in testimonials */
.testimonial-content p:empty {
    display: none;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

/* Leave Management Styles */
.leave-management-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.leave-header h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 32px;
}

.leave-management-wrapper {
    display: grid;
    grid-gap: 30px;
}

/* Leave Balances */
.leave-balances {
    margin-bottom: 40px;
}

.leave-balances h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.leave-balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.leave-balance-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
}

.leave-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0F472A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.leave-icon .dashicons {
    color: #fff;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.leave-details h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #444;
}

.leave-days {
    font-size: 20px;
    font-weight: 700;
    color: #0F472A;
    margin: 0;
}

/* Leave Request Form */
.leave-request-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}

.leave-request-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-row .required {
    color: #e74c3c;
}

.form-row input[type="date"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-row-half {
    width: 48%;
    display: inline-block;
}

.form-row-half:nth-child(odd) {
    margin-right: 3%;
}

.field-help {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

.button {
    background-color: #0F472A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0a3520;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

/* Leave Requests History */
.leave-requests-history {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.leave-requests-history h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.admin-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.filter-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.filter-link:hover,
.filter-link.active {
    background-color: #0F472A;
    color: #fff;
}

.leave-requests-table {
    overflow-x: auto;
}

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

.leave-requests-table th,
.leave-requests-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.leave-requests-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

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

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

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

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

.view-link,
.admin-link {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.view-link {
    background-color: #e9ecef;
    color: #333;
}

.admin-link {
    background-color: #0F472A;
    color: #fff;
    margin-top: 5px;
}

.view-link:hover {
    background-color: #dee2e6;
}

.admin-link:hover {
    background-color: #0a3520;
}

.no-requests {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 767px) {
    .leave-balance-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row-half {
        width: 100%;
        margin-right: 0;
    }
    
    .leave-requests-table {
        font-size: 14px;
    }
    
    .leave-requests-table th,
    .leave-requests-table td {
        padding: 10px;
    }
}
/* Login Page Styles */
.login-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.login-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-height: 70px;
    width: auto;
}

.login-logo h1 {
    font-size: 24px;
    margin: 0;
    color: #0F472A;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: #333;
}

.login-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.login-form input:focus {
    border-color: #0F472A;
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 71, 42, 0.2);
}

.login-form .remember-me {
    display: flex;
    align-items: center;
}

.login-form .remember-me input {
    margin-right: 8px;
}

.login-button {
    background-color: #0F472A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #0a3520;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-footer a {
    color: #0F472A;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-footer .separator {
    margin: 0 8px;
    color: #999;
}

.login-footer-info {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 13px;
}
/* Dashboard Styles */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    margin-bottom: 40px;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.welcome-message {
    font-size: 18px;
    color: #666;
}

.dashboard-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

.dashboard-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-card.admin-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #0F472A;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-button {
    display: inline-block;
    background-color: #0F472A;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.card-button:hover {
    background-color: #0a3520;
}

.dashboard-activity {
    margin-top: 40px;
    width: 100%;
}

.dashboard-activity h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.activity-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
}

.activity-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-date {
    color: #777;
    font-size: 14px;
    width: 100px;
}

.activity-title {
    flex: 1;
    padding: 0 15px;
}

.activity-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

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

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

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

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

.no-activity {
    color: #777;
    font-style: italic;
}

.view-all-link {
    display: inline-block;
    margin-top: 15px;
    color: #0F472A;
    text-decoration: none;
    font-size: 14px;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .dashboard-container {
        padding: 20px 15px;
    }
    
    .dashboard-header {
        margin-bottom: 30px;
    }
    
    .dashboard-header h1 {
        font-size: 28px;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-date,
    .activity-title,
    .activity-status {
        width: 100%;
        padding: 5px 0;
    }
}

/* Leave Calendar Styles */
.leave-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.calendar-header {
    margin-bottom: 30px;
}

.calendar-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.calendar-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-navigation {
    display: flex;
    align-items: center;
}

.calendar-title {
    font-size: 22px;
    margin: 0 15px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.nav-arrow:hover {
    background-color: #e0e0e0;
}

.view-toggle {
    display: flex;
}

.view-button {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.view-button:first-child {
    border-radius: 4px 0 0 4px;
}

.view-button:last-child {
    border-radius: 0 4px 4px 0;
}

.view-button.active {
    background-color: #0F472A;
    color: #fff;
    border-color: #0F472A;
}

.calendar-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.calendar {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.weekday {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #555;
}

.weekday.weekend {
    color: #dc3545;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(120px, auto);
}

.calendar-day {
    position: relative;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    min-height: 120px;
    padding: 10px;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.weekend {
    background-color: #f8f9fa;
}

.calendar-day.today {
    background-color: #fff8e6;
}

.calendar-day.empty {
    background-color: #f8f9fa;
}

.day-number {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.today .day-number {
    background-color: #0F472A;
    color: #fff;
    border-radius: 50%;
}

.day-events {
    padding-top: 30px;
}

.leave-event {
    margin-bottom: 5px;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
    border-left: 3px solid #999;
    font-size: 12px;
}

.leave-event.status-approved {
    background-color: #d4edda;
    border-left-color: #28a745;
}

.leave-event.status-pending {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.leave-event.status-rejected {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

.leave-event.my-leave {
    border-width: 3px;
}

.leave-employee {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leave-type {
    display: block;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-legend {
    margin-bottom: 30px;
}

.calendar-legend h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
}

.legend-color.status-approved {
    background-color: #d4edda;
    border-left: 3px solid #28a745;
}

.legend-color.status-pending {
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
}

.legend-color.status-rejected {
    background-color: #f8d7da;
    border-left: 3px solid #dc3545;
}

.legend-color.my-leave {
    background-color: #f0f0f0;
    border: 2px solid #0F472A;
}

.calendar-actions {
    display: flex;
    gap: 15px;
}

.button {
    display: inline-block;
    background-color: #0F472A;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0a3520;
}

.button-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.button-secondary:hover {
    background-color: #e2e6ea;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .calendar-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-toggle {
        margin-top: 10px;
    }
    
    .calendar-weekdays {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .weekday {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .calendar-days {
        grid-template-columns: repeat(7, 1fr);
        grid-auto-rows: minmax(80px, auto);
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 5px;
    }
    
    .leave-event {
        padding: 3px 5px;
        font-size: 10px;
    }
}
/* Homepage Animations */

/* Fade-in animation for page elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtle pulse animation for buttons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Slide-in animation from left */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slide-in animation from right */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Animate hero section elements */
.hero-content h1 {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-subtitle {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Animate features section */
.section-title {
    animation: fadeIn 0.8s ease-out forwards;
}

.section-subtitle {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.feature-card {
    opacity: 0;
}

/* Apply animations to feature cards staggered */
.feature-card:nth-child(1) { animation: fadeIn 0.5s ease-out 0.3s forwards; }
.feature-card:nth-child(2) { animation: fadeIn 0.5s ease-out 0.4s forwards; }
.feature-card:nth-child(3) { animation: fadeIn 0.5s ease-out 0.5s forwards; }
.feature-card:nth-child(4) { animation: fadeIn 0.5s ease-out 0.6s forwards; }
.feature-card:nth-child(5) { animation: fadeIn 0.5s ease-out 0.7s forwards; }
.feature-card:nth-child(6) { animation: fadeIn 0.5s ease-out 0.8s forwards; }

/* Animate compliance section */
.compliance-content {
    animation: slideInLeft 0.8s ease-out forwards;
}

.compliance-image {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Animate testimonials */
.testimonials-slider .testimonial {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

/* Animate pricing cards */
.pricing-card {
    opacity: 0;
}

.pricing-card:nth-child(1) { animation: fadeIn 0.6s ease-out 0.2s forwards; }
.pricing-card:nth-child(2) { animation: fadeIn 0.6s ease-out 0.4s forwards; }
.pricing-card:nth-child(3) { animation: fadeIn 0.6s ease-out 0.6s forwards; }

/* Button hover animations */
.btn-primary:hover, .btn-secondary:hover {
    animation: pulse 0.8s infinite;
}

/* Only apply animations when in viewport using Intersection Observer */
.animate-when-visible {
    opacity: 0;
}

.animate-when-visible.is-visible {
    animation: fadeIn 0.8s ease-out forwards;
}

/* CTA section animation */
.cta-section h2 {
    animation: fadeIn 0.8s ease-out forwards;
}

.cta-section p {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.cta-buttons {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Document Manager Styles */
.documents-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.documents-header h1 {
    font-size: 32px;
    margin: 0;
    color: #333;
}

.document-actions {
    display: flex;
    gap: 10px;
}

.document-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

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

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

.documents-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.documents-search {
    flex: 1;
    min-width: 300px;
}

.documents-search form {
    display: flex;
    position: relative;
}

.documents-search input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.search-button .dashicons {
    color: #777;
}

.documents-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-label {
    font-weight: 500;
    color: #555;
}

.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-link:hover {
    background-color: #e9e9e9;
}

.filter-link.active {
    background-color: #0F472A;
    border-color: #0F472A;
    color: #fff;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.document-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.document-expired {
    border-left: 4px solid #dc3545;
}

.document-icon {
    font-size: 30px;
    margin-right: 15px;
    color: #0F472A;
}

.document-icon .dashicons {
    width: 30px;
    height: 30px;
    font-size: 30px;
}

.document-details {
    flex: 1;
}

.document-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.document-category, .document-version, .document-date {
    display: flex;
    align-items: center;
}

.document-meta .dashicons {
    margin-right: 5px;
    color: #0F472A;
}

.document-expired-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.document-expired-notice .dashicons {
    color: #dc3545;
    margin-right: 5px;
}

.document-actions {
    display: flex;
    gap: 10px;
}

.document-action {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.document-action .dashicons {
    margin-right: 5px;
}

.view-document {
    background-color: #e3f2fd;
    color: #0277bd;
}

.view-document:hover {
    background-color: #bbdefb;
}

.download-document {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.download-document:hover {
    background-color: #c8e6c9;
}

.edit-document {
    background-color: #fff3e0;
    color: #ef6c00;
}

.edit-document:hover {
    background-color: #ffe0b2;
}

.no-documents {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.no-documents-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ccc;
}

.no-documents-icon .dashicons {
    width: 60px;
    height: 60px;
    font-size: 60px;
}

.no-documents h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #555;
}

/* Document Upload Modal */
.document-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
    padding: 50px 20px;
}

.document-modal-content {
    position: relative;
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.document-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.document-modal-close:hover {
    color: #555;
}

.document-modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.document-upload-form .form-group {
    margin-bottom: 20px;
}

.document-upload-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.document-upload-form .required {
    color: #dc3545;
}

.document-upload-form input[type="text"],
.document-upload-form select,
.document-upload-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.document-upload-form textarea {
    resize: vertical;
}

.file-upload-group {
    margin-bottom: 30px;
}

.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #0F472A;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-upload-button:hover {
    background-color: #0a3520;
}

.file-upload-button .dashicons {
    margin-right: 5px;
}

.selected-file {
    margin-left: 10px;
    font-size: 14px;
    color: #555;
}

.help-text {
    margin-top: 5px;
    font-size: 13px;
    color: #777;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Make it responsive */
@media (max-width: 767px) {
    .documents-header,
    .documents-tools {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .documents-search,
    .documents-filter {
        width: 100%;
    }
    
    .document-card {
        flex-direction: column;
    }
    
    .document-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .document-actions {
        flex-wrap: wrap;
    }
    
    .document-action {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}
/* Profile Page Styles */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.profile-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
}
.profile-avatar {
    display: flex;
    align-items: center;
}
.profile-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #0F472A;
    padding: 2px;
}
.profile-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}
.profile-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.profile-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.profile-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}
.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px 8px 0 0;
    position: relative;
}
.tab-button:hover {
    background-color: rgba(15, 71, 42, 0.1);
    color: #0F472A;
}
.tab-button.active {
    background-color: #fff;
    color: #0F472A;
    border-bottom: 2px solid #0F472A;
}
.tab-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.tab-content {
    display: none;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tab-content.active {
    display: block;
}
.profile-card {
    padding: 30px;
}
.profile-card-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}
.profile-card-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 8px 0;
}
.profile-card-description {
    color: #666;
    margin: 0;
    font-size: 14px;
}
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F472A;
    box-shadow: 0 0 0 2px rgba(15, 71, 42, 0.2);
}
.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.form-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.form-section h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
}
.form-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.button-primary {
    background-color: #0F472A;
    color: #fff;
}
.button-primary:hover {
    background-color: #0a3520;
}
.button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
/* Employment Information Styles */
.employment-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.info-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.info-group label {
    font-weight: 500;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.info-note {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}
.info-note .dashicons {
    color: #0F472A;
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}
.info-note p {
    margin: 0;
    color: #666;
    font-size: 14px;
}
/* Security Section Styles */
.security-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.security-info h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
}
.security-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.security-info li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}
.security-info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0F472A;
    font-weight: bold;
}
.security-info li:last-child {
    border-bottom: none;
}
/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-container {
        padding: 20px 15px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .profile-header h1 {
        font-size: 28px;
    }
    
    .profile-tabs {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .tab-button {
        border-radius: 0;
        justify-content: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .tab-button:last-child {
        border-bottom: none;
    }
    
    .tab-button.active {
        border-bottom: 1px solid #e9ecef;
        border-left: 3px solid #0F472A;
    }
    
    .tab-content {
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .form-row,
    .info-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .back-to-dashboard {
        font-size: 13px;
        padding: 6px 10px;
    }
}
.card-button:hover {
    color: #9fe870;
}

/* Employee Directory Styles */
.employee-directory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.employee-directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.employee-directory-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.employee-directory-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
}
.employee-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.employee-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.button-primary {
    background-color: #0F472A;
    color: #fff;
}
.button-primary:hover {
    background-color: #0a3520;
}
.button-secondary {
    background-color: #6c757d;
    color: #fff;
}
.button-secondary:hover {
    background-color: #5a6268;
}
.employee-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}
.employee-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.employee-filters {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.employee-search {
    margin-bottom: 20px;
}
.employee-search form {
    display: flex;
    align-items: center;
    max-width: 400px;
}
.employee-search input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    flex: 1;
}
.employee-search .search-button {
    background-color: #0F472A;
    color: #fff;
    border: 1px solid #0F472A;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.employee-search .search-button:hover {
    background-color: #0a3520;
}
.employee-filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.filter-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
.filter-group select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}
.employee-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #0F472A;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.employee-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.employee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.employee-card.status-inactive {
    opacity: 0.7;
    border-color: #dc3545;
}
.employee-avatar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}
.employee-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0F472A;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.employee-status-badge {
    position: absolute;
    top: 45px;
    left: 45px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-status-badge.status-inactive {
    background-color: #dc3545;
    color: #fff;
}
.employee-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.employee-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.employee-name a:hover {
    color: #0F472A;
}

.employee-details p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}
.employee-details .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #0F472A;
}
.employee-details a {
    color: #0F472A;
    text-decoration: none;
}
.employee-details a:hover {
    text-decoration: underline;
}
.employee-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.button-small {
    padding: 4px 8px;
    font-size: 12px;
}
.button-warning {
    background-color: #ffc107;
    color: #000;
}
.button-warning:hover {
    background-color: #e0a800;
}
.button-success {
    background-color: #28a745;
    color: #fff;
}
.button-success:hover {
    background-color: #1e7e34;
}
.no-employees {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.no-employees-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
    margin-bottom: 20px;
}
.no-employees h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}
.no-employees p {
    font-size: 16px;
    margin-bottom: 20px;
}
/* Responsive Design for Employee Directory */
@media (max-width: 768px) {
    .employee-directory-container {
        padding: 20px 15px;
    }
    
    .employee-directory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .employee-directory-header h1 {
        font-size: 28px;
    }
    
    .employee-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .employee-actions .button {
        justify-content: center;
    }
    
    .employee-filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group select {
        min-width: auto;
        width: 100%;
    }
    
    .employee-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .employee-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .employee-card {
        padding: 15px;
    }
    
    .employee-actions {
        flex-direction: column;
    }
}

        #login h1 a, .login h1 a {
            background-image: url(<?php echo get_template_directory_uri(); ?>/assets/images/logo.png);
            height: 65px;
            width: 320px;
            background-size: contain;
            background-repeat: no-repeat;
            padding-bottom: 30px;
        }
        body.login {
            background-color: #F9FAFB;
        }
        .wp-core-ui .button-primary {
            background: #0F472A;
            border-color: #0F472A;
        }
        .wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
            background: #2D7551;
            border-color: #2D7551;
        }
        .login form {
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
   
:root {
  --primary: #0F472A; /* Deep forest green */
  --secondary: #2D7551;
  --accent: #F59E0B;
  --background: #F9FAFB;
  --foreground: #111827;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}
/* Header & Navigation */
.site-header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.admin-bar .site-header {
  top: 32px;
}
.site-logo {
  max-height: 50px;
  width: auto;
}
.sidebar {
  background-color: white;
  border-right: 1px solid #e5e7eb;
}
.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}
.sidebar-link:hover {
  background-color: var(--muted);
}
.sidebar-link.active {
  background-color: rgba(15, 71, 42, 0.1);
  color: var(--primary);
}
.sidebar-link svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: var(--primary);
}

        /* Header styling */
        .site-header {
            background-color: #ffffff;
            padding: 15px 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        .site-branding {
            display: flex;
            align-items: center;
        }
        .site-logo {
            max-height: 60px;
            width: auto;
        }
        .site-title {
            margin: 0 0 0 10px;
            font-size: 1.5rem;
            font-weight: bold;
            color: #0F472A;
        }
        .main-navigation {
            display: flex;
            align-items: center;
        }
        .menu-container {
            margin-right: 20px;
        }
        .menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .menu li {
            position: relative;
            margin: 0 10px;
        }
        .menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 8px;
            display: block;
            transition: color 0.3s;
        }
        .menu a:hover {
            color: #0F472A;
        }
        .auth-buttons {
            display: flex;
            gap: 10px;
        }
        .login-button, .register-button {
            padding: 8px 16px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        .login-button {
            background-color: transparent;
            color: #0F472A;
            border: 1px solid #0F472A;
        }
        .register-button {
            background-color: #0F472A;
            color: white;
            border: 1px solid #0F472A;
        }
        .login-button:hover {
            background-color: rgba(15, 71, 42, 0.1);
        }
        .register-button:hover {
            background-color: #0c3621;
        }
        .user-menu {
            display: flex;
            align-items: center;
        }
        .user-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: #0F472A;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-weight: bold;
        }
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #0F472A;
        }
        
        /* Responsive styles */
        @media (max-width: 768px) {
            .menu-container {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                box-shadow: 0 4px 6px rgba(0,0,0,0.1);
                z-index: 100;
            }
            .menu-container.active {
                display: block;
            }
            .menu {
                flex-direction: column;
                padding: 15px;
            }
            .menu li {
                margin: 10px 0;
            }
            .mobile-menu-toggle {
                display: block;
            }
            .header-container {
                position: relative;
            }
        }
  
    /* Additional Testimonial Styles */
.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}
.testimonial-placeholder-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.testimonial-placeholder-image .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #999;
}
/* Make sure we don't have empty paragraphs in testimonials */
.testimonial-content p:empty {
    display: none;
}
.testimonial-content p:last-child {
    margin-bottom: 0;
}
/* Leave Management Styles */
.leave-management-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.leave-header h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 32px;
}
.leave-management-wrapper {
    display: grid;
    grid-gap: 30px;
}
/* Leave Balances */
.leave-balances {
    margin-bottom: 40px;
}
.leave-balances h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.leave-balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.leave-balance-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
}
.leave-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0F472A;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.leave-icon .dashicons {
    color: #fff;
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.leave-details h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #444;
}
.leave-days {
    font-size: 20px;
    font-weight: 700;
    color: #0F472A;
    margin: 0;
}
/* Leave Request Form */
.leave-request-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}
.leave-request-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.form-row {
    margin-bottom: 20px;
}
.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}
.form-row .required {
    color: #e74c3c;
}
.form-row input[type="date"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.form-row-half {
    width: 48%;
    display: inline-block;
}
.form-row-half:nth-child(odd) {
    margin-right: 3%;
}
.field-help {
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}
.button {
    background-color: #0F472A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #0a3520;
}
.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.form-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.form-errors ul {
    margin: 0;
    padding-left: 20px;
}
/* Leave Requests History */
.leave-requests-history {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}
.leave-requests-history h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.admin-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}
.filter-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.filter-link:hover,
.filter-link.active {
    background-color: #0F472A;
    color: #fff;
}
.leave-requests-table {
    overflow-x: auto;
}
.leave-requests-table table {
    width: 100%;
    border-collapse: collapse;
}
.leave-requests-table th,
.leave-requests-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.leave-requests-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.status-approved {
    background-color: #d4edda;
    color: #155724;
}
.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}
.status-cancelled {
    background-color: #e2e3e5;
    color: #383d41;
}
.view-link,
.admin-link {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}
.view-link {
    background-color: #e9ecef;
    color: #333;
}
.admin-link {
    background-color: #0F472A;
    color: #fff;
    margin-top: 5px;
}
.view-link:hover {
    background-color: #dee2e6;
}
.admin-link:hover {
    background-color: #0a3520;
}
.no-requests {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    color: #6c757d;
}
/* Responsive */
@media (max-width: 767px) {
    .leave-balance-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row-half {
        width: 100%;
        margin-right: 0;
    }
    
    .leave-requests-table {
        font-size: 14px;
    }
    
    .leave-requests-table th,
    .leave-requests-table td {
        padding: 10px;
    }
}

/* Employee Directory Styles */
.employee-directory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.employee-directory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.employee-directory-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.employee-directory-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
}
.employee-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.employee-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.button-primary {
    background-color: #0F472A;
    color: #fff;
}
.button-primary:hover {
    background-color: #0a3520;
}
.button-secondary {
    background-color: #6c757d;
    color: #fff;
}
.button-secondary:hover {
    background-color: #5a6268;
}
.employee-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 500;
}
.employee-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.employee-filters {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.employee-search {
    margin-bottom: 20px;
}
.employee-search form {
    display: flex;
    align-items: center;
    max-width: 400px;
}
.employee-search input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    flex: 1;
}
.employee-search .search-button {
    background-color: #0F472A;
    color: #fff;
    border: 1px solid #0F472A;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.employee-search .search-button:hover {
    background-color: #0a3520;
}
.employee-filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.filter-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}
.filter-group select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}
.employee-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #0F472A;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}
.employee-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.employee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.employee-card.status-inactive {
    opacity: 0.7;
    border-color: #dc3545;
}
.employee-avatar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.employee-status-badge {
    position: absolute;
    top: 45px;
    left: 45px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-status-badge.status-inactive {
    background-color: #dc3545;
    color: #fff;
}
.employee-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.employee-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.employee-name a:hover {
    color: #0F472A;
}
.employee-details p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}
.employee-details .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #0F472A;
}
.employee-details a {
    color: #0F472A;
    text-decoration: none;
}
.employee-details a:hover {
    text-decoration: underline;
}
.employee-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.button-small {
    padding: 4px 8px;
    font-size: 12px;
}
.button-warning {
    background-color: #ffc107;
    color: #000;
}
.button-warning:hover {
    background-color: #e0a800;
}
.button-success {
    background-color: #28a745;
    color: #fff;
}
.button-success:hover {
    background-color: #1e7e34;
}
.no-employees {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.no-employees-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
    margin-bottom: 20px;
}
.no-employees h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}
.no-employees p {
    font-size: 16px;
    margin-bottom: 20px;
}
/* Responsive Design for Employee Directory */
@media (max-width: 768px) {
    .employee-directory-container {
        padding: 20px 15px;
    }
    
    .employee-directory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .employee-directory-header h1 {
        font-size: 28px;
    }
    
    .employee-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .employee-actions .button {
        justify-content: center;
    }
    
    .employee-filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group select {
        min-width: auto;
        width: 100%;
    }
    
    .employee-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .employee-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .employee-card {
        padding: 15px;
    }
    
    .employee-actions {
        flex-direction: column;
    }
}
hr-management-theme/assets/css/custom.css
-0
+502
        flex-direction: column;
    }
}
/* Employee Profile Styles */
.employee-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.employee-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.employee-profile-header-left h1 {
    font-size: 32px;
    color: #333;
    margin: 10px 0 0 0;
}
.employee-profile-actions {
    display: flex;
    gap: 10px;
}
.employee-overview-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 30px;
    align-items: center;
}
.employee-avatar-large {
    position: relative;
    flex-shrink: 0;
}
.employee-avatar-large-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #0F472A;
}
.employee-status-badge-large {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.employee-full-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}
.employee-basic-info p {
    margin: 8px 0;
    font-size: 16px;
    color: #fff;
}
.employee-basic-info strong {
    color: #333;
    font-weight: 600;
}
.employee-tabs {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.tab-navigation {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
}
.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border: none;
    background: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.tab-button:hover {
    background-color: #e9ecef;
    color: #333;
}
.tab-button.active {
    background-color: #0F472A;
    color: #fff;
    border-bottom: 3px solid #0a3520;
}
.tab-content {
    padding: 30px;
    display: none;
}
.tab-content.active {
    display: block;
}
.info-section {
    margin-bottom: 30px;
}
.info-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0F472A;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.info-item.full-width {
    grid-column: 1 / -1;
}
.info-item label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-item span {
    font-size: 16px;
    color: #666;
    padding: 8px 0;
}
.leave-balances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.leave-balance-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}
.leave-balance-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-transform: capitalize;
}
.balance-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.balance-label {
    font-size: 14px;
    color: #666;
}
.balance-value {
    font-weight: 600;
    color: #333;
}
.balance-progress {
    margin-top: 10px;
}
.progress-bar {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}
.progress-fill {
    background-color: #0F472A;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}
.employee-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.employee-document-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.document-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #0F472A;
}
.document-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}
.document-date {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.no-documents {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}
.no-documents-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
    margin-bottom: 20px;
}
.no-documents h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
/* Employee Form Styles */
.add-employee-container,
.edit-employee-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.add-employee-header,
.edit-employee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.add-employee-header-left,
.edit-employee-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.add-employee-header h1,
.edit-employee-header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
}
.employee-status-info .status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.add-employee-form,
.edit-employee-form {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}
.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.form-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0F472A;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.form-group .required {
    color: #dc3545;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F472A;
    box-shadow: 0 0 0 3px rgba(15, 71, 42, 0.1);
}
.form-group input:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
}
.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
}
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: 500;
}
.form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Responsive Design for Employee Forms */
@media (max-width: 768px) {
    .add-employee-container,
    .edit-employee-container {
        padding: 20px 15px;
    }
    
    .add-employee-header,
    .edit-employee-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .add-employee-header h1,
    .edit-employee-header h1 {
        font-size: 28px;
    }
    
    .add-employee-form,
    .edit-employee-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .employee-overview-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .leave-balances-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .employee-documents-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
.employee-directory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.employee-directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.employee-directory-header-left h1 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.directory-subtitle {
    color: #7f8c8d;
    margin: 0;
    font-style: italic;
}

.back-to-dashboard {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    color: #3498db;
}

.employee-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.employee-message {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.employee-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.employee-search {
    margin-bottom: 15px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #6c757d;
}

.search-input-wrapper input {
    padding: 10px 10px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.employee-filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

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

.filter-group label {
    font-weight: 500;
    min-width: max-content;
}

.employee-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9em;
}

.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.employee-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

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

.employee-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.employee-avatar {
    position: relative;
    display: inline-block;
}


.employee-status-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-active {
    background: #e7e7d9;
    color: #38782d;
}

.status-inactive {
    background: #6c757d;
    color: white;
}

.employee-type-badge {
    padding: 4px 8px;
    background: #e9ecef;
    color: #495057;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.employee-name {
    margin: 0 0 10px 0;
}

.employee-name a {
    color: #2c3e50;
    text-decoration: none;
}

.employee-name a:hover {
    color: #3498db;
}


.employee-details p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.employee-details i {
    color: #6c757d;
    min-width: 16px;
}

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

.employee-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state-icon {
    font-size: 4em;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.button-primary {
    background: #3498db;
    color: white;
}

.button-primary:hover {
    background: #2980b9;
}

.button-secondary {
    background: #95a5a6;
    color: white;
}

.button-secondary:hover {
    background: #7f8c8d;
}

.button-success {
    background: #27ae60;
    color: white;
}

.button-success:hover {
    background: #219a52;
}

.button-warning {
    background: #f39c12;
    color: white;
}

.button-warning:hover {
    background: #e67e22;
}

.button-small {
    padding: 6px 12px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .employee-directory-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .employee-actions {
        justify-content: flex-start;
    }
    
    .employee-filter-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .employee-grid {
        grid-template-columns: 1fr;
    }
    
    .employee-card {
        padding: 15px;
    }
}

        
        .demo-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* Header */
     
        
        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        
        .brand-name {
            font-size: 18px;
            font-weight: 600;
        }
        
        .nav-links {
            display: flex;
            gap: 24px;
        }
        
        .nav-link {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }
        
        .nav-link:hover {
            color: white;
        }
        
        .nav-link.active {
            color: white;
            font-weight: 600;
        }
        
        .user-section {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        
        .welcome-text {
            font-size: 14px;
            color: rgba(255,255,255,0.8);
        }
        
        .user-menu {
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 8px 16px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.2s;
        }
        
        .user-menu:hover {
            background: rgba(255,255,255,0.3);
            color: white;
        }
        
        /* Main Content */
        .main-content {
            flex: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 24px;
            width: 100%;
        }
        
        /* Back Link */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #3b82f6;
            text-decoration: none;
            margin-bottom: 24px;
            font-weight: 500;
        }
        
        .back-link:hover {
            color: #1d4ed8;
        }
        
        /* Page Header */
        .page-header {
            margin-bottom: 32px;
        }
        
        .page-title {
            font-size: 36px;
            font-weight: 700;
            background: #fb931c;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
        }
        
        .page-subtitle {
            color: #6b7280;
            font-size: 16px;
        }
       
        
        /* Quick Stats */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }
        
        .stat-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .stat-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            color: #3b82f6;
            font-size: 14px;
            font-weight: 500;
        }
        
        .stat-number {
            font-size: 24px;
            font-weight: 700;
            color: #111827;
        }
        
        .stat-label {
            font-size: 12px;
            color: #6b7280;
        }
        
        /* Search and Filter */
        .search-filter-card {
            background: white;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-bottom: 24px;
            overflow: hidden;
        }
        
        .filter-header {
            padding: 16px 24px;
            border-bottom: 1px solid #f3f4f6;
            background: rgba(59, 130, 246, 0.02);
        }
        
        .filter-title {
            font-size: 16px;
            font-weight: 600;
            color: #1f2937;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .filter-content {
            padding: 20px 24px;
            display: flex;
            gap: 16px;
            align-items: end;
        }
        
        .search-group {
            flex: 1;
            max-width: 400px;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 16px 10px 40px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 14px;
        }
        
        .search-wrapper {
            position: relative;
        }
        
        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
        }
        
        .filter-select {
            padding: 10px 12px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 14px;
            min-width: 180px;
        }
        
        /* Employee Table */
        .employee-table-card {
            background: white;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            overflow: hidden;
        }
        
        .table-header {
            padding: 20px 24px;
            background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.05));
            border-bottom: 1px solid #e5e7eb;
        }
        
        .table-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 4px;
            background: #38782d;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .table-description {
            color: #6b7280;
            font-size: 14px;
        }
        
        .table-container {
            overflow-x: auto;
        }
        
        .employee-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .employee-table thead {
            background: rgba(59, 130, 246, 0.05);
        }
        
        .employee-table th {
            padding: 12px 16px;
            text-align: left;
            font-weight: 600;
            color: #374151;
            font-size: 14px;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .employee-row {
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .employee-row:hover {
            background: rgba(16, 185, 129, 0.05);
        }
        
        .employee-name {
            font-weight: 500;
            color: #111827;
        }
        
        .position-cell,
        .location-cell {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .status-badge {
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            border: 1px solid;
        }
        
        .status-full-time {
            background: rgba(59, 130, 246, 0.1);
            color: #3b82f6;
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        .status-part-time {
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            border-color: rgba(16, 185, 129, 0.3);
        }
        
        .status-casual {
            background: rgba(245, 158, 11, 0.1);
            color: #f59e0b;
            border-color: rgba(245, 158, 11, 0.3);
        }
        
        .tfn-code {
            font-family: 'Courier New', monospace;
            font-size: 12px;
            background: #f3f4f6;
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid #e5e7eb;
        }
        
        .super-details {
            font-size: 12px;
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }
        
        .table-footer {
            padding: 16px 24px;
            background: #f9fafb;
            border-top: 1px solid #e5e7eb;
            font-size: 12px;
            color: #6b7280;
        }
        
        .empty-state {
            text-align: center;
            padding: 60px 24px;
            color: #6b7280;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-content {
                padding: 0 16px;
            }
            
            .nav-links {
                display: none;
            }
            
            .main-content {
                padding: 16px;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-content {
                flex-direction: column;
                align-items: stretch;
            }
            
            .table-container {
                overflow-x: scroll;
            }
            
            .employee-table {
                min-width: 800px;
            }
        }


.employee-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.employee-profile-header {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.back-to-directory {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-to-directory:hover {
    opacity: 1;
    color: white;
}

.employee-header-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.employee-avatar-large {
    position: relative;
}

.employee-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
}

.employee-status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.employee-status-badge.inactive {
    background: #f44336;
}

.employee-basic-info h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #0F472A;
}

.employee-title {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0.25rem 0;
}

.employee-department, .employee-id {
    opacity: 0.8;
    margin: 0.25rem 0;
}

.employee-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #e8f5e8;
}

.tab-button.active {
    background: #2E7D32;
    color: white;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

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

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

.info-section h3 {
    margin: 0 0 1rem 0;
    color: #2E7D32;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-items {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
}

.info-item label {
    font-weight: 500;
    color: #666;
}

.info-item span {
    color: #333;
}

.info-item a {
    color: #2E7D32;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}
.edit-employee-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    margin-right: 20px;
}
.edit-employee-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}
@media (max-width: 768px) {
    .employee-header-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .info-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}