/* Auth Page Styling */
:root {
    --primary-bg: #131722;
    --secondary-bg: #20242a;
    --card-bg: #2b3038;
    --text-color: #d3d3d3;
    --accent-color: #d1b764;
    --highlight-color: #555c65;
    --border-color: #3f444c;
    --profit-color: #28a745;
    --loss-color: #dc3545;
    --button-color: #d1b764;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Branding */
.auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(209, 183, 100, 0.1) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(209, 183, 100, 0.05) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    border-radius: 50%;
}

.branding {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.auth-logo {
    width: 180px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-tagline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.brand-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 500px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(209, 183, 100, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: rgba(209, 183, 100, 0.05);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Features List */
.features-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(209, 183, 100, 0.05);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Right Side - Form */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-color: var(--primary-bg);
}

.form-wrapper {
    width: 100%;
    max-width: 480px;
    background-color: var(--secondary-bg);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-color);
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--accent-color);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(209, 183, 100, 0.1);
}

.form-group input::placeholder {
    color: var(--highlight-color);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--accent-color);
}

.password-strength {
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.password-strength .weak {
    color: var(--loss-color);
}

.password-strength .medium {
    color: #ffc107;
}

.password-strength .strong {
    color: var(--profit-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-color);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.forgot-link, .terms-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.forgot-link:hover, .terms-link:hover {
    opacity: 0.8;
}

.auth-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b89b4f 100%);
    color: var(--primary-bg);
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 183, 100, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 15px;
    font-weight: 600;
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--secondary-bg);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.social-btn i {
    font-size: 1.3rem;
}

.google-btn:hover {
    color: #fff;
}

.discord-btn:hover {
    color: #5865F2;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-color);
}

.switch-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.switch-link:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-left {
        padding: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .brand-tagline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-left {
        padding: 40px 20px;
    }
    
    .auth-right {
        padding: 40px 20px;
    }
    
    .form-wrapper {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .brand-tagline {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
