/* Employee Table Styles */
.employee-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 6vw;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.employee-table thead {
    background: #CBCDD2;
}

.employee-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-family: 'Gilroy-SemiBold', sans-serif;
    font-size: .86vw;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.employee-table thead th:last-child {
    border-right: none;
}

.employee-table tbody tr {
    transition: background 0.2s ease;
}

.employee-table tbody tr:hover {
    background: #fafafa;
}

.employee-table tbody td {
    padding: 16px 20px;
    font-size: .9vw;
    font-family: 'Gilroy-SemiBold', sans-serif;
    color: #333;
    vertical-align: middle;
    border-right: 2px solid #CBCDD2;
    border-bottom: 2px solid #CBCDD2;
}

.employee-table tbody td:last-child {
    border-right: none;
}

.employee-table tbody tr:last-child td {
    border-bottom: none;
}

/* Employee Name Cell with Photo */
.employee-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.employee-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.employee-name-cell span {
    font-weight: 500;
    color: #333;
}

/* Job Role Badges */
.job-role-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: .84vw;
    font-family: 'Gilroy-SemiBold', sans-serif;
    text-transform: capitalize;
}

.job-role-onrole {
    background: #d4f4dd;
    color: #0d6832;
}

.job-role-intern {
    background: #fff4d9;
    color: #8b6914;
    font-size: .95vw;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 0.8vw;
    font-family: 'Gilroy-SemiBold', sans-serif;
    text-transform: capitalize;
}

.status-working {
    background: #dae8f5;
    color: #0f4c7a;
}

/* Contact Cell with Icons */
.contact-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-family: 'Gilroy-SemiBold', sans-serif;
}

.contact-icon {
    width: 100%;
    height: auto;
    max-width: 1.1vw;
}



.table-view-btn img,
.table-delete-btn img {
    width: 22px;
    height: 22px;
    display: block;
}



/* Column Widths for Better Layout */
.employee-table thead th:nth-child(1),
.employee-table tbody td:nth-child(1) {
    width: 110px;
}

.employee-table thead th:nth-child(2),
.employee-table tbody td:nth-child(2) {
    width: 180px;
}

.employee-table thead th:nth-child(3),
.employee-table tbody td:nth-child(3) {
    width: 150px;
}

.employee-table thead th:nth-child(4),
.employee-table tbody td:nth-child(4) {
    width: 110px;
}

.employee-table thead th:nth-child(5),
.employee-table tbody td:nth-child(5) {
    width: 120px;
}

.employee-table thead th:nth-child(6),
.employee-table tbody td:nth-child(6) {
    width: 200px;
}

.employee-table thead th:nth-child(7),
.employee-table tbody td:nth-child(7) {
    width: 160px;
}

.employee-table thead th:nth-child(8),
.employee-table tbody td:nth-child(8) {
    width: 60px;
    text-align: center;
}

.employee-table thead th:nth-child(9),
.employee-table tbody td:nth-child(9) {
    width: 60px;
    text-align: center;
}

/* Center align View and Delete columns */
.employee-table tbody td:nth-child(8),
.employee-table tbody td:nth-child(9) {
    text-align: center;
}



/* Customer Table Action Buttons with Images */
.table-view-btn,
.table-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-view-btn {
    background: transparent;
}

.table-view-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.table-view-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

.table-delete-btn {
    background: transparent;
}

.table-delete-btn:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

.table-delete-btn img {
    width: 20px;
    height: 20px;
    display: block;
}


