sidebar/* =========================================================
   🧩 app.css
   Estructura base para Blazor Web App PIDT
   ---------------------------------------------------------
   👉 Usa variables globales PIDT definidas en syncfusion-pidt.css
   ========================================================= */

    /* 🔹 Contenedor principal */
.content {
    padding: 1rem;
    box-sizing: border-box;
}

/* 🔹 Manejo de foco accesible */
:focus {
    outline: 2px solid var(--pidt-accent-tecna-ice);
    outline-offset: 1px;
    transition: outline 0.2s ease;
}

/* =========================================================
   ✅ ESTADOS DE VALIDACIÓN
   ========================================================= */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--pidt-success);
}

.invalid {
    outline: 1px solid var(--pidt-danger);
}

.validation-message {
    color: var(--pidt-danger);
    font-family: var(--pidt-font-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

/* =========================================================
   ⚠️ ERRORES DE BLAZOR
   ========================================================= */

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pidt-danger);
    color: #fff;
    padding: 0.6rem 1rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: var(--pidt-font-primary);
}

#blazor-error-ui .reload,
#blazor-error-ui .dismiss {
    color: #fff;
    margin-left: 0.5rem;
    text-decoration: underline;
    cursor: pointer;
}


/* =========================================================
   📐 LAYOUT GENERAL
   ========================================================= */

html, body, #app {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--pidt-surface);
    color: var(--pidt-text);
}

main {
    display: block;
}

/* =========================================================
   🧱 COMPONENTES COMUNES
   ========================================================= */

.btn-primary {
    background-color: var(--pidt-primary);
    border: none;
    color: var(--pidt-background);
    border-radius: var(--pidt-radius);
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: var(--pidt-font-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--pidt-accent);
    transform: translateY(-1px);
}

.header {
    background-color: var(--pidt-background);
    color: var(--pidt-text);
    font-family: var(--pidt-font-primary);
    padding: 0.75rem 1rem;
    box-shadow: var(--pidt-shadow);
}

/* =========================================================
   🔧 OVERRIDES SYNCFUSION
   ========================================================= */

.e-control,
.e-lib,
.e-blazor {
    font-family: var(--pidt-font-secondary) !important;
}

.e-btn {
    font-family: var(--pidt-font-primary) !important;
    border-radius: var(--pidt-radius);
}

/* =========================================================
   🩸 VALIDACIÓN SYNCFUSION PIDT
   ========================================================= */

.e-data-form .validation-message {
    color: var(--pidt-danger) !important;
    font-family: var(--pidt-font-primary);
    font-style: normal !important;
    font-weight: 500;
    font-size: 0.75rem !important;
    letter-spacing: 0.3px;
    margin-top: 4px;
    animation: fadeError 0.25s ease-in;
}

@keyframes fadeError {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.e-error input,
.e-input.e-error input {
    border-color: var(--pidt-danger) !important;
    box-shadow: 0 0 6px rgba(229, 57, 53, 0.25);
}

.e-data-form .e-form-label.e-error {
    color: var(--pidt-danger) !important;
}

/* =========================================================
   🌙 TRANSICIÓN GLOBAL
   ========================================================= */
body, .header, .btn-primary, .validation-message {
    transition: background-color 0.5s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

/* ================================================================
   PIDT.AIPA - PROFESSIONAL PAGE TRANSITIONS
   Colección completa de animaciones profesionales
   ================================================================ */

/* ====================================
   BASE TRANSITION STYLES
   ==================================== */
.page-transition {
    animation-fill-mode: both;
    will-change: transform, opacity;
}

/* ====================================
   1. SLIDE + SCALE (iOS/macOS Style)
   ⭐ MÁS RECOMENDADA - Equilibrio perfecto
   Usada por: Apple, Notion, Linear
   ==================================== */
.page-transition.slide-scale {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.slide-scale.fade-in {
    animation-name: slideScaleIn;
}

.page-transition.slide-scale.fade-out {
    animation-name: slideScaleOut;
}

@keyframes slideScaleIn {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideScaleOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-40px) scale(0.96);
    }
}

/* ====================================
   2. MORPH/ZOOM (Framer Style)
   ⭐ MUY IMPACTANTE
   Usada por: Framer, Webflow, Stripe
   ==================================== */
.page-transition.morph-zoom {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition.morph-zoom.fade-in {
    animation-name: morphZoomIn;
}

.page-transition.morph-zoom.fade-out {
    animation-name: morphZoomOut;
}

@keyframes morphZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes morphZoomOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: scale(1.05) translateY(-20px);
        filter: blur(8px);
    }
}

