:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --primary-black: #000000;
    --text-gray: #6B7280;
    --input-bg: #F3F4F6;
    --active-tab-bg: #FFFFFF;
}

body {
    background-image: url('../images/login-bg-wes.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    margin: 0;
    position: relative;
}

/* Ensure card is above animation */
.auth-card {
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--glass-shadow);
    text-align: center;
}

/* Header */
.auth-header {
    margin-bottom: 30px;
}

.auth-logo {
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.auth-subtitle {
    font-size: 12px;
    color: #9CA3AF;
    /* Lighter gray for subtitle */
    letter-spacing: 1px;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Tabs */
.auth-tabs {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 4px;
    display: flex;
    margin-bottom: 30px;
}

.tab-item {
    flex: 1;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-item.active {
    background: var(--active-tab-bg);
    color: var(--primary-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Form */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.form-label {
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left {
    position: absolute;
    left: 16px;
    color: #9CA3AF;
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    /* Left padding for icon */
    background: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
    /* Important for width: 100% */
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #E5E7EB;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
    color: #D1D5DB;
}

/* Password styles */
.password-toggle {
    position: absolute;
    right: 16px;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 16px;
}

.forgot-link {
    font-size: 11px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
}

/* Button */
.btn-adventure {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.1s;
    margin-top: 10px;
}

.btn-adventure:hover {
    transform: scale(1.02);
    background: #111;
}

/* Footer */
.auth-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.privacy-text {
    font-size: 11px;
    color: #9CA3AF;
}

.error-msg {
    color: #EF4444;
    font-size: 13px;
    margin-bottom: 15px;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 8px;
}