/* ============================================================================
   VALIDACIONES.CSS - ESTILOS PARA VALIDACIONES
   ============================================================================ */

/*Alineación de tabla 
.permissions-table {
    table-layout: fixed !important;
}

.permissions-table th,
.permissions-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}*/

/* Alert Banner */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
}

.alert-banner i {
    color: #f59e0b;
    font-size: 20px;
}

.alert-banner button {
    margin-left: auto;
    background: none;
    border: none;
    color: #92400e;
    cursor: pointer;
    padding: 5px;
}

/* Validation Checkbox */
.validation-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Action buttons colors */
.btn-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* Checkbox in table */
thead input[type="checkbox"],
tbody input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Priority badge */
.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.priority-high {
    background: #fee2e2;
    color: #dc2626;
}

.priority-medium {
    background: #fef3c7;
    color: #f59e0b;
}

.priority-low {
    background: #dbeafe;
    color: #2563eb;
}

/* Approval status badge */
.approval-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.approval-approved {
    background: #dcfce7;
    color: #16a34a;
}

.approval-pending {
    background: #fef3c7;
    color: #f59e0b;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    border: 4px solid #f3f4f6;
    border-top-color: #00853F;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}