* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    margin: 0;
    background: var(--brand-bg);
    color: var(--brand-text);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.auth-logo {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo img {
    height: 60px;
}

.auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--brand-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    transition: .2s;
}

.form-group input:focus {
    border-color: var(--brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--brand-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.btn-primary:hover {
    background: var(--brand-secondary);
}

.btn-primary:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-error {
    background: #fee2e2;
    color: var(--brand-error);
}

.alert-success {
    background: #dcfce7;
    color: var(--brand-success);
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
}

.auth-footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

/* FORCE CLICKABILITY – FIX OVERLAY ISSUES */
.auth-card,
.auth-card * {
    pointer-events: auto !important;
}

.auth-card {
    position: relative;
    z-index: 10;
}
/* ---------- TABS ---------- */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin: 15px 0 25px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    background: #f7f7f7;
    cursor: pointer;
    font-weight: 600;
}

.tab-btn.active {
    background: #1f3fb4; /* brand blue */
    color: #fff;
    border-color: #1f3fb4;
}

/* ---------- TAB CONTENT ---------- */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ---------- FORMS ---------- */
.form-group {
    margin-bottom: 15px;
}

.auth-links {
    margin-top: 10px;
    text-align: center;
}

/* ---------- GOOGLE BUTTON ---------- */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.btn-google:hover {
    background: #f5f5f5;
}

