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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-x: hidden;
}

.auth-container {
    width: 100%;
    max-width: 100%;
    background: #000;
    overflow: hidden;
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Left Side - Branding */
.auth-left {
    background: #000;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    border-right: 1px solid #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #00D632;
    animation: fadeInUp 0.6s ease;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.brand-tagline {
    font-size: 20px;
    color: #888;
    font-weight: 400;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* Right Side - Auth Form */
.auth-right {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1a1a1a;
    animation: fadeIn 0.6s ease 0.3s backwards;
}

.auth-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

.auth-tab {
    flex: 1;
    padding: 16px 0;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
    color: #888;
    border: 1px solid #2a2a2a;
}

.auth-tab.active {
    background: #00D632;
    color: #000;
    border-color: #00D632;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 214, 50, 0.3);
}

.auth-tab:hover:not(.active) {
    background: #0a0a0a;
    border-color: #00D632;
    transform: translateY(-1px);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInUp 0.5s ease;
}

.auth-form.hidden {
    display: none;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.form-group input {
    padding: 16px 20px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
    color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #00D632;
    background: #0a0a0a;
    box-shadow: 0 0 0 3px rgba(0, 214, 50, 0.1);
    transform: translateY(-1px);
}

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

.submit-btn {
    padding: 18px 32px;
    background: #00D632;
    color: #000;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #00ff3c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 214, 50, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 214, 50, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .auth-content {
        grid-template-columns: 1fr;
    }

    .auth-left {
        padding: 50px 40px;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
        min-height: auto;
    }

    .auth-right {
        padding: 50px 40px;
    }

    .logo {
        font-size: 56px;
    }

    .brand-title {
        font-size: 36px;
    }

    .brand-tagline {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .auth-left {
        padding: 40px 30px;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .logo {
        font-size: 48px;
    }

    .brand-title {
        font-size: 32px;
    }

    .brand-tagline {
        font-size: 16px;
    }

    .auth-tabs {
        gap: 8px;
    }

    .auth-tab {
        padding: 14px 0;
        font-size: 15px;
    }

    .form-group input {
        padding: 14px 18px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .auth-left {
        padding: 30px 20px;
    }

    .auth-right {
        padding: 30px 20px;
    }

    .logo {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .brand-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .brand-tagline {
        font-size: 15px;
    }

    .auth-tabs {
        margin-bottom: 32px;
    }

    .form-group {
        gap: 8px;
    }

    .form-group input {
        padding: 12px 16px;
        border-radius: 10px;
    }
}

/* Success Message */
.success-message {
    padding: 14px 20px;
    background: #00D632;
    color: #000;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message.show {
    display: block;
}

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

/* Error Message */
.error-message {
    padding: 14px 20px;
    background: #ff4444;
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-message.show {
    display: block;
}

/* Loading State */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Input Animation */
.form-group input:not(:placeholder-shown) {
    border-color: #2a2a2a;
}

.form-group input:not(:placeholder-shown) + label {
    color: #00D632;
}

/* Smooth scrolling for mobile */
@media (max-width: 968px) {
    .auth-content {
        scroll-behavior: smooth;
    }
}