/* ====================================
   3. BLUR + FADE (Windows 11/Fluent)
   ⭐ ELEGANTE Y MODERNO
   Usada por: Microsoft, Spotify, Discord
   ==================================== */
.page-transition.blur-fade {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-transition.blur-fade.fade-in {
    animation-name: blurFadeIn;
}

.page-transition.blur-fade.fade-out {
    animation-name: blurFadeOut;
}

@keyframes blurFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
        filter: blur(12px) saturate(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) saturate(1);
    }
}

@keyframes blurFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) saturate(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
        filter: blur(12px) saturate(0.8);
    }
}

/* ====================================
   4. 3D ROTATE (Cinematic)
   ⭐ WOW FACTOR - Para dashboards ejecutivos
   Usada por: Behance, Dribbble
   ==================================== */
.page-transition.rotate-3d {
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.page-transition.rotate-3d.fade-in {
    animation-name: rotate3DIn;
}

.page-transition.rotate-3d.fade-out {
    animation-name: rotate3DOut;
}

@keyframes rotate3DIn {
    0% {
        opacity: 0;
        transform: rotateY(-15deg) rotateX(5deg) translateZ(-50px) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: rotateY(0) rotateX(0) translateZ(0) scale(1);
        filter: blur(0);
    }
}

@keyframes rotate3DOut {
    0% {
        opacity: 1;
        transform: rotateY(0) rotateX(0) translateZ(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: rotateY(15deg) rotateX(-5deg) translateZ(-50px) scale(0.95);
        filter: blur(5px);
    }
}

/* ====================================
   5. FLIP VERTICAL (Card Style)
   ⭐ CREATIVO
   Usada por: Portfolio sites, Card UIs
   ==================================== */
.page-transition.flip {
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.page-transition.flip.fade-in {
    animation-name: flipVerticalIn;
}

.page-transition.flip.fade-out {
    animation-name: flipVerticalOut;
}

@keyframes flipVerticalIn {
    0% {
        opacity: 0;
        transform: rotateX(-90deg) translateY(40px);
        transform-origin: top center;
    }
    100% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
        transform-origin: top center;
    }
}

@keyframes flipVerticalOut {
    0% {
        opacity: 1;
        transform: rotateX(0) translateY(0);
        transform-origin: bottom center;
    }
    100% {
        opacity: 0;
        transform: rotateX(90deg) translateY(-40px);
        transform-origin: bottom center;
    }
}

/* ====================================
   6. CUBE ROTATION
   ⭐ MODERNO Y ÚNICO
   Usada por: Modern web apps
   ==================================== */
.page-transition.cube {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
    perspective: 1200px;
    transform-style: preserve-3d;
}

.page-transition.cube.fade-in {
    animation-name: cubeRotateIn;
}

.page-transition.cube.fade-out {
    animation-name: cubeRotateOut;
}

@keyframes cubeRotateIn {
    0% {
        opacity: 0;
        transform: rotateY(-90deg) scale(0.8);
        transform-origin: center right;
    }
    100% {
        opacity: 1;
        transform: rotateY(0) scale(1);
        transform-origin: center right;
    }
}

@keyframes cubeRotateOut {
    0% {
        opacity: 1;
        transform: rotateY(0) scale(1);
        transform-origin: center left;
    }
    100% {
        opacity: 0;
        transform: rotateY(90deg) scale(0.8);
        transform-origin: center left;
    }
}

/* ====================================
   7. ELASTIC (Playful)
   ⭐ DIVERTIDA - Para apps casuales
   Usada por: Apps de lifestyle, juegos
   ==================================== */
.page-transition.elastic {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.page-transition.elastic.fade-in {
    animation-name: elasticIn;
}

.page-transition.elastic.fade-out {
    animation-name: elasticOut;
}

@keyframes elasticIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes elasticOut {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
    40% {
        transform: scale(1.05) rotate(-2deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(5deg);
    }
}

/* ====================================
   8. GLITCH (Tech/Cyberpunk)
   ⭐ ÚNICO - Para apps tech/gaming
   Efecto glitch muy impactante
   ==================================== */
.page-transition.glitch {
    animation-duration: 0.4s;
    animation-timing-function: steps(5);
}

.page-transition.glitch.fade-in {
    animation-name: glitchIn;
}

.page-transition.glitch.fade-out {
    animation-name: glitchOut;
}

@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
        clip-path: inset(0 100% 0 0);
    }
    20% {
        clip-path: inset(0 80% 0 0);
        transform: translateX(-5px);
    }
    40% {
        clip-path: inset(0 60% 0 0);
        transform: translateX(5px);
    }
    60% {
        clip-path: inset(0 40% 0 0);
        transform: translateX(-3px);
    }
    80% {
        clip-path: inset(0 20% 0 0);
        transform: translateX(2px);
    }
    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
}

@keyframes glitchOut {
    0% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateX(0);
    }
    20% {
        clip-path: inset(0 0 0 20%);
        transform: translateX(2px);
    }
    40% {
        clip-path: inset(0 0 0 40%);
        transform: translateX(-3px);
    }
    60% {
        clip-path: inset(0 0 0 60%);
        transform: translateX(5px);
    }
    80% {
        clip-path: inset(0 0 0 80%);
        transform: translateX(-5px);
    }
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translateX(10px);
    }
}

