.employees-module-container {
    padding: 0;
    margin: 0;
    height: auto;
}

/* Let containers expand naturally - NO fixed heights */
.card-body {
    overflow: visible !important;
}

.card {
    overflow: visible !important;
    height: auto !important;
}

/* Main container - NO scrollbar, just expand */
.employee-container {
    width: 100%;
    height: auto;
    min-height: 600px;
    overflow: visible;
}

/* Remove any scrollbar from the table area */
.table-responsive {
    overflow: visible !important;
}

/* Table styling */
#employeesTable {
    width: 100%;
    margin-bottom: 0;
}

#employeesTable tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-block;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-probation {
    background-color: #fff3cd;
    color: #856404;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    #employeesTable {
        font-size: 0.7rem;
    }
    .status-badge {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }
    .employee-container {
        min-height: 500px;
    }
}
/* CRITICAL - Remove scrollbar from table body */
#employeesTable tbody {
    display: table-row-group;
    height: auto !important;
    overflow: visible !important;
}

#employeesTable {
    display: table;
    height: auto !important;
}

/* The div wrapping the table */
.employee-container > div:first-child {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}