/* =========================================
   BASE
========================================= */
:root {
    --bg-primary: #05070d;
    --bg-secondary: #0a1220;

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);

    --text-primary: #e6edf3;
    --text-muted: rgba(230, 237, 243, 0.6);

    --accent: #22c55e;
    --accent-strong: #16a34a;

    --danger: #ff6a7a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   LAYOUT
========================================= */
.auth-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    overflow: hidden;
}

/* 🔥 CONTROLLED BACKGROUND LOGO */
.auth-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.05), transparent 50%),
        linear-gradient(180deg, #05070d, #0a1220);
}

/* OPTIONAL DEPTH LAYER */
.auth-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(40px);
    pointer-events: none;
}

/* CONTAINER */
.auth-container {
    position: relative;
    width: min(1200px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    z-index: 2;
}

/* =========================================
   LEFT SIDE
========================================= */
.auth-left {
    display: flex;
    align-items: center;
}

.auth-left-inner {
    max-width: 520px;
}

.badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.auth-left h1 {
    font-size: 46px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.lead {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* VALUE POINTS */
.value-grid {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.value span {
    color: var(--accent);
}

/* INFO CARD */
.info-card {
    margin-top: 32px;
    padding: 22px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.info-card h4 {
    margin: 0 0 6px;
}

.info-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   RIGHT SIDE (FORM)
========================================= */
.auth-right {
    display: flex;
    align-items: center;
}

/* GLASS CARD */
.form-card {
    width: 100%;
    padding: 32px;
    border-radius: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

/* HEAD */
.form-head h2 {
    margin: 0;
    font-size: 24px;
}

.form-head p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   FORM FIELDS
========================================= */
.field {
    margin-top: 18px;
}

.field label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.field input,
.field select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;

    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);

    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

/* 🔥 FOCUS STATE (IMPORTANT) */
.field input:focus,
.field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

/* =========================================
   PASSWORD
========================================= */
.password-wrap {
    display: flex;
    align-items: center;
}

.password-wrap input {
    flex: 1;
}

.password-wrap button {
    margin-left: 10px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 13px;
    cursor: pointer;
}

/* =========================================
   TERMS
========================================= */
.terms {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.terms a {
    color: var(--accent);
    text-decoration: none;
}

/* =========================================
   BUTTON
========================================= */
.btn-primary {
    width: 100%;
    margin-top: 26px;
    padding: 15px;

    border-radius: 14px;
    border: none;

    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #022c16;

    font-weight: 600;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

/* =========================================
   ERROR
========================================= */
.error {
    margin-top: 12px;
    font-size: 13px;
    color: var(--danger);
}

/* =========================================
   ALT LINK
========================================= */
.alt {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.alt a {
    color: var(--accent);
    text-decoration: none;
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .form-card {
        padding: 24px;
    }
}