﻿body {
}
body {
    background-color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.005);
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: white;
    transform: translateY(-1px);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.badge {
    font-size: 1rem;
    padding: 0.5em 0.75em;
    border-radius: 12px;
    font-weight: 500;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.toggle-estado-btn {
    transition: all 0.3s ease;
}

    .toggle-estado-btn:hover {
        transform: rotate(90deg);
    }

    .toggle-estado-btn i {
        transition: transform 0.3s ease;
    }


/* Clase personalizada para el dropdown */
.select2-dropdown-fixed-width {
    max-width: 300px !important; /* ← AJUSTA ESTE VALOR segÚn tu diseño */
    width: auto !important;
}

/* Dentro del dropdown, ajustar el texto */
.select2-results__option {
    white-space: normal !important; /* Permite saltos de línea */
    word-wrap: break-word !important;
    padding: 6px 10px !important;
    line-height: 1.3 !important;
}

/* El contenedor del select (la caja visible) sigue siendo compacto */
.select2-selection--single {
    height: auto !important;
    padding: 6px 12px !important;
}

.select2-selection__rendered {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

