:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #1e3a5f;
    --secondary: #f59e0b;
    --dark: #e5e7eb;
    --light: #1a1a2e;
    --gray: #9ca3af;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --white: #ffffff;
    --black: #0a0a0a;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: radial-gradient(circle at 30% 10%, #1a1a2e, #0f0f1a, #0a0a0f);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: linear-gradient(135deg, #1e1e3a, #0f0f1a);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-hero {
    flex: 1;
    background: linear-gradient(135deg, #1a1a3a 0%, #0a0a1a 100%);
    color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(59,130,246,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.auth-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(10, 10, 20, 0.5);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 2rem;
    display: inline-block;
}

.logo span {
    color: var(--primary);
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.auth-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

/* Message Box Styles */
.message-box {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    display: none;
}

.message-box.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-left: 4px solid var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.message-box.success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-left: 4px solid var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.message-box.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-left: 4px solid var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.message-box i {
    font-size: 1.25rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--white);
}

.form-group label i {
    color: var(--primary);
    width: 16px;
}

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    background: rgba(10, 10, 20, 0.8);
    color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-control::placeholder {
    color: var(--gray);
}

/* Enhanced Password Input with Integrated Toggle */
.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container .form-control {
    padding-right: 3.5rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input {
    width: 16px;
    height: 16px;
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.remember-me label {
    color: var(--gray);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.8);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--error);
    transform: translateY(-2px);
}

.btn-google {
    background: rgba(10, 10, 20, 0.8);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-google:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    color: var(--primary-dark);
}

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--white);
}

.features-list li i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.auth-forms {
    position: relative;
}

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

.auth-form-panel.active {
    display: flex;
    flex-direction: column;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: var(--transition);
}

.strength-text {
    font-size: 0.875rem;
    color: var(--gray);
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terms-agreement input {
    margin-top: 0.25rem;
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.terms-agreement label {
    font-size: 0.875rem;
    color: var(--gray);
}

.terms-agreement a {
    color: var(--primary);
    text-decoration: none;
}

.terms-agreement a:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
        max-width: 600px;
    }

    .auth-hero {
        padding: 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .auth-content {
        padding: 2rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

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

    .auth-content, .auth-hero {
        padding: 1.5rem;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .auth-tab {
        padding: 0.75rem 1rem;
    }
}1
