/**
 * Login Page - Design Moderno
 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
}

/* Container Principal */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Lado Esquerdo - Welcome */
.login-left {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.logo-area {
    margin-bottom: 60px;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color, #FFD700);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo-img {
    max-width: 250px;
    height: auto;
}

.form-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    margin-top: -15px;
}

.welcome-text h2 {
    font-size: 32px;
    font-weight: 400;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.welcome-text h1 {
    font-size: 72px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1;
}

.welcome-text .subtitle {
    font-size: 18px;
    color: #999;
    line-height: 1.6;
}

/* Lado Direito - Form */
.login-right {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-form-container {
    max-width: 480px;
    width: 100%;
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #fff;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

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

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.form-group input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    background: #222;
}

.form-group input::placeholder {
    color: #666;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    width: 100%;
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #FFD700;
}

.form-footer-links {
    text-align: right;
}

.forgot-password {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #FFD700;
}

.btn {
    background: var(--primary-color, #FFD700);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.btn:hover {
    background: var(--primary-color, #FFD700);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 40px 20px;
    }
    
    .login-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .form-group input {
        padding: 14px 16px;
    }
    
    .btn {
        padding: 16px 24px;
    }
}
