* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Fondo Degradado de Atardecer Playero: Violeta profundo -> Coral -> Dorado cálido */
    background: radial-gradient(circle at center, #38195e 0%, #a0452a 45%, #ca8c1a 85%, #dfc23e 100%);
    background-color: #dfad42;
    color: #fff5f7; /* Texto principal claro para óptima legibilidad */
}

.login-container {
    background: rgba(24, 10, 36, 0.88);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #f18ea7;
    /* Sombras de neón en tonos coral y rosa */
    box-shadow: 0 0 25px rgba(255, 123, 156, 0.637), 0 0 50px rgba(202, 140, 26, 0.25);
    width: 100%;
    max-width: 400px;
}

/* Contenedor sin sombras ni fondos */
.title-wrapper {
    width: 100%;
    min-height: 2.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    background: transparent;
}

/* Color sólido + Sombra neón difuminada con text-shadow */
.title-wrapper h2 {
    font-size: 1.8rem;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    margin: 0;
    white-space: pre;
    display: inline-block;
    position: relative;
    padding-right: 8px;
    
    color: #ff7b9c;
    
    /* Resplandor multicapa con text-shadow directo en el texto */
    text-shadow: 0 0 8px rgba(255, 123, 156, 0.8),
                 0 0 16px rgba(255, 123, 156, 0.5);
}

/* Cursor parpadeante alineado */
.title-wrapper h2::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background-color: #ff7b9c;
    box-shadow: 0 0 8px #ff7b9c;
    animation: blinkSmooth 0.8s ease-in-out infinite alternate;
}

@keyframes blinkSmooth {
    0% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0.8); }
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ffd8c4; /* Tono durazno cálido */
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ff9a8b;
    border-radius: 8px;
    background: rgba(18, 7, 28, 0.9);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.input-group input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 14px rgba(255, 107, 107, 0.65);
}

#btnLogin {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    /* Degradado Neón Coral a Durazno */
    background: linear-gradient(135deg, #ff7b9c 0%, #ff9a8b 50%, #f97316 100%);
    color: #180926;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 123, 156, 0.5);
}

#btnLogin:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
    box-shadow: 0 0 22px rgba(255, 107, 107, 0.8);
    transform: translateY(-1px);
}

#btnLogin:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.status-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.status-message.success { 
    color: #ffd8c4; 
    text-shadow: 0 0 8px rgba(255, 216, 196, 0.6);
}

.status-message.error { 
    color: #ff5252; 
    text-shadow: 0 0 8px rgba(255, 82, 82, 0.7);
}