/* Giris / Kayit sayfalari — BetMesaj neon tema */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #050014;
    position: relative;
    overflow: hidden;
}

body.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 15%, rgba(90, 0, 255, 0.28), transparent 38%),
        radial-gradient(circle at 15% 85%, rgba(255, 41, 200, 0.16), transparent 32%),
        radial-gradient(circle at 50% 50%, rgba(0, 170, 255, 0.08), transparent 45%);
    pointer-events: none;
}

/* İnce neon ızgara efekti */
body.auth-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 61, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 61, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 75%);
    pointer-events: none;
}

.auth-page .login-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, rgba(20, 10, 45, 0.97), rgba(8, 4, 25, 0.99));
    border-radius: 24px;
    padding: 46px 42px;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(139, 61, 255, 0.45);
    box-shadow:
        0 0 45px rgba(139, 61, 255, 0.22),
        0 32px 80px rgba(0, 0, 0, 0.55),
        inset 0 0 30px rgba(139, 61, 255, 0.05);
}

.auth-page .login-card h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: .3px;
}

.auth-page .form-control {
    border-radius: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(139, 61, 255, 0.35);
    background: #0a0520;
    color: #ffffff;
    transition: border-color .2s, box-shadow .2s;
}

.auth-page .form-control::placeholder { color: #6f6394; }

.auth-page .form-control:focus {
    border-color: #00eaff;
    box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.14), 0 0 18px rgba(0, 234, 255, 0.12);
    background: #0a0520;
    color: #ffffff;
}

.auth-page .btn-login {
    background: linear-gradient(90deg, #8b3dff, #ff29c8);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    width: 100%;
    color: #ffffff;
    letter-spacing: .3px;
    box-shadow: 0 0 22px rgba(255, 41, 200, 0.35);
    transition: transform .2s, box-shadow .2s;
}

.auth-page .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 38px rgba(255, 41, 200, 0.55);
    color: #ffffff;
}

.auth-page .input-group-text {
    background: #0a0520;
    border: 1px solid rgba(139, 61, 255, 0.35);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #00eaff;
}

.auth-page .input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.auth-page .register-link a {
    color: #00eaff;
    font-weight: 600;
}

.auth-page .text-logo-lg {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(90deg, #00eaff, #8b3dff, #ff29c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .5px;
}

.auth-page .lang-switch-btn {
    background: rgba(139, 61, 255, 0.12) !important;
    color: #c9b8ff !important;
    border: 1px solid rgba(139, 61, 255, 0.4) !important;
    border-radius: 8px !important;
}

.auth-page .alert-danger {
    background: rgba(255, 60, 90, 0.12);
    border: 1px solid rgba(255, 60, 90, 0.45);
    color: #ff8fa8;
    border-radius: 12px;
    font-size: .88rem;
}

.auth-page .back-home {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: #6f6394;
    font-size: .82rem;
    text-decoration: none;
    transition: color .2s;
}

.auth-page .back-home:hover { color: #00eaff; }

/* ===== Split layout: sol marka paneli + sag form ===== */
.auth-page .auth-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 460px;
    width: min(1000px, 100%);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(139, 61, 255, 0.4);
    box-shadow: 0 0 60px rgba(139, 61, 255, 0.18), 0 40px 90px rgba(0, 0, 0, 0.55);
}

.auth-page .auth-wrap .login-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(160deg, rgba(16, 9, 36, 0.97), rgba(7, 3, 20, 0.99));
    border-left: 1px solid rgba(139, 61, 255, 0.3);
}

.auth-page .auth-side {
    padding: 52px 46px;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 234, 255, 0.14), transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(255, 41, 200, 0.18), transparent 45%),
        linear-gradient(150deg, #150a33, #0b0620);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-page .side-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 38px;
}

.auth-page .side-plane {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00eaff, #8b3dff);
    font-size: .95rem;
    box-shadow: 0 0 18px rgba(0, 234, 255, 0.35);
}

.auth-page .side-accent { color: #00eaff; }

.auth-page .auth-side h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    font-weight: 900;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 16px;
}

.auth-page .auth-side h1 span {
    background: linear-gradient(90deg, #ff29c8, #8b3dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-page .side-sub {
    color: #b8aed4;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.auth-page .side-feats {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.auth-page .side-feats li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    color: #ddd6f3;
    font-size: .9rem;
    font-weight: 500;
}

.auth-page .side-feats li span {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 170, 255, 0.12);
    border: 1px solid rgba(0, 170, 255, 0.35);
    font-size: .85rem;
}

.auth-page .side-stats {
    display: flex;
    gap: 26px;
    border-top: 1px solid rgba(139, 61, 255, 0.25);
    padding-top: 22px;
}

.auth-page .side-stats b { font-size: 1.15rem; color: #fff; display: block; }
.auth-page .side-stats small { color: #6f6394; font-size: .72rem; }

@media (max-width: 880px) {
    .auth-page .auth-wrap { grid-template-columns: 1fr; }
    .auth-page .auth-side { display: none; }
    .auth-page .auth-wrap .login-card { border-left: none; }
}
