/* ========================================
   SPORTEN - AUTH PAGES
   Login & Register Split Layout
   Class names match login.php / register.php
   ======================================== */

/* ---- BODY ---- */
.sp-auth-body {
    background: var(--sp-bg-deep);
    min-height: 100vh;
}

/* ---- SPLIT CONTAINER ---- */
.sp-auth-container {
    display: flex;
    min-height: 100vh;
}

/* ---- LEFT: VISUAL / BRANDING PANEL ---- */
.sp-auth-visual {
    flex: 1;
    background: var(--sp-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.sp-auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(235, 94, 40, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.sp-auth-visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sp-auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.sp-auth-brand-icon {
    width: 80px; height: 80px;
    background: var(--sp-accent);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff;
    box-shadow: 0 8px 32px rgba(235, 94, 40, 0.35);
    margin-bottom: 16px;
}

.sp-auth-brand-name {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--sp-text);
    letter-spacing: -1px;
    margin: 0;
}

.sp-auth-tagline {
    font-size: 1rem;
    color: var(--sp-text-muted);
    font-weight: 400;
    margin-bottom: 8px;
}

.sp-auth-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.sp-auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--sp-text-muted);
    font-size: 0.92rem;
}
.sp-auth-feature i {
    color: var(--sp-accent);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.sp-auth-glow {
    position: absolute;
    bottom: -80px; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(235, 94, 40, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---- RIGHT: FORM SIDE ---- */
.sp-auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--sp-bg-deep);
}

.sp-auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.sp-auth-header {
    margin-bottom: 32px;
}

.sp-auth-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sp-text);
    margin-bottom: 6px;
}

.sp-auth-header p {
    font-size: 0.92rem;
    color: var(--sp-text-muted);
    margin: 0;
}

.sp-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---- INPUT WRAPPER WITH ICON ---- */
.sp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sp-input-icon {
    position: absolute;
    left: 14px;
    color: var(--sp-text-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.sp-form-input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    background: rgba(255, 252, 242, 0.04);
    border: 1px solid rgba(255, 252, 242, 0.08);
    border-radius: var(--sp-radius-sm);
    color: var(--sp-text);
    font-family: var(--sp-font);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.sp-form-input::placeholder { color: rgba(204, 197, 185, 0.4); }

.sp-form-input:focus {
    border-color: var(--sp-accent);
    box-shadow: 0 0 0 3px rgba(235, 94, 40, 0.12);
    background: rgba(255, 252, 242, 0.06);
}

.sp-form-input:hover {
    border-color: rgba(255, 252, 242, 0.15);
}

/* ---- PASSWORD TOGGLE ---- */
.sp-password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--sp-text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    z-index: 1;
}
.sp-password-toggle:hover { color: var(--sp-text); }

/* ---- FOOTER LINK ---- */
.sp-auth-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--sp-text-muted);
}
.sp-auth-footer a,
.sp-auth-link { color: var(--sp-accent); font-weight: 600; text-decoration: none; }
.sp-auth-footer a:hover,
.sp-auth-link:hover { color: var(--sp-text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .sp-auth-visual { display: none; }
    .sp-auth-form-side { padding: 30px 24px; }
}
