/* Assets/CSS/login.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ffffff;
}

.login-container {
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #6366f1, #8b5cf6);
}

.login-left {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-elements::before {
    content: '💰';
    position: absolute;
    top: 20%;
    left: 15%;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::after {
    content: '🎁';
    position: absolute;
    bottom: 30%;
    right: 20%;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.brand-section h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.brand-section .fire-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 3rem;
}

.brand-section p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 40px;
}

.offers-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.offer-badge {
    background: rgba(255,255,255,0.25);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-right {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(20, 20, 35, 0.9);
}

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

.form-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 24px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.divider span {
    background: rgba(20, 20, 35, 0.9);
    padding: 0 20px;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    text-decoration: none;
}

.social-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
}

.forgot-section {
    text-align: center;
    margin-top: 32px;
}

.forgot-section a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-section a:hover {
    color: #f7931e;
}

.register-prompt {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.register-prompt a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 700;
}

.register-prompt a:hover {
    color: #f7931e;
}

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    
    .login-left {
        order: 2;
        padding: 30px;
        text-align: center;
    }
    
    .brand-section h1 {
        font-size: 2.4rem;
    }
    
    .offers-preview {
        justify-content: center;
    }
    
    .login-right {
        order: 1;
        padding: 40px 30px;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .login-container {
        border-radius: 16px;
    }
    
    .brand-section h1 {
        font-size: 2rem;
    }
    
    .login-left, .login-right {
        padding: 25px 20px;
    }
    
    .offers-preview {
        flex-direction: column;
        align-items: center;
    }
}

/* Animaciones adicionales */
.login-container {
    animation: fadeInUp 0.6s ease-out;
}

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