:root {
    --bg-dark: #0b0e11;
    --card-bg: #151922;
    --accent-blue: #00f2ff;
    --accent-purple: #bc13fe;
    --accent-green: #00ff9d;
    --accent-red: #ff0055;
    --text-muted: #8b949e;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #e6edf3;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%);
}

.auth-bg-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.5;
}

.shape-1 {
    width: 420px;
    height: 420px;
    background: rgba(0, 242, 255, 0.25);
    top: -80px;
    left: -120px;
}

.shape-2 {
    width: 520px;
    height: 520px;
    background: rgba(188, 19, 254, 0.22);
    bottom: -160px;
    right: -120px;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 980px;
    z-index: 1;
    background: rgba(15, 23, 42, 0.92);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    overflow: hidden;
}

.auth-content {
    padding: 3rem 3.25rem;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: radial-gradient(circle at 30% 0, #22c55e 0, #14532d 55%, #020617 100%);
    color: #bbf7d0;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

.auth-title {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.auth-subtitle {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.form-control {
    width: 100%;
    background-color: #020617;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    color: #e5e7eb;
}

.form-control:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
    background-color: #020617;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 999px;
    border: none;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 14px 35px rgba(34, 197, 94, 0.5);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.alert {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-width: 1px;
    border-style: solid;
}

.alert-success {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.7);
    color: #bbf7d0;
}

.alert-danger, .alert-error {
    background: rgba(220, 38, 38, 0.16);
    border-color: rgba(248, 113, 113, 0.8);
    color: #fecaca;
}

.alert-info {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.8);
    color: #dbeafe;
}

.auth-footer-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-sidebar {
    padding: 3rem 2.5rem;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.45) 0, rgba(15, 23, 42, 0.95) 55%),
                radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.4) 0, rgba(15, 23, 42, 0.98) 55%);
    border-left: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-sidebar-title {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.82);
    margin-bottom: 0.75rem;
}

.auth-sidebar-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.feature-icon {
    color: #22c55e;
    margin-top: 0.1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.7);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.status-dot-ok {
    background: #22c55e;
}

.status-dot-warn {
    background: #eab308;
}

.status-label {
    color: rgba(226, 232, 240, 0.9);
}

.status-muted {
    color: rgba(148, 163, 184, 0.95);
}

@media (max-width: 960px) {
    .auth-card {
        max-width: 540px;
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-sidebar {
        display: none;
    }

    .auth-content {
        padding: 2.25rem 1.75rem;
    }
}
