/* 
 * SISTEMA DE ENTRENADOR PERSONAL
 * Diseño moderno y profesional
 */

/* ========== VARIABLES CSS ========== */
:root {
    /* Colores principales - Paleta fitness energética */
    --primary: #00d4aa;
    --primary-dark: #00b892;
    --primary-light: #1fffc1;
    --secondary: #6c63ff;
    --secondary-dark: #5a52e0;
    
    /* Colores de acento */
    --accent-orange: #ff6b35;
    --accent-blue: #4ecdc4;
    --accent-purple: #a06cd5;
    
    /* Tonos neutros */
    --dark: #1a1d29;
    --dark-2: #252936;
    --dark-3: #2f3242;
    --light: #f8f9fa;
    --light-2: #e9ecef;
    --white: #ffffff;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 24px rgba(0, 212, 170, 0.25);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 212, 170, 0.9) 0%, rgba(108, 99, 255, 0.8) 100%);
    
    /* Bordes */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== ESTILOS GLOBALES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}



/* ========== LANDING PAGE ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(108, 99, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 3rem;
    font-weight: 500;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    color: white;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom span {
    position: relative;
    z-index: 1;
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-primary);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.step-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-primary);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
}

/* ========== AUTENTICACIÓN ========== */
.auth-container {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    bottom: -200px;
    left: -200px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h2 {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.15);
}

