/* =============================================================================
   CSS PERSONALIZADO PARA FILAMENT - SIN TAILWIND
   Solo CSS puro, fácil de modificar
   ============================================================================= */

/* FONDO GENERAL DE LAS PÁGINAS DE AUTENTICACIÓN */
body {
    margin: 0;
    padding: 0;
}

/* Página de login, reset password, etc */
.fi-simple-layout {
    background: #0077A4;
    /* O usa un degradado: */
    /* background: linear-gradient(135deg, #0077A4 0%, #004C69 100%); */
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* CONTENEDOR PRINCIPAL DEL FORMULARIO */
.fi-simple-main {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 400px;
}

/* INPUTS (EMAIL, PASSWORD, ETC) */
.fi-input input {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.fi-input input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* BOTONES */
.fi-btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.fi-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* ENLACES (Forgot password, etc) */
.fi-link a {
    color: #374151;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.fi-link a:hover {
    color: #1f2937;
}

/* LOGO */
.fi-logo img {
    max-height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.fi-logo:hover img {
    transform: scale(1.05);
}

/* HEADER DEL LOGIN */
.fi-simple-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* TÍTULOS */
.fi-simple-header h1 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* LABELS */
.fi-field-wrp label {
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* MENSAJES DE ERROR */
.fi-fo-field-wrp-error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
}

/* CHECKBOXES (Remember me) */
.fi-checkbox {
    margin-right: 8px;
}

/* =============================================================================
   PERSONALIZACIÓN FÁCIL:
   Cambia estos valores según tus preferencias
   ============================================================================= */

/* 
Colores principales:
- Azul: #3b82f6
- Azul hover: #2563eb  
- Gris texto: #374151
- Fondo: #1e40af

Para cambiar el fondo, modifica la línea 13:
background: TU_COLOR_AQUÍ;

Para cambiar color de botones, modifica las líneas 51 y 61:
background: TU_COLOR_AQUÍ;
*/

/* =============================================================================
   CSS ESPECÍFICO PARA EL WELCOME WIDGET (SOLO AFECTA AL WIDGET DE BIENVENIDA)
   ============================================================================= */

/* Contenedor principal del widget */
.auta-welcome-widget {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    /* Optimizaciones de carga rápida */
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}
.dark .auta-welcome-widget {
    border: none;
}
/* Forzar carga inmediata del widget */
.auta-welcome-widget * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    transition-delay: 0s !important;
}

/* Desactivar lazy loading de Filament para este widget */
.auta-welcome-widget .fi-widget {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Solo quitar padding del contenedor de sección del widget */
.fi-section-content-ctn {
    padding: 0 !important;
}

/* Header azul del widget */
.auta-header {
    background: #0077A4;
    padding: 24px;
    color: white;
}
.dark .auta-header{
    background-color: #18181B;
}

.auta-header h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.auta-header p {
    font-size: 16px;
    margin: 8px 0 0 0;
    opacity: 0.9;
}

/* Contenido principal (dos columnas) */
.auta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
    background: white;
}

.dark .auta-content {
    background-color: #333436;
    color: #ffffff;
}

/* En pantallas pequeñas, una sola columna */
@media (max-width: 768px) {
    .auta-content {
        grid-template-columns: 1fr;
    }
}

/* Cada columna */
.auta-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Títulos de sección (Monitores, Clientes) */
.auta-section-title {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

/* Iconos */
.auta-icon {
    width: 24px;
    height: 24px;
}

/* Descripciones */
.auta-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.dark .auta-description {
    color: #ffffff;
}

/* Listas principales */
.auta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Items de lista */
.auta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
    align-items: flex-start;
}

/* Bullets */
.auta-bullet {
    color: #9ca3af;
    font-weight: bold;
}

/* Sublistas */
.auta-sublist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Items de sublista */
.auta-subitem {
    display: flex;
    gap: 8px;
    font-size: 14px;
    align-items: flex-start;
}

/* Sub-bullets */
.auta-subbullet {
    color: #9ca3af;
}

/* Texto en negrita */
.auta-item strong,
.auta-subitem strong {
    color: #374151;
}

.dark .auta-item strong,
.dark .auta-subitem strong {
    color: #ffffff;
}

/* =============================================================================
   PERSONALIZACIÓN DEL WIDGET:
   Cambia estos valores para personalizar solo el widget de bienvenida
   ============================================================================= */

/* 
Para cambiar el color del header:
.auta-header { background: TU_COLOR_AQUÍ; }

Para cambiar el tamaño de texto:
.auta-header h1 { font-size: TU_TAMAÑO_AQUÍ; }

Para cambiar colores de texto:
.auta-description { color: TU_COLOR_AQUÍ; }
*/