/* 
 * Hoptech Login Design
 * Assets: assets/css/login.css
 */

:root { 
    --puro-purple: #6f42c1; 
    --puro-black: #1a1a1a; 
}

body { 
    font-family: 'Public Sans', sans-serif; 
    background: #f4f7f6; 
    margin:0; 
    overflow: hidden; 
}

.elegant-container { 
    display: flex; 
    min-height: 100vh; 
    width: 100%; 
    margin: 0; 
    padding: 0; 
}

/* --- Left Side: Premium Form --- */
.login-side {
    flex: 0 0 420px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 50px;
    box-shadow: 20px 0 50px rgba(0,0,0,0.02);
    z-index: 10;
}

.login-card-compact {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.input-elegant {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-elegant:focus {
    border-color: var(--puro-purple);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(111,66,193,0.1);
}

.btn-elegant {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #6f42c1 0%, #4e2a84 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(111,66,193,0.2);
}

.btn-elegant:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(111,66,193,0.3);
}

/* --- Right Side: Hero Image --- */
.image-side {
    flex: 1;
    background: #0f172a;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-img-fixed {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/inicio.png');
    background-size: 65% contain;
    background-repeat: no-repeat;
    background-position: center bottom 30px;
    z-index: 1;
}

.glass-overlay {
    position: absolute;
    top: 25px;
    text-align: center;
    z-index: 5;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-overlay h1 {
    color: #fff;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.glass-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .image-side { display: none; }
    .login-side { flex: 1; padding: 40px 20px; align-items: center; justify-content: center; }
    .login-card-compact { width: 100%; max-width: 400px; }
}
