:root {
    --bg-color: #f8fafc;
    --text-primary: #0c1524;
    --text-secondary: #64748b;
    --accent-color: #c99349;
    --accent-hover: #b07d35;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --google-blue: #4285f4;
    --facebook-blue: #1877f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(201, 147, 73, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(201, 147, 73, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.login-container {
    width: 100%;
    max-width: 420px;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-strong);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.bike-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
}

.login-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* SOCIAL UI */
.social-login-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-auth img {
    width: 20px;
    height: 20px;
}

.btn-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 12px;
}

/* TABS UI */
.auth-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 9px;
    transition: all 0.2s;
}

.tab-btn.active {
    background: white;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hidden {
    display: none;
}

/* FORM UI */
.form-section-auth {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-login input {
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: white;
}

.email-login input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(201, 147, 73, 0.1);
}

.show-pass-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding-left: 4px;
}

.show-pass-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.show-pass-container label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.btn-primary {
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--accent-color);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.verify-header {
    text-align: center;
    margin-bottom: 20px;
}

.verify-header h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.verify-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--text-primary);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .glass-panel {
        padding: 24px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }
}