/* Estilos base para los botones de acción */
.accion-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 15px !important;
    border-radius: 10px !important;
    text-decoration: none;
    transition: all 0.2s;
    gap: 0.75rem;
    background-color: rgb(var(--primary-50));
    color: rgb(var(--primary-600));
    border: 1px solid rgb(var(--primary-200));
    font-weight: 500;
}

.accion-btn:hover {
    background-color: rgb(var(--primary-100));
    border-color: rgb(var(--primary-300));
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Contenedor del icono - TAMAÑO FIJO ABSOLUTO */
.accion-icono {
    width: 128px !important;
    height: 128px !important;
    min-width: 128px !important;
    min-height: 128px !important;
    max-width: 128px !important;
    max-height: 128px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 auto !important;
}

/* SVG dentro del contenedor - TAMAÑO FIJO - Selectores muy específicos */
.accion-btn .accion-icono svg,
.accion-icono > svg,
.accion-icono svg[data-slot="icon"],
.accion-icono svg[viewBox],
a.accion-btn svg,
.icono-fijo,
.icono-fijo svg {
    width: 128px !important;
    height: 128px !important;
    min-width: 128px !important;
    min-height: 128px !important;
    max-width: 128px !important;
    max-height: 128px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Forzar tamaño en todos los SVGs dentro de accion-btn */
.accion-btn svg {
    width: 128px !important;
    height: 128px !important;
    min-width: 128px !important;
    min-height: 128px !important;
    max-width: 128px !important;
    max-height: 128px !important;
}

/* Texto del botón */
.accion-texto {
    text-align: center !important;
    font-size: 0.875rem;
    line-height: 1.4;
    flex-shrink: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Colores personalizados */
.accion-btn-purple {
    background-color: rgb(250, 245, 255) !important;
    color: rgb(147, 51, 234) !important;
    border-color: rgb(233, 213, 255) !important;
}

.accion-btn-purple:hover {
    background-color: rgb(243, 232, 255) !important;
    border-color: rgb(216, 180, 254) !important;
}

.accion-btn-color-1 {
    background-color: rgba(120, 144, 156, 0.2) !important;
    color: #78909C !important;
    border-color: rgba(120, 144, 156, 0.5) !important;
}

.accion-btn-color-1:hover {
    background-color: rgba(120, 144, 156, 0.3) !important;
    border-color: rgba(120, 144, 156, 0.6) !important;
}

.accion-btn-color-2 {
    background-color: rgba(41, 182, 246, 0.2) !important;
    color: #29B6F6 !important;
    border-color: rgba(41, 182, 246, 0.5) !important;
}

.accion-btn-color-2:hover {
    background-color: rgba(41, 182, 246, 0.3) !important;
    border-color: rgba(41, 182, 246, 0.6) !important;
}

.accion-btn-color-3 {
    background-color: rgba(236, 64, 122, 0.2) !important;
    color: #EC407A !important;
    border-color: rgba(236, 64, 122, 0.5) !important;
}

.accion-btn-color-3:hover {
    background-color: rgba(236, 64, 122, 0.3) !important;
    border-color: rgba(236, 64, 122, 0.6) !important;
}

.accion-btn-color-5 {
    background-color: rgba(38, 166, 154, 0.2) !important;
    color: #26A69A !important;
    border-color: rgba(38, 166, 154, 0.5) !important;
}

.accion-btn-color-5:hover {
    background-color: rgba(38, 166, 154, 0.3) !important;
    border-color: rgba(38, 166, 154, 0.6) !important;
}

.accion-btn-color-7 {
    background-color: rgba(255, 167, 38, 0.2) !important;
    color: #FFA726 !important;
    border-color: rgba(255, 167, 38, 0.5) !important;
}

.accion-btn-color-7:hover {
    background-color: rgba(255, 167, 38, 0.3) !important;
    border-color: rgba(255, 167, 38, 0.6) !important;
}

.accion-btn-color-8 {
    background-color: rgba(136, 136, 136, 0.2) !important;
    color: #888888 !important;
    border-color: rgba(136, 136, 136, 0.5) !important;
}

.accion-btn-color-8:hover {
    background-color: rgba(136, 136, 136, 0.3) !important;
    border-color: rgba(136, 136, 136, 0.6) !important;
}

.accion-btn-color-12 {
    background-color: rgba(126, 87, 194, 0.2) !important;
    color: #7E57C2 !important;
    border-color: rgba(126, 87, 194, 0.5) !important;
}

.accion-btn-color-12:hover {
    background-color: rgba(126, 87, 194, 0.3) !important;
    border-color: rgba(126, 87, 194, 0.6) !important;
}

.accion-btn-color-resumen {
    background-color: rgba(173, 20, 87, 0.2) !important;
    color: #AD1457 !important;
    border-color: rgba(173, 20, 87, 0.5) !important;
}

.accion-btn-color-resumen:hover {
    background-color: rgba(173, 20, 87, 0.3) !important;
    border-color: rgba(173, 20, 87, 0.6) !important;
}

.accion-btn-blue {
    background-color: rgb(239, 246, 255) !important;
    color: rgb(37, 99, 235) !important;
    border-color: rgb(191, 219, 254) !important;
}

.accion-btn-blue:hover {
    background-color: rgb(219, 234, 254) !important;
    border-color: rgb(147, 197, 253) !important;
}

/* Botón cerrar (estilos Filament/Tailwind) */
.fi-btn.btn-cerrar,
.btn-cerrar-grafico {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
}

.fi-btn.btn-cerrar:hover,
.btn-cerrar-grafico:hover {
    background-color: #f3f4f6;
    color: #374151;
}

@media (prefers-color-scheme: dark) {
    .fi-btn.btn-cerrar:hover,
    .btn-cerrar-grafico:hover {
        background-color: #1f2937;
        color: #d1d5db;
    }
}

.dark .fi-btn.btn-cerrar:hover,
.dark .btn-cerrar-grafico:hover {
    background-color: #1f2937;
    color: #d1d5db;
}

.fi-btn.btn-cerrar svg,
.btn-cerrar-grafico svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Fechas bloqueadas en rojo en el DatePicker del asistente de reservas */
.fi-fo-date-time-picker-calendar-day.fi-disabled {
    color: rgb(239 68 68) !important;
    background-color: rgb(254 226 226) !important;
    cursor: not-allowed;
}

.dark .fi-fo-date-time-picker-calendar-day.fi-disabled {
    color: rgb(248 113 113) !important;
    background-color: rgb(127 29 29 / 0.3) !important;
}

/* Login Filament: full-bleed sin scroll horizontal por w-screen */
.fi-auth-split-layout {
    overflow-x: clip;
}



