:root {
    --primary: #002f6c;
    --primary-dark: #001f47;
    --accent: #0f62fe;
    --discord: #5865f2;
    --discord-dark: #4752c4;
    --danger: #c62828;
    --text: #1f2937;
    --muted: #6b7280;
    --white: #ffffff;
    --border: #dbe2ea;
    --input-bg: rgba(255, 255, 255, 0.96);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}

/* Login / auth pagina */
.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(20, 28, 45, 0.75), rgba(20, 28, 45, 0.75)),
        url('../images/image_06.png') center center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-wrap {
    width: 100%;
    max-width: 1050px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.auth-panel {
    padding: 42px 36px;
}

.auth-info {
    color: var(--white);
    background: linear-gradient(160deg, rgba(0, 47, 108, 0.92), rgba(0, 24, 58, 0.92));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-weight: 700;
    font-size: 1.1rem;
}

.auth-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.auth-info h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 18px;
    font-weight: 800;
}

.auth-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
}

.auth-points {
    display: grid;
    gap: 14px;
}

.auth-point {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.96rem;
}

.auth-form-panel {
    background: rgba(255, 255, 255, 0.97);
}

.auth-form-header {
    margin-bottom: 24px;
}

.auth-form-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 0 8px;
}

.auth-form-header p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-alert-error {
    background: rgba(198, 40, 40, 0.1);
    color: var(--danger);
    border: 1px solid rgba(198, 40, 40, 0.2);
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--input-bg);
    font-size: 0.98rem;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.12);
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.96rem;
    transition: 0.2s ease;
}

.auth-btn-primary {
    background: var(--primary);
    color: var(--white);
}

.auth-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.auth-links {
    margin-top: 18px;
    text-align: center;
}

.auth-links a {
    color: var(--primary);
    text-decoration: underline;
    font-size: 0.95rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0 18px;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    padding: 0 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-btn-discord {
    background: var(--discord);
    color: var(--white);
}

.auth-btn-discord:hover {
    background: var(--discord-dark);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .auth-wrap {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        padding: 32px 22px;
    }
}

@media (max-width: 640px) {
    .auth-body {
        padding: 20px 12px;
    }

    .auth-form-header h2 {
        font-size: 1.7rem;
    }
}