/* ========== DASHBOARD LAYOUT ========== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--light);
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    max-width: 100%;
    width: 100%;
}

body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Específico para Chrome móvil */
@supports (-webkit-appearance: none) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    .main-content {
        overflow-x: hidden;
        max-width: 100%;
    }

    .content-wrapper {
        overflow-x: hidden;
        max-width: 100%;
    }

    .row {
        overflow-x: hidden;
        max-width: 100%;
    }

    canvas {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

.sidebar {
    width: 280px;
    background: var(--gradient-dark);
    color: white;
    position: fixed;
    height: 100vh;
    height: -webkit-fill-available;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
    transition: var(--transition);
}

.sidebar-brand {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

.sidebar-brand h3 i {
    color: var(--primary);
}

.sidebar-menu {
    padding: 1rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.menu-item.active {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
}

.menu-item i {
    margin-right: 1rem;
    font-size: 1.25rem;
    width: 24px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    transition: var(--transition);
}

.top-navbar {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    overflow-x: hidden;
    min-height: 70px;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

/* Botón hamburguesa para móvil */
.btn-menu-toggle {
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    padding: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.3);
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-menu-toggle:hover {
    background: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.btn-menu-toggle:active {
    transform: scale(0.95);
    background: var(--secondary);
}

.btn-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.3);
}

/* Mostrar botón en móviles */
@media (max-width: 767px) {
    .btn-menu-toggle {
        display: flex !important;
    }
}

/* Overlay oscuro cuando sidebar está abierto en móvil */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    touch-action: none;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

.content-wrapper {
    padding: 2rem;
}

/* ========== STATS CARDS ========== */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card.primary { border-left-color: var(--primary); }
.stat-card.secondary { border-left-color: var(--secondary); }
.stat-card.orange { border-left-color: var(--accent-orange); }
.stat-card.purple { border-left-color: var(--accent-purple); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.stat-card.primary .stat-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
}

.stat-card.secondary .stat-icon {
    background: rgba(108, 99, 255, 0.1);
    color: var(--secondary);
}

.stat-card.orange .stat-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.stat-card.purple .stat-icon {
    background: rgba(160, 108, 213, 0.1);
    color: var(--accent-purple);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* ========== CONTENT CARDS ========== */
.content-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-2);
}

.card-title-custom {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* ========== TABLAS ========== */
.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: none;
}

.table-custom tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid var(--light-2);
}

.table-custom tbody tr:hover {
    background: rgba(0, 212, 170, 0.03);
}

.table-custom tbody td {
    padding: 1rem;
}

/* ========== BADGES ========== */
.badge-custom {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-primary { background: rgba(0, 212, 170, 0.1); color: var(--primary); }
.badge-secondary { background: rgba(108, 99, 255, 0.1); color: var(--secondary); }
.badge-orange { background: rgba(255, 107, 53, 0.1); color: var(--accent-orange); }
.badge-success { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.badge-warning { background: rgba(255, 193, 7, 0.1); color: #ffc107; }

/* ========== BOTONES ========== */
.btn-custom {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-custom-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* ========== MENSAJES ========== */
.message-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--light-2);
    transition: var(--transition);
}

.message-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.message-item.from-me {
    background: rgba(0, 212, 170, 0.05);
    border-left-color: var(--primary);
}

.message-item.unread {
    background: rgba(108, 99, 255, 0.03);
    border-left-color: var(--secondary);
}

/* ========== RESPONSIVE ========== */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 4rem 0;
    }

    /* Sidebar oculto en móviles - CORREGIDO PARA CHROME */
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1050;
        transition: transform 0.3s ease;
        width: 250px;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
    }

    .menu-item span {
        display: inline;
    }

    .sidebar-brand h3 {
        font-size: 1.05rem;
        text-align: left;
    }

    .sidebar-brand p {
        display: none;
    }

    /* Botones más grandes para tocar */
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Tablas responsivas */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Cards de estadísticas en columna */
    .stat-card {
        margin-bottom: 1rem;
    }

    /* Top navbar ajustado */
    .top-navbar {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .top-navbar > div:first-child {
        gap: 0.75rem;
        min-width: 0;
        flex: 1;
    }

    .top-navbar h4 {
        font-size: 0.95rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ajustar tamaño del botón en móvil */
    .btn-menu-toggle {
        display: flex !important;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .top-navbar {
        justify-content: space-between;
        padding: 0.65rem 1rem;
    }

    .top-navbar > div:first-child {
        flex: 1;
        gap: 0.65rem !important;
    }

    /* Forzar ocultamiento en Chrome móvil */
    @supports (-webkit-appearance: none) {
        .sidebar {
            transform: translateX(-100%) !important;
            left: 0;
        }

        .sidebar.show {
            transform: translateX(0) !important;
        }

        .main-content {
            margin-left: 0 !important;
            width: 100% !important;
        }
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 3rem 0;
    }

    /* Ocultar sidebar completamente en móviles muy pequeños */
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1050;
        transition: transform 0.3s ease;
        width: 250px;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .sidebar-brand {
        padding: 0.85rem 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-brand h3 {
        font-size: 1.05rem;
        text-align: left;
        margin-bottom: 0.25rem;
        font-weight: 700;
        color: white !important;
        white-space: nowrap;
        letter-spacing: 0.3px;
        overflow: visible;
        width: auto;
    }

    .sidebar-brand h3 i {
        font-size: 0.95rem;
        color: var(--primary) !important;
        margin-right: 0.35rem;
    }

    .sidebar-brand p {
        display: block;
        font-size: 0.65rem;
        opacity: 0.75;
        margin: 0;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .menu-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .menu-item i {
        font-size: 1.15rem;
        margin-right: 0.75rem;
    }

    .menu-item span {
        display: inline;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Ajustar padding del contenido */
    .content-wrapper {
        padding: 1.5rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Prevenir expansión de elementos */
    .content-wrapper > * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Corregir Bootstrap rows que causan overflow */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
    }

    .row > * {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .col, .col-6, .col-md-6, .col-lg-3, .col-lg-6 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* Cards en móvil */
    .stat-card, .card, .alert, .content-card {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    /* Canvas responsive - SOLUCIÓN AL GRÁFICO */
    canvas {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    #weightChart {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Título del navbar más pequeño en móvil */
    .top-navbar h4 {
        font-size: 1rem;
    }

    /* Botones full-width en móviles */
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0 !important;
    }

    /* Auth cards más pequeñas */
    .auth-card {
        padding: 2rem 1.5rem;
    }

    /* Formularios más compactos */
    .form-control-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    /* Testimonials y features */
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Tablas con scroll */
    table {
        font-size: 0.875rem;
    }

    .table thead th {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .table tbody td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    /* Navbar usuario más compacto */
    .navbar-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Correcciones adicionales para Chrome móvil */
    @supports (-webkit-appearance: none) {
        .top-navbar {
            max-width: 100vw;
            overflow-x: hidden;
        }

        .sidebar-brand h3 {
            overflow: visible !important;
            text-overflow: clip !important;
        }

        .btn-menu-toggle {
            -webkit-user-select: none;
            user-select: none;
            touch-action: manipulation;
        }

        /* Asegurar que el gráfico no cause overflow */
        .card-body {
            overflow-x: hidden;
            max-width: 100%;
        }

        .chart-container {
            overflow-x: hidden;
            max-width: 100%;
            position: relative;
        }
    }
}

/* Móviles extra pequeños */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .auth-card {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* ========== ALERTAS PERSONALIZADAS ========== */
.alert-custom {
    border-radius: var(--radius-md);
    border: none;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success-custom {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger-custom {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ========== ANIMACIONES ========== */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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