.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

#employeeModal .modal-content {
    max-width: 700px;
}

.error-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 400px;
    width: calc(100% - 2rem);
    margin: 0.5rem;
}

.error-notification.error {
    background: #e74c3c;
    color: white;
}

.error-notification.warning {
    background: #f1c40f;
    color: #2c3e50;
}

.error-notification small {
    display: block;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.error-notification .error-actions {
    display: flex;
    gap: 0.5rem;
}

.error-notification button {
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.error-notification.error button {
    background: white;
    color: #e74c3c;
}

.error-notification.warning button {
    background: #2c3e50;
    color: white;
}

.error-notification button:hover {
    opacity: 0.9;
}

.error-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.error-form label {
    font-weight: 600;
    color: var(--primary-color);
}

.error-form input,
.error-form select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.error-form input:focus,
.error-form select:focus {
    border-color: var(--secondary-color);
    outline: none;
}