﻿.auth-layout {
    /* Animación removida para evitar efectos al cargar */
}

/* Animación fadeIn comentada - no se usa más
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/

/* Efecto hover en los botones de autenticación */
.mud-button-root:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Mejorar apariencia de los campos de texto */
.mud-input-outlined .mud-input-slot {
    border-radius: 8px;
}

/* Efecto para el logo */
.mud-image {
    transition: transform 0.3s ease;
}

.mud-image:hover {
    transform: scale(1.05);
}

/* Sombras suaves para las cards */
.mud-paper {
    transition: box-shadow 0.3s ease;
}

/* Estilos para mensajes de error */
.mud-alert {
    border-radius: 8px;
}

/* Mejorar la legibilidad de los links */
.mud-link {
    transition: all 0.2s ease;
}

.mud-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos para tabla responsive - forzar ancho de celdas */
.table-responsive .mud-table-cell {
    box-sizing: border-box;
}

.table-responsive .mud-table-cell[style*="max-width"] {
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Asegurar que las celdas con contenido largo no se desborden */
.mud-table-cell > div {
    max-width: 100%;
    overflow: hidden;
}

/* Clase específica para celdas de observaciones que deben truncarse */
.cell-truncate {
    max-width: 200px !important;
    min-width: 150px !important;
    width: 200px !important;
    overflow: hidden !important;
    position: relative;
}

.cell-truncate > * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

/* Estilos para botones de acción cuadrados con bordes redondeados */
.action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
}

.action-pill-info {
    background-color: #2196F3;
}

.action-pill-warning {
    background-color: #FF9800;
}

.action-pill-padlock {
    background-color: #c96d26;
}

.action-pill-success {
    background-color: #4CAF50;
}

.action-pill-error {
    background-color: #F44336;
}

/* Espaciado general */
.mb-6 {
    margin-bottom: 24px;
}

/* Utilidades de texto */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Clases de ayuda para flexbox */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

/* Clases de ayuda para espaciado */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mx-2 { margin-left: 8px; margin-right: 8px; }
.mx-3 { margin-left: 12px; margin-right: 12px; }
.my-2 { margin-top: 8px; margin-bottom: 8px; }
.my-3 { margin-top: 12px; margin-bottom: 12px; }

.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