/* ====================================
   PERFORMANCE OPTIMIZATIONS
   ==================================== */
.page-transition {
    /* Optimizaciones GPU */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;

    /* Suavizado de bordes */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reducir animaciones para usuarios con preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .page-transition {
        animation-duration: 0.8s !important;
        animation-timing-function: linear !important;
    }

    .page-transition.fade-in {
        animation-name: simpleFadeIn !important;
    }

    .page-transition.fade-out {
        animation-name: simpleFadeOut !important;
    }

    @keyframes simpleFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes simpleFadeOut {
        from { opacity: 1; }
        to { opacity: 0; }
    }
}

/* =========================================================
   🚀 SPLASH SCREEN PIDT G-CASST — CORPORATIVO TECNA ICE
   ========================================================= */

/* ================== CONTENEDOR PRINCIPAL ================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(14, 26, 78, 0) 0%, rgba(0, 51, 153, 0) 50%, rgba(0, 102, 204, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    filter: blur(6px) brightness(0.8) saturate(0.6);
    transition: all 0.8s ease-in-out;
}

.splash-screen.visible {
    opacity: 1;
    filter: blur(0) brightness(1) saturate(1.2);
    background: linear-gradient(135deg, #0e1a4e 0%, #003399 50%, #0066cc 100%);
    animation: reveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.splash-screen.fade-out {
    animation: vanish 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* ================== ANIMACIÓN REVEAL ================== */
@keyframes reveal {
    0% {
        opacity: 0;
        filter: blur(12px) brightness(0.6) saturate(0.5);
        background: linear-gradient(135deg, rgba(14, 26, 78, 0) 0%, rgba(0, 51, 153, 0) 50%, rgba(0, 102, 204, 0) 100%);
        transform: scale(1.05);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px) brightness(0.9) saturate(0.8);
    }
    100% {
        opacity: 1;
        filter: blur(0) brightness(1) saturate(1.2);
        background: linear-gradient(135deg, #0e1a4e 0%, #003399 50%, #0066cc 100%);
        transform: scale(1);
    }
}

@keyframes vanish {
    0% {
        opacity: 1;
        filter: blur(0) brightness(1) saturate(1);
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        filter: blur(3px) brightness(0.9) saturate(0.8);
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        filter: blur(10px) brightness(0.7) saturate(0.5);
        transform: scale(1.05);
    }
}

/* ================== PARTÍCULAS ================== */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; top: 20%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; top: 60%; animation-delay: 8s; }
.particle:nth-child(10) { left: 15%; top: 90%; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% { transform: translateY(-100px) translateX(50px); }
}

/* ================== LOGO (usando animación del SignIn) ================== */
.logo-container {
    position: absolute;
    top: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
}

.splash-logo {
    width: 160px;
    opacity: 0;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.7));
    animation:
            logoReveal 1s ease-out forwards,
            logoPulse 5s ease-in-out 1s infinite alternate;
}

@keyframes logoReveal {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 0.95; transform: scale(1); }
}

@keyframes logoPulse {
    from { opacity: 0.7; transform: scale(1); }
    to { opacity: 0.8; transform: scale(1.05); }
}

/* ================== LOADER RINGS ================== */
.loader-rings {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
}

.ring {
    position: absolute;
    border: 3px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.ring:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    animation-duration: 1.5s;
}

