* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.auth-page {
    background: linear-gradient(135deg, #0a0a14 0%, #0f0f1e 50%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    min-height: 620px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    overflow: hidden;
}

.auth-left {
    background: linear-gradient(135deg, #764ba2 0%, #00d4ff 50%, #00ff88 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 45px 45px;
    animation: moveGrid 18s linear infinite;
    opacity: 0.6;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(45px, 45px); }
}

.auth-branding {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.brand-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.brand-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    font-size: 1.9rem;
}

.auth-right {
    background: #0f0f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.auth-form-container {
    width: 100%;
    max-width: 380px;
}

.auth-form-container h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #2a2a3e;
    background: #1a1a2e;
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    background: #151520;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder {
    color: #666666;
}

.form-group small {
    font-size: 0.75rem;
    color: #808080;
    margin-top: 4px;
}

.form-remember,
.form-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.form-remember input,
.form-agree input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00d4ff;
}

.form-agree a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #0a0a14;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

.btn-google {
    background: #1a1a2e;
    color: #ffffff;
    border: 2px solid #2a2a3e;
    margin-top: 8px;
}

.btn-google:hover {
    background: #252535;
    border-color: #00d4ff;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.google-button-container {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666666;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 20px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a3e;
}

.form-switch {
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 20px;
}

.form-switch a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
}

.form-switch a:hover {
    text-decoration: underline;
}

#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: #1a1a2e;
    border: 2px solid #2a2a3e;
    border-left: 4px solid #00d4ff;
    border-radius: 8px;
    padding: 16px;
    animation: slideInRight 0.3s ease-in-out;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.success {
    border-left-color: #00ff88;
}

.notification.error {
    border-left-color: #ff4757;
}

.notification.warning {
    border-left-color: #ffb800;
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.notification-message {
    color: #b0b0b0;
    font-size: 0.85rem;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 0;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 20px;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-form-container h2 {
        font-size: 1.5rem;
    }
}

