/* Variables CSS */
:root {
    --primary-color: #005f73;
    --secondary-color: #0a9396;
    --accent-color: #ee9b00;
    --dark-color: #001219;
    --light-color: #e9d8a6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

/* Base Styles */
body.custom-body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('../images/office-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 95, 115, 0.9) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: rotate(-5deg);
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Custom Cards */
.custom-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 95, 115, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border-radius: 10px 0 0 10px !important;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.alert i {
    margin-right: 0.5rem;
}

/* Badges */
.badge {
    padding: 0.5em 0.75em;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 0.5px;
}

/* Table */
.table {
    --bs-table-bg: transparent;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 95, 115, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .custom-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand span {
        display: none;
    }
    
    .hero-section {
        padding: 3rem 1rem;
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}
/* Style pour les boutons d'action */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Espacement entre les boutons */
.btn-group .btn:not(:last-child) {
    margin-right: 0.25rem;
}

/* Style pour les boutons désactivés */
.btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}
.action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Effet au survol */
.action-btn:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* Style pour les badges de statut */
.badge {
    padding: 0.5em 0.75em;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Alignement vertical */
.table td, .table th {
    vertical-align: middle;
}


/* Styles spécifiques pour le tableau des employés */
.employee-table {
    table-layout: fixed;
}

.employee-table th,
.employee-table td {
    vertical-align: middle;
    padding: 12px 15px;
}

.employee-table th {
    white-space: nowrap;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
}

.employee-table td {
    word-wrap: break-word;
}

.min-width-120 { min-width: 120px; }
.min-width-150 { min-width: 150px; }
.min-width-200 { min-width: 200px; }

.text-truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pour les petits écrans */
@media (max-width: 992px) {
    .employee-table {
        font-size: 0.9rem;
    }
    
    .employee-table th, 
    .employee-table td {
        padding: 8px 10px;
    }
    
    .min-width-120,
    .min-width-150,
    .min-width-200 {
        min-width: auto;
    }
}

.custom-pt-70 {
  padding-top: 100px !important;
}