.ring:nth-child(2) {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    animation-duration: 2s;
    border-top-color: rgba(255, 255, 255, 0.6);
}

.ring:nth-child(3) {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    animation-duration: 2.5s;
    border-top-color: rgba(255, 255, 255, 0.4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================== TEXTO ================== */
.splash-text {
    color: white;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

/* ================== PROGRESS BAR ================== */
.progress-bar {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
}

/* ================== TEXTO DEL PORCENTAJE ================== */
.loading-progress-text {
    color: #ffffff !important;
    font-family: var(--pidt-font-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-align: center;
    margin-top: 1px;
    animation: fadeInText 0.5s ease-in forwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* ================== FOOTER ================== */
.splash-footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    .splash-text {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .progress-bar {
        width: 250px;
    }

    .splash-logo {
        width: 120px;
    }

    .loader-rings {
        width: 160px;
        height: 160px;
    }

    .ring:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 40px;
        left: 40px;
    }

    .ring:nth-child(2) {
        width: 110px;
        height: 110px;
        top: 25px;
        left: 25px;
    }

    .ring:nth-child(3) {
        width: 140px;
        height: 140px;
        top: 10px;
        left: 10px;
    }
}

/* =========================================================
   🔐 SignIn Layout — Fondo animado tipo red neuronal
   ========================================================= */

.signin-bg {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4459D7, #003399, #36C1FF);
    background-size: 200% 200%;
    /* 🔹 Se pausa hasta que JS la arranque */
    animation-play-state: paused;
}

/* 🔹 Clase que activa la animación sincronizada */
.signin-bg.animate-bg {
    animation-play-state: running;
}


/* 🔹 Canvas — red neuronal */
#neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    z-index: 0;
}

/* 🔹 Logo PIDT */
.signin-logo {
    position: absolute;
    top: 8%;
    width: 160px;
    opacity: 0.95;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.7));
    animation: logoPulse 5s ease-in-out infinite alternate;
    z-index: 1;
}

/* =========================================================
   🧱 Contenedor del formulario
   ========================================================= */

.signin-main {
    position: relative;
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 22px;
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    padding: 3rem 20rem;
    width: auto;
    max-width: 540px;
    transition: all 0.3s ease-in-out;
    animation: none;
    transform: none;
}

/* Hover suave, solo en interacción */
.signin-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 60px rgba(68, 89, 215, 0.35);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.65);
}

.signin-outer {
    margin-left: -240px;
    margin-right: -240px;
}

/* Equivalente a: style="display:flex; justify-content:center;" */
.signin-button {
    display: flex;
    justify-content: center;
}

/* =========================================================
   🧩 Inputs y botones
   ========================================================= */

.signin-main input {
    height: 42px;
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.25);
    color: #222;
    font-style: normal;
}

.signin-main input:focus {
    border-color: #8E3EF1;
    box-shadow: 0 0 10px rgba(142, 62, 241, 0.4);
    background: rgba(255, 255, 255, 0.3);
}

/* 🔹 Botón PIDT */
.signin-main .e-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 12px;
    height: 44px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(68, 89, 215, 0.4);
}

.signin-main .e-btn:hover {
    background-color: var(--color-secondary);
    box-shadow: 0 0 16px rgba(54, 193, 255, 0.6);
}

/* =========================================================
   🧩 Contenido del formulario
   ========================================================= */

.signin-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signin-content .e-form-label {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: 600;
    font-style: normal;
}

.signin-content .e-input-group {
    border-radius: var(--border-radius);
}

/* =========================================================
   ⚠️ Errores y validaciones limpias
   ========================================================= */

/* Oculta validaciones globales */
.e-validation-summary,
.validation-summary-errors {
    display: none !important;
}

/* Estilo de errores específicos */
.signin-content .e-validation-error,
.field-validation-error {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.2rem;
    font-style: normal;
    letter-spacing: 0.3px;
}

/* Borde de error elegante */
input.e-error,
input.input-validation-error {
    border-color: rgba(231, 76, 60, 0.8) !important;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   📱 Responsive
   ========================================================= */
@media (max-width: 480px) {
    .signin-main {
        padding: 1.5rem;
        max-width: 90%;
    }

    .signin-logo {
        width: 120px;
        top: 10%;
    }
}

/* =========================================================
   🧠 Estado final estable
   ========================================================= */
.signin-main.animate-float {
    animation: none;
    transform: none;
}
