:root {
    --bg-main: #070b14;
    --bg-secondary: #0f1729;
    --card-bg: rgba(12, 18, 34, 0.88);
    --text-main: #f5f7fb;
    --text-muted: #a8b3c7;
    --primary: #d90429;
    --primary-hover: #ef233c;
    --accent: #3a86ff;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 20px 50px rgba(0,0,0,0.4);
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-main));
    color: var(--text-main);
    position: relative;
    overflow-x: hidden;
}

.auth-background::before,
.auth-background::after {
    content: "";
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-background::before {
    top: -60px;
    left: -80px;
    background: rgba(217,4,41,0.25);
}

.auth-background::after {
    bottom: -80px;
    right: -60px;
    background: rgba(58,134,255,0.22);
}

.auth-card {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 35px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.auth-logo-circle {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow);
}

.auth-brand h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.auth-brand p {
    color: var(--text-muted);
    margin: 0;
}

.form-label {
    color: var(--text-main);
    font-weight: 600;
}

.auth-input-group .input-group-text,
.auth-input-group .form-control,
.auth-input-group .btn {
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--text-main);
}

.auth-input-group .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(58,134,255,0.15);
    border-color: var(--accent);
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
}

.btn-auth-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
    color: #fff;
    padding: 12px;
    font-weight: 700;
    border-radius: 12px;
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    color: #fff;
}

.btn-google {
    background: #ffffff;
    color: #222;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    border: none;
}

.btn-google:hover {
    background: #f2f2f2;
    color: #111;
}

.divider {
    text-align: center;
    position: relative;
    margin: 22px 0;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border);
}

.divider span {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    padding: 0 12px;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent);
}

.auth-links a:hover {
    color: #fff;
}