/* Definición de Tipografía Corporativa Haptic */
@font-face {
    font-family: 'Haptic';
    src: url('../fonts/Haptic-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Haptic';
    src: url('../fonts/Haptic-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Haptic';
    src: url('../fonts/Haptic-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

:root {
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Haptic', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    height: 100vh;
    overflow: hidden;
}

.main-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* FORM COLUMN (LEFT) */
.form-column {
    flex: 1;
    max-width: 550px;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    overflow-y: auto;
}

.login-wrapper {
    width: 100%;
    max-width: 360px;
}

.logo-box {
    margin-bottom: 35px;
    text-align: center;
}

.logo-box img {
    height: 70px;
    width: auto;
}

.form-header {
    margin-bottom: 35px;
    text-align: center;
}

.form-header h1 {
    font-family: 'Haptic', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    line-height: 1.2;
    color: #1e293b;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.1px;
}

/* Inputs & Form */
.custom-input {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-input:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

.custom-input input {
    background: transparent !important;
    border: none !important;
    padding: 14px 10px !important;
    font-size: 1.05rem !important;
}

.form-label {
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-login {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

.footer-link-box {
    margin-top: 40px;
    text-align: center;
}

/* HERO COLUMN (RIGHT) */
.hero-column {
    flex: 2.2;
    background: radial-gradient(circle at top right, #0f172a, #020617);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Haptic', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: #ffffff;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-shadow: 0 0 50px rgba(255,255,255,0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    font-weight: 400;
    max-width: 550px;
    margin: 0 auto;
}

/* Star Background */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero-column { display: none; }
    .form-column { 
        max-width: 100%; 
        width: 100%; 
        padding: 1.5rem;
    }
    .form-header h1 {
        font-size: 1.75rem;
    }
}
