/* Estilos generales */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Mejora de tarjetas */
.card {
    border-radius: 12px;
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Estilos para formularios */
.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Estilos para la tabla */
.table th {
    background-color: #f1f3f5;
    border-bottom: 2px solid #dee2e6;
}

/* Badges personalizados */
.badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
}

/* Contenedor de documentos */
.document-preview {
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
}

/* Estilos para el login */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
}

/* Spinner personalizado */
.spinner-custom {
    width: 3rem;
    height: 3rem;
}