.employee-settings-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.employee-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.employee-settings-header h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
}

.add-employee-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-employee-btn:hover {
    background-color: #45a049;
}

/* Form styles */
.employee-settings-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.shift-group {
    grid-column: 1 / -1;
}

.shift-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Table styles */
.employees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.employees-table th,
.employees-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.employees-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.employees-table tr:hover {
    background-color: #f5f5f5;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.edit-button {
    background-color: #2196F3;
    color: white;
}

.delete-button {
    background-color: #f44336;
    color: white;
}

.action-button:hover {
    opacity: 0.9;
}

/* Form button styles */
.form-buttons {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.save-button,
.clear-button {
    padding: 12px 28px;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.save-button {
    background-color: #28a745 !important;
    color: white !important;
    border-color: #28a745 !important;
}

.save-button i {
    color: white !important;
}

.save-button:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.clear-button {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.clear-button i {
    color: white !important;
}

.clear-button:hover {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Employee table action buttons */
.btn-edit,
.btn-delete {
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: none !important;
}

.btn-edit {
    background-color: #28a745 !important;
    color: white !important;
    border: 2px solid #28a745 !important;
}

.btn-edit i {
    color: white !important;
}

.btn-edit:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-delete {
    background-color: #dc3545 !important;
    color: white !important;
    border: 2px solid #dc3545 !important;
}

.btn-delete i {
    color: white !important;
}

.btn-delete:hover {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Status badge */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-active {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.status-inactive {
    background-color: #FFEBEE;
    color: #C62828;
}

/* Employee name cell */
.employee-name-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.employee-name-cell strong {
    color: #333;
    font-size: 14px;
}

.employee-name-cell small {
    color: #999;
    font-size: 12px;
}

/* Table container */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
}

.employee-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.employee-table tbody tr:hover {
    background-color: #f8f9fa;
}

.employee-table tbody tr:last-child td {
    border-bottom: none;
}

/* Settings section */
.settings-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.settings-section h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Employee list section */
.employee-list-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    color: #333;
    font-size: 20px;
    margin: 0;
}

.search-filter {
    display: flex;
    gap: 10px;
}

.search-input,
.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-input {
    width: 250px;
}

.filter-select {
    width: 180px;
}

/* Password field with inline toggle */
.password-field {
    position: relative;
}
.password-field input[type="password"],
.password-field input[type="text"] {
    padding-right: 40px; /* space for the icon */
}
.password-field button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
}
.password-field button:focus {
    outline: none;
}
.password-field button:hover {
    background: rgba(0,0,0,0.04);
}