/* Overrides to keep employee tabs on one line and shorten their height */
.employee-tabs {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #e0e0e0 !important;
    padding-bottom: 0 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
}

.employee-tabs .employee-tab {
    background: linear-gradient(135deg, var(--primary-brown), var(--primary-brown-dark)) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    padding: 10px 18px !important; /* larger buttons */
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--secondary-cream) !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    border-bottom: 3px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 0 !important; /* distribute three tabs evenly */
    min-width: 0 !important;
    height: 48px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    white-space: nowrap !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
}

.employee-tabs .employee-tab.active {
    color: var(--secondary-cream) !important;
    background: linear-gradient(135deg, var(--primary-brown-dark), var(--primary-brown-darker)) !important;
    border: 1px solid rgba(0,0,0,0.18) !important;
    box-shadow: 0 8px 22px rgba(107,68,35,0.22) !important;
}

@media (max-width: 640px) {
    .employee-tabs { flex-wrap: wrap !important; }
    .employee-tabs .employee-tab { flex: 1 1 calc(33.333% - 8px) !important; min-width: 0 !important; justify-content: center !important; }
}

/* Make edit / delete action buttons icon-only and smaller (about 1/2 size) */
.btn-edit,
.btn-delete,
.action-button.edit-button,
.action-button.delete-button,
.action-btn.edit-btn,
.action-btn.delete-btn,
.btn-action.btn-edit,
.btn-action.btn-delete {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important; /* smaller square */
    height: 36px !important;
    padding: 6px !important;
    font-size: 0 !important; /* hide text but keep icon */
    border-radius: 8px !important;
    box-shadow: none !important;
}

.btn-edit i,
.btn-delete i,
.action-button.edit-button i,
.action-button.delete-button i,
.action-btn.edit-btn i,
.action-btn.delete-btn i,
.btn-action.btn-edit i,
.btn-action.btn-delete i {
    font-size: 16px !important; /* icon size about half of typical */
    line-height: 1 !important;
}

/* Ensure tooltips/title still visible on hover */
.btn-edit[title], .btn-delete[title], .action-button[title], .action-btn[title] {
    position: relative;
}
