:root {
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --text-primary: #ffffff;
    --primary-color: #ffffff;
    --primary-hover: #f5f5f5;
    --secondary-color: #e5e5e5;
    --dark-background: #111111;
    --accent-color: #a3a3a3;
    --border-color: #2a2a2a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --glow-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.05);
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: var(--font-family);
    background: #0a0a0a;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.logo-img {
    max-width: 180px;
    height: auto;
    padding-bottom: 30px;
    padding-top: 20px;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 25px rgba(255, 255, 255, 0.15));
}

.logo-wrapper {
    display: none;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-img {
    max-height: 40px;
    width: auto;
    height: auto;
}

.header-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.nav-btn-login {
    color: var(--text-color);
    background: transparent;
}

.nav-btn-login:hover {
    background: var(--hover-bg);
}

.nav-btn-login.active {
    color: var(--secondary-color);
    background: transparent;
}

.nav-btn-signup {
    color: #000000;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #d4d4d4 100%);
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.nav-btn-signup:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #e5e5e5 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.nav-btn-signup.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.2);
}

.optional {
    color: var(--accent-color);
    font-weight: 400;
    font-size: 12px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 30%, #1a1a1a 60%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--dark-background);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-left {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 30%, #1a1a1a 60%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.login-visual {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.visual-content {
    color: #ffffff;
}

.visual-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.visual-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.visual-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.visual-decoration {
    display: none;
}

.decoration-circle {
    display: none;
}

.circle-1,
.circle-2,
.circle-3 {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--dark-background);
}

.login-container {
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    margin-bottom: 40px;
    text-align: left;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.login-header p {
    font-size: 15px;
    color: var(--accent-color);
    margin: 0;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 35px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

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

.image-banner {
    display: none;
}

h1 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form {
    margin-top: 20px;
}

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

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--accent-color);
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-input {
    width: 100%;
    padding: 14px 50px 14px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: var(--accent-color);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    margin-top: 6px;
    font-weight: 400;
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    transition: all 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.logo-container {
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 50%, #d4d4d4 100%);
    border: none;
    color: #000000;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    margin-top: 32px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

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

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

label {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

label:hover {
    color: var(--text-color);
}

input[type="checkbox"] {
    margin-right: 8px;
    margin-left: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--secondary-color);
    border-radius: 4px;
}

p {
    margin-top: 25px;
    font-size: 14px;
    color: var(--accent-color);
}

p a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 0.3s ease;
}

p a:hover::after {
    width: 100%;
}

p a:hover {
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 30px 0;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
    font-size: 14px;
}

.remember-checkbox:hover {
    color: var(--text-color);
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.forgot-password:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.signup-prompt {
    margin-top: 32px;
    text-align: center;
}

.signup-prompt p {
    margin: 0;
    color: var(--accent-color);
    font-size: 14px;
}

.signup-prompt a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.signup-prompt a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.login-divider {
    margin: 32px 0;
    text-align: center;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    position: relative;
    background: var(--dark-background);
    padding: 0 16px;
    color: var(--accent-color);
    font-size: 14px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-family);
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn i {
    font-size: 18px;
    color: var(--primary-color);
}

.signup-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-form {
    margin-top: 10px;
}

/* Melhorias nos inputs */
.input-group input:not(:placeholder-shown) {
    border-color: var(--border-color);
}

.input-group input:valid {
    border-color: var(--border-color);
}

/* Animação de loading no botão */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn span {
    position: relative;
    z-index: 1;
}


/* Responsividade */
@media (max-width: 968px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-right {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .header-logo-img {
        max-height: 35px;
    }
    
    .nav-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    
    .login-right {
        padding: 30px 20px;
    }
    
    .login-container {
        max-width: 100%;
    }
    
    .login-header h1 {
        font-size: 28px;
    }
    
    .visual-title {
        font-size: 32px;
    }
    
    .visual-subtitle {
        font-size: 16px;
    }
    
    .visual-stats {
        gap: 20px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .feature-item {
        gap: 12px;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .feature-content h3 {
        font-size: 15px;
    }
    
    .feature-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .header-nav {
        width: 100%;
        justify-content: center;
    }
    
    .nav-btn {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
    
    .login-wrapper {
        min-height: auto;
    }
    
    .login-right {
        padding: 30px 20px;
    }
    
    .login-container {
        max-width: 100%;
    }
    
    .login-header {
        text-align: center;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-header p {
        font-size: 14px;
    }
    
    .form-input {
        padding: 12px 45px 12px 45px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
    
    .visual-stats {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .stat-item {
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-content {
        text-align: center;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


