/* ============================================
   UNIQ GYM - PERFORMANCE • STRENGTH • FLOW
   Mobile-First Dark Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --bg-input: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #c8ff00;
    --accent-dim: rgba(200, 255, 0, 0.15);
    --accent-hover: #d4ff33;
    --danger: #ff4757;
    --success: #2ed573;
    --warning: #ffa502;
    --info: #1e90ff;
    --border-color: #2a2a2a;
    --border-light: #333333;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(200, 255, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Scrollbar (masaustu) ---------- */
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: var(--bg-primary);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--border-light);
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--text-muted);
    }
}

/* Mobil / dokunmatik: kaydirma kalsin, scrollbar cizgisi gorunmesin */
@media (hover: none) and (pointer: coarse), (max-width: 991px) {
    html,
    body,
    .page-content,
    .app-wrapper {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .page-content::-webkit-scrollbar,
    .app-wrapper::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
        background: transparent;
    }
}

/* Flutter WebView uygulamasi: kaydirma acik, beyaz cizgi yok */
html.uniq-in-app,
html.uniq-in-app body,
html.uniq-in-app * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scrollbar-color: #0a0a0a #0a0a0a !important;
}
html.uniq-in-app::-webkit-scrollbar,
html.uniq-in-app body::-webkit-scrollbar,
html.uniq-in-app *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: #0a0a0a !important;
}
html.uniq-in-app::-webkit-scrollbar-thumb,
html.uniq-in-app *::-webkit-scrollbar-thumb {
    background: #0a0a0a !important;
}
html.uniq-in-app::-webkit-scrollbar-track,
html.uniq-in-app *::-webkit-scrollbar-track {
    background: #0a0a0a !important;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.login-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, var(--accent) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--accent) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.login-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

.login-glow-1 {
    top: -100px;
    right: -100px;
    background: var(--accent);
}

.login-glow-2 {
    bottom: -100px;
    left: -100px;
    background: var(--info);
}

@keyframes glowPulse {
    0% { opacity: 0.05; transform: scale(1); }
    100% { opacity: 0.12; transform: scale(1.1); }
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 12px;
}

.login-logo h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.login-tagline {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 500;
}

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

.form-group-uniq {
    margin-bottom: 20px;
    position: relative;
}

.form-group-uniq label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group-uniq .input-wrapper {
    position: relative;
}

.form-group-uniq .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
    pointer-events: none;
}

.form-group-uniq input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}

.form-group-uniq input::placeholder {
    color: var(--text-muted);
}

.form-group-uniq input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group-uniq input:focus ~ .input-icon,
.form-group-uniq input:focus + .input-icon {
    color: var(--accent);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    max-width: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

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

.forgot-link:hover {
    color: var(--accent);
}

.btn-uniq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-uniq-primary {
    width: 100%;
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-uniq-primary:hover {
    background: var(--accent-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-uniq-primary:active {
    transform: translateY(0);
}

.btn-uniq-outline {
    background: transparent;
    border: 1.5px solid var(--border-light);
    color: var(--text-primary);
}

.btn-uniq-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-uniq-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

.btn-uniq-danger {
    background: var(--danger);
    color: white;
}

.btn-uniq-success {
    background: var(--success);
    color: var(--bg-primary);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Giris / kayit: Giris Yap, Google ve Apple ayni genislik ve yukseklik */
.login-social-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.login-page .login-auth-btn,
.login-page .btn-uniq-primary#loginBtn,
.login-page .btn-uniq-primary#registerBtn,
.login-page .btn-uniq-apple,
.login-page .login-social-stack > .btn-uniq-outline {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: 48px;
    box-sizing: border-box;
    border-radius: 12px;
}

.login-page .google-signin-host {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
    border-radius: 12px;
}

.login-page .btn-uniq-primary#loginBtn,
.login-page .btn-uniq-primary#registerBtn,
.login-page .btn-uniq-apple,
.login-page .login-social-stack > .btn-uniq-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    line-height: 1.2;
    font-size: 0.95rem;
}

/* Google: yalnizca resmi GSI butonu (APK/WebView'da cift buton olmasin) */
.google-signin-host {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.google-gsi-mount {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-gsi-mount > div {
    width: 100% !important;
    margin: 0 !important;
}

.google-gsi-mount iframe {
    margin: 0 auto !important;
    display: block !important;
}

.btn-uniq-apple {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-uniq-apple:hover:not(:disabled) {
    opacity: 0.92;
}

.btn-uniq-apple:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-uniq-apple svg {
    flex-shrink: 0;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.login-footer a {
    color: var(--accent);
    font-weight: 600;
}

.login-ana-sayfa-bar {
    display: flex;
    justify-content: stretch;
    width: 100%;
    margin-bottom: 6px;
}

.login-ana-sayfa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0 14px;
    height: 38px;
    line-height: 1;
    border-radius: 8px;
    background: rgba(200, 255, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(200, 255, 0, 0.28);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.login-ana-sayfa-btn:hover {
    background: rgba(200, 255, 0, 0.16);
    border-color: rgba(200, 255, 0, 0.45);
    color: var(--accent);
}

.login-card-main {
    flex: 1 1 auto;
    min-height: 0;
}

.login-card-actions {
    flex-shrink: 0;
}

/* Telefon: tam sayfa giris (portrait + landscape) */
@media (max-width: 767px), (max-height: 500px) {
    html:has(> body > .login-page),
    body:has(> .login-page) {
        height: 100%;
        overflow: hidden;
    }

    .login-page,
    .login-page.login-page--full {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        min-height: -webkit-fill-available;
        overflow: hidden;
        padding: 0;
    }

    .login-container {
        flex: 1;
        width: 100%;
        max-width: none;
        max-height: none;
        height: 100%;
        min-height: 0;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        animation: none;
        box-sizing: border-box;
    }

    .login-ana-sayfa-bar {
        flex-shrink: 0;
        width: 100%;
        margin: 0;
        padding: env(safe-area-inset-top, 0) 0 0;
    }

    .login-ana-sayfa-btn {
        width: 100%;
        height: 40px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.68rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(200, 255, 0, 0.2);
        background: rgba(200, 255, 0, 0.06);
        color: #c8ff00;
    }

    .login-ana-sayfa-btn i {
        font-size: 0.8rem;
    }

    .login-card {
        flex: 1;
        min-height: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--bg-card);
        overflow: hidden;
    }

    .login-card-main {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 16px 18px 12px;
        padding-left: max(18px, env(safe-area-inset-left, 0));
        padding-right: max(18px, env(safe-area-inset-right, 0));
    }

    .login-card-actions {
        flex-shrink: 0;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0));
        padding-left: max(18px, env(safe-area-inset-left, 0));
        padding-right: max(18px, env(safe-area-inset-right, 0));
        border-top: 1px solid var(--border-color);
        background: rgba(0, 0, 0, 0.25);
    }

    .login-logo {
        margin-bottom: 4px;
    }

    .login-logo-img {
        height: 42px;
        margin-bottom: 0;
    }

    .login-tagline {
        display: block;
        font-size: 0.58rem;
        letter-spacing: 2.5px;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .auth-alert {
        padding: 8px 10px;
        margin-bottom: 10px;
        font-size: 0.78rem;
    }

    .form-group-uniq {
        margin-bottom: 12px;
    }

    .form-group-uniq label {
        font-size: 0.68rem;
        margin-bottom: 4px;
    }

    .form-group-uniq input {
        padding: 11px 12px 11px 40px;
        font-size: 16px;
        border-radius: 10px;
    }

    .form-group-uniq .input-icon {
        left: 12px;
        font-size: 1rem;
    }

    .login-options {
        margin-bottom: 12px;
        font-size: 0.78rem;
    }

    .login-divider {
        margin: 0 0 12px;
        font-size: 0.62rem;
        gap: 8px;
    }

    .login-social-stack {
        gap: 8px;
    }

    .login-page .login-auth-btn,
    .login-page .btn-uniq-primary#loginBtn,
    .login-page .btn-uniq-primary#registerBtn,
    .login-page .btn-uniq-apple,
    .login-page .login-social-stack > .btn-uniq-outline {
        min-height: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .login-page .google-signin-host {
        min-height: 44px;
        height: auto;
        border-radius: 10px;
    }

    .login-page .btn-uniq-primary#loginBtn,
    .login-page .btn-uniq-primary#registerBtn,
    .login-page .btn-uniq-apple,
    .login-page .login-social-stack > .btn-uniq-outline {
        font-size: 0.84rem;
        gap: 8px;
        padding: 0 12px;
    }

    .login-footer {
        margin-top: 10px;
        font-size: 0.78rem;
    }
}

html.uniq-in-app .login-page {
    display: flex !important;
    flex-direction: column !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
}

/* Tablet: giris karti mobil gibi degil, ekrana daha iyi otursun */
@media (min-width: 768px) and (max-width: 1023px) {
    .login-page {
        min-height: 100dvh;
        align-items: stretch;
        justify-content: center;
    }

    .login-container {
        max-width: min(94vw, 720px);
        width: 100%;
        min-height: 100dvh;
        padding: 28px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }

    .login-card {
        width: 100%;
        flex: 0 0 auto;
        padding: 52px 48px;
        border-radius: 22px;
    }

    .login-logo-img {
        height: 76px;
    }

    .login-tagline {
        font-size: 0.78rem;
        letter-spacing: 5px;
        margin-bottom: 36px;
    }

    .form-group-uniq {
        margin-bottom: 22px;
    }

    .form-group-uniq label {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .form-group-uniq input {
        padding: 16px 18px 16px 52px;
        font-size: 1.05rem;
        border-radius: 14px;
    }

    .form-group-uniq .input-icon {
        font-size: 1.2rem;
        left: 18px;
    }

    .login-options {
        margin-bottom: 28px;
        font-size: 0.9rem;
    }

    .login-page .btn-uniq:not(.login-auth-btn):not(#loginBtn):not(#registerBtn):not(.btn-uniq-apple) {
        padding: 16px 24px;
        font-size: 1rem;
        border-radius: 14px;
    }

    .login-page .login-auth-btn,
    .login-page .btn-uniq-primary#loginBtn,
    .login-page .btn-uniq-primary#registerBtn,
    .login-page .btn-uniq-apple,
    .login-page .login-social-stack > .btn-uniq-outline {
        min-height: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .login-page .google-signin-host {
        min-height: 52px;
        height: auto;
        border-radius: 14px;
    }

    .login-ana-sayfa-btn {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (min-width: 900px) and (max-width: 1023px) {
    .login-container {
        max-width: min(90vw, 780px);
        padding: 36px 48px;
    }

    .login-card {
        padding: 56px 52px;
    }

    .login-logo-img {
        height: 88px;
    }
}

/* ============================================
   APP SHELL - LAYOUT
   ============================================ */
.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ---------- Top Header ---------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.header-logo:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
}

.header-icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.header-icon-btn .badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

/* Paket uyarısı: zil + nokta yanıp sönme, hover ile mesaj */
.header-notify-wrap {
    position: relative;
}

.header-notify-tooltip {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    max-width: min(360px, 92vw);
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.55;
    color: #e8e8e8;
    background: rgba(22, 22, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
    z-index: 220;
    text-align: left;
}

.header-notify-wrap:hover .header-notify-tooltip,
.header-notify-wrap:focus-within .header-notify-tooltip {
    display: block;
}

@keyframes pkg-bell-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.38; }
}

.header-icon-btn.pkg-alert-pulse {
    animation: pkg-bell-blink 1.15s ease-in-out infinite;
    border-color: rgba(231, 76, 60, 0.4);
}

.header-icon-btn.pkg-alert-pulse .bi-bell {
    color: #f5b041;
}

.header-icon-btn.pkg-alert-pulse .badge-dot {
    animation: pkg-bell-blink 0.85s ease-in-out infinite;
}

.header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--info));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--bg-primary);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.header-avatar:hover {
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* ---------- Bottom Navigation ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: end;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 1px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
}

/* ---------- Page Content ---------- */
.page-content {
    flex: 1;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    /* Flex cocuk icinde genis tablo horizontal scroll’un calisması icin */
    min-width: 0;
}

/* Genis admin sayfalari (or. Kullanicilar tablo) */
.page-content.page-content--wide {
    max-width: 1180px;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-hero {
    position: relative;
    margin: -20px -20px 0 -20px;
    padding: 20px;
    min-height: 280px;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1200&q=80');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 70%, rgba(10,10,10,1) 100%);
    z-index: 1;
}

.dashboard-hero > * {
    position: relative;
    z-index: 2;
}

.greeting-section {
    margin-bottom: 28px;
}

.greeting-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.greeting-section h2 span {
    color: var(--accent);
}

.greeting-section p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-top: 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    font-weight: 600;
}

/* Section Heading */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.section-header a {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.section-header a:hover {
    color: var(--accent);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.quick-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

.quick-action-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    text-decoration: none;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.quick-action-icon.icon-calendar {
    background: rgba(30, 144, 255, 0.15);
    color: var(--info);
}

.quick-action-icon.icon-register {
    background: var(--accent-dim);
    color: var(--accent);
}

.quick-action-icon.icon-video {
    background: rgba(255, 71, 87, 0.15);
    color: var(--danger);
}

.quick-action-icon.icon-profile {
    background: rgba(46, 213, 115, 0.15);
    color: var(--success);
}

.quick-action-card .qa-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Ana sayfa: paket CTA dikkat çeksin */
.quick-action-card--pulse-cta {
    border-color: rgba(200, 255, 0, 0.4);
    animation: quickActionCtaGlow 1.5s ease-in-out infinite;
}
@keyframes quickActionCtaGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.08);
    }
    50% {
        box-shadow: 0 0 22px 5px rgba(200, 255, 0, 0.28);
    }
}
.quick-action-card--pulse-cta .qa-label--pulse {
    font-weight: 700;
    animation: quickActionLabelBlink 1.1s ease-in-out infinite;
}
@keyframes quickActionLabelBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
    .quick-action-card--pulse-cta,
    .quick-action-card--pulse-cta .qa-label--pulse {
        animation: none;
        box-shadow: none;
    }
}

/* Upcoming Classes */
.class-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.class-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.class-time-block {
    min-width: 56px;
    text-align: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
}

.class-time-block .ct-hour {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.class-time-block .ct-min {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
}

.class-info {
    flex: 1;
}

.class-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.class-info .class-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.class-info .class-meta i {
    margin-right: 4px;
}

.class-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.class-badge.badge-yoga { background: rgba(155, 89, 182, 0.2); color: #9b59b6; }
.class-badge.badge-fitness { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.class-badge.badge-pilates { background: rgba(52, 152, 219, 0.2); color: #3498db; }
.class-badge.badge-crossfit { background: rgba(243, 156, 18, 0.2); color: #f39c12; }
.class-badge.badge-boxing { background: rgba(255, 71, 87, 0.2); color: #ff4757; }
.class-badge.badge-spinning { background: rgba(46, 213, 115, 0.2); color: #2ed573; }

/* ============================================
   CALENDAR / SCHEDULE PAGE
   ============================================ */
.calendar-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-week-nav .week-label {
    font-size: 1rem;
    font-weight: 700;
}

.calendar-week-nav button {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-week-nav button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.day-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.day-selector::-webkit-scrollbar {
    display: none;
}

.day-btn {
    flex: 0 0 auto;
    min-width: 52px;
    padding: 10px 8px;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.day-btn:hover {
    border-color: var(--accent);
}

.day-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.day-btn .day-name {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.day-btn .day-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.day-btn.active .day-name,
.day-btn.active .day-num {
    color: var(--bg-primary);
}

.schedule-timeline {
    position: relative;
}

.schedule-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.schedule-item:hover {
    border-color: var(--accent);
}

.schedule-time {
    min-width: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    padding-top: 2px;
}

.schedule-detail {
    flex: 1;
}

.schedule-detail h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.schedule-detail p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.schedule-detail .spots {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
}

.schedule-detail .spots.full {
    color: var(--danger);
}

.schedule-action {
    display: flex;
    align-items: center;
}

/* ============================================
   CLASS REGISTRATION PAGE
   ============================================ */
.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.registration-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.registration-card:hover {
    border-color: var(--border-light);
}

.reg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reg-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.reg-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reg-info i {
    color: var(--accent);
    margin-right: 5px;
}

.reg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.capacity-bar {
    flex: 1;
    margin-right: 16px;
}

.capacity-bar .cap-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.capacity-bar .bar-bg {
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    overflow: hidden;
}

.capacity-bar .bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.capacity-bar .bar-fill.almost-full {
    background: var(--warning);
}

.capacity-bar .bar-fill.full {
    background: var(--danger);
}

/* ============================================
   VIDEOS / TRAINING PAGE
   ============================================ */
.video-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.video-categories::-webkit-scrollbar {
    display: none;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    background: var(--bg-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb .gradient-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb .play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200, 255, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200, 255, 0, 0.3);
}

.video-card:hover .play-btn {
    transform: scale(1.1);
}

.video-thumb .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.video-thumb .level-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-tag.beginner { background: rgba(46, 213, 115, 0.9); color: #000; }
.level-tag.intermediate { background: rgba(255, 165, 2, 0.9); color: #000; }
.level-tag.advanced { background: rgba(255, 71, 87, 0.9); color: #fff; }

.video-body {
    padding: 16px;
}

.video-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.video-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.video-meta i {
    margin-right: 4px;
    color: var(--accent);
}

/* Featured Training Banner */
.featured-training {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.featured-training::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.05;
    filter: blur(40px);
}

.featured-training h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-training p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-header {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--info));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-primary);
    margin: 0 auto 16px;
    border: 3px solid var(--border-color);
}

.profile-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

.profile-stat {
    text-align: center;
}

.profile-stat .ps-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
}

.profile-stat .ps-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu li {
    border-bottom: 1px solid var(--border-color);
}

.profile-menu li:last-child {
    border-bottom: none;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 4px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.profile-menu a:hover {
    color: var(--accent);
}

.profile-menu .pm-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.profile-menu .pm-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-menu .pm-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.profile-menu a.danger-link {
    color: var(--danger);
}

.profile-menu a.danger-link .pm-icon {
    color: var(--danger);
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
}

/* Profil: Paket Satin Al — ana sayfa CTA ile ayni pulse */
.profile-menu li.profile-menu-cta-item {
    padding: 6px 0 10px 0;
}
.profile-menu a.profile-menu-cta {
    border: 1px solid rgba(200, 255, 0, 0.4);
    border-radius: 12px;
    padding: 14px 8px 14px 10px;
    margin: 0;
    background: rgba(200, 255, 0, 0.04);
    animation: quickActionCtaGlow 1.5s ease-in-out infinite;
}
.profile-menu a.profile-menu-cta:hover {
    color: var(--text-primary);
    background: rgba(200, 255, 0, 0.08);
}
.profile-menu-cta__label {
    font-weight: 700;
    animation: quickActionLabelBlink 1.1s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .profile-menu a.profile-menu-cta,
    .profile-menu-cta__label {
        animation: none;
        box-shadow: none;
    }
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.uniq-toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
    min-width: 260px;
}

.uniq-toast.toast-success { border-left: 3px solid var(--success); }
.uniq-toast.toast-error { border-left: 3px solid var(--danger); }
.uniq-toast.toast-info { border-left: 3px solid var(--info); }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE (Tablet & Desktop)
   ============================================ */
@media (min-width: 768px) {
    .page-content {
        max-width: 720px;
        padding: 24px 32px;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
    }

    .login-card {
        padding: 48px 40px;
    }

    .video-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .video-grid .video-card {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .page-content {
        max-width: 960px;
    }

    .bottom-nav {
        display: none;
    }

    .app-wrapper {
        padding-bottom: 0;
    }

    .desktop-nav {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    .desktop-nav a {
        padding: 8px 16px;
        color: var(--text-secondary);
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-radius: var(--radius-sm);
        text-decoration: none;
        transition: var(--transition);
    }

    .desktop-nav a:hover,
    .desktop-nav a.active {
        color: var(--accent);
        background: var(--accent-dim);
    }
}

.desktop-nav {
    display: none;
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-accent { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-card { background: var(--bg-card) !important; }
.border-accent { border-color: var(--accent) !important; }
.mt-xs { margin-top: 8px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mb-xs { margin-bottom: 8px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ---------- QR Center Button ---------- */
.nav-qr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-top: -28px;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.qr-btn-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(200, 255, 0, 0.4), 0 0 40px rgba(200, 255, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(17, 17, 17, 0.95);
}

.qr-btn-inner i {
    font-size: 1.6rem;
    color: #000;
    font-weight: 700;
}

.nav-qr-btn:hover .qr-btn-inner,
.nav-qr-btn:active .qr-btn-inner {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(200, 255, 0, 0.55), 0 0 50px rgba(200, 255, 0, 0.25);
}

.nav-qr-btn:active .qr-btn-inner {
    transform: scale(0.95);
}

/* ---------- QR Modal ---------- */
.qr-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qr-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 24px 20px 28px;
    width: 92%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.qr-modal-overlay.active .qr-modal {
    transform: scale(1) translateY(0);
}

.qr-modal h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.qr-modal p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* html5-qrcode: video + tarama alani */
#qr-reader {
    min-height: 220px;
    margin: 0 auto 10px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
}

#qr-reader video,
#qr-reader img {
    border-radius: 0;
}

#qr-reader__dashboard_section_csr button {
    color: #ccc !important;
    font-size: 12px !important;
}

#qr-reader__scan_region,
#qr-reader {
    min-height: 200px;
}

.qr-modal-status {
    min-height: 1.1em;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

.qr-modal-status.qr-err { color: #e74c3c; }
.qr-modal-status.qr-ok { color: var(--accent, #c8ff00); }

.qr-scan-area {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border: 2px dashed var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-scan-area i {
    font-size: 3rem;
    color: var(--accent);
    animation: qrPulse 2s ease-in-out infinite;
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { top: 10%; }
    50% { top: 90%; }
}

@keyframes qrPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.qr-modal-close {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 32px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.qr-modal-close:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ---------- Logo Image ---------- */
.logo-img {
    height: 32px;
    width: auto;
}

.login-logo-img {
    height: 56px;
    width: auto;
    margin-bottom: 8px;
}

/* ============================================
   PT BANNER (Profile page)
   ============================================ */
.pt-banner {
    display: block;
    position: relative;
    margin: 20px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(200,255,0,0.12) 0%, rgba(200,255,0,0.03) 100%);
    border: 1px solid rgba(200,255,0,0.25);
    border-radius: var(--radius-lg);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pt-banner:hover {
    border-color: rgba(200,255,0,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200,255,0,0.15);
}

.pt-banner-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200,255,0,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pt-banner-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pt-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c8ff00, #a0d900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pt-banner-icon i {
    font-size: 1.4rem;
    color: #000;
}

.pt-banner-text {
    flex: 1;
}

.pt-banner-text h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.pt-banner-text p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 2px 0 0 0;
}

.pt-banner-text p strong {
    color: #fff;
}

.pt-banner-arrow {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ============================================
   PERSONAL TRAINING PAGE
   ============================================ */
.pt-page {
    padding-bottom: 40px;
}

/* PT Hours Card */
.pt-header {
    margin-bottom: 28px;
}

.pt-hours-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.pt-hours-ring {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.pt-hours-ring svg {
    width: 100%;
    height: 100%;
}

.pt-hours-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pt-hours-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.pt-hours-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.pt-hours-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 4px 0;
}

.pt-hours-info strong {
    color: var(--text-primary);
}

/* PT Steps */
.pt-step {
    margin-bottom: 28px;
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.4s ease;
}

.pt-step.pt-step-active {
    opacity: 1;
    pointer-events: auto;
}

.pt-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pt-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pt-step-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Trainer Cards */
.trainer-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trainer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.trainer-card:hover {
    border-color: rgba(200,255,0,0.3);
    background: rgba(200,255,0,0.04);
}

.trainer-card.selected {
    border-color: var(--accent);
    background: rgba(200,255,0,0.08);
}

.trainer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.trainer-info {
    flex: 1;
}

.trainer-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: var(--text-primary);
}

.trainer-spec {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trainer-rating {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.trainer-rating i {
    font-size: 0.7rem;
    color: #fbbf24;
}

.trainer-rating span {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: 600;
}

.trainer-select-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.trainer-select-mark i {
    font-size: 0.9rem;
    color: transparent;
    transition: all 0.3s ease;
}

.trainer-card.selected .trainer-select-mark {
    background: var(--accent);
    border-color: var(--accent);
}

.trainer-card.selected .trainer-select-mark i {
    color: #000;
}

/* PT Calendar */
.pt-calendar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.pt-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pt-cal-month {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.pt-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pt-cal-nav:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pt-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.pt-cal-weekdays span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 0;
}

.pt-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.pt-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.pt-cal-day:hover:not(.disabled):not(.empty) {
    background: rgba(200,255,0,0.12);
    color: var(--accent);
}

.pt-cal-day.selected {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

.pt-cal-day.today {
    border: 2px solid var(--accent);
}

.pt-cal-day.disabled {
    color: rgba(255,255,255,0.15);
    cursor: not-allowed;
}

.pt-cal-day.empty {
    cursor: default;
}

.pt-cal-day.available::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* Time Slots */
.pt-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pt-time-slot {
    padding: 14px 8px;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pt-time-slot:hover {
    border-color: rgba(200,255,0,0.3);
    background: rgba(200,255,0,0.04);
}

.pt-time-slot.selected {
    border-color: var(--accent);
    background: rgba(200,255,0,0.12);
    color: var(--accent);
}

.pt-time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* PT Summary */
.pt-summary-card {
    background: var(--bg-card);
    border: 1px solid rgba(200,255,0,0.25);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.pt-summary-card h4 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pt-summary-card h4 i {
    margin-right: 6px;
}

.pt-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.pt-summary-row span {
    color: var(--text-muted);
}

.pt-summary-row strong {
    color: var(--text-primary);
}

.btn-uniq-success {
    background: #22c55e !important;
    border-color: #22c55e !important;
    color: #fff !important;
}

/* ============================================
   MEMBERSHIP & PAYMENT PAGE
   ============================================ */
.membership-page {
    padding-bottom: 40px;
}

/* Back Button */
.mem-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
    font-family: inherit;
    transition: color 0.2s;
}

.mem-back-btn:hover {
    color: var(--accent);
}

/* Section transitions */
.mem-section {
    animation: memFadeIn 0.4s ease;
}

@keyframes memFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Type Selection Cards */
.mem-type-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.mem-type-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mem-type-card:hover {
    border-color: rgba(200,255,0,0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.mem-type-card:active {
    transform: scale(0.98);
}

.mem-type-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mem-type-icon i {
    font-size: 1.5rem;
    color: #000;
}

.mem-type-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.mem-type-card > p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 0 14px 0;
}

.mem-type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mem-type-features li {
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mem-type-features li i {
    color: var(--accent);
    font-size: 0.9rem;
}

.mem-type-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(200,255,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
}

.mem-type-card:hover .mem-type-arrow {
    background: var(--accent);
    color: #000;
}

/* Trainer grid in membership */
.mem-trainer-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mem-trainer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mem-trainer-card:hover {
    border-color: rgba(200,255,0,0.3);
}

.mem-trainer-card.selected {
    border-color: var(--accent);
    background: rgba(200,255,0,0.08);
}

.mem-trainer-card.selected .trainer-select-mark {
    background: var(--accent);
    border-color: var(--accent);
}

.mem-trainer-card.selected .trainer-select-mark i {
    color: #000;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.package-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    border-color: rgba(200,255,0,0.3);
    transform: translateY(-2px);
}

.package-card.selected {
    border-color: var(--accent);
    background: rgba(200,255,0,0.06);
    box-shadow: 0 0 20px rgba(200,255,0,0.1);
}

.package-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px;
    text-align: center;
}

.package-popular {
    border-color: rgba(200,255,0,0.2);
}

.package-best {
    border-color: rgba(200,255,0,0.15);
}

.package-popular .package-badge {
    background: var(--accent);
}

.package-best .package-badge {
    background: linear-gradient(135deg, #c8ff00, #43e97b);
}

.package-duration {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-top: 12px;
}

.package-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.package-sessions {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.package-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.package-price span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.package-per {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Payment Summary */
.pay-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.pay-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.pay-summary-row span {
    color: var(--text-muted);
}

.pay-summary-row strong {
    color: var(--text-primary);
}

.pay-total {
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    padding-top: 12px;
}

.pay-total strong {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Credit Card Visual */
.pay-card-visual {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.pay-card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(200,255,0,0.08);
}

.pay-card-visual::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(200,255,0,0.05);
}

.pay-card-chip {
    width: 40px;
    height: 30px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.pay-card-chip::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 3px;
}

.pay-card-number {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-family: 'Courier New', monospace;
}

.pay-card-bottom {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.pay-card-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.pay-card-name,
.pay-card-exp {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

/* Form fields */
.pay-card-form {
    margin-bottom: 8px;
}

.pay-form-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pay-field {
    flex: 1;
}

.pay-field label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pay-field input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.pay-field input:focus {
    outline: none;
    border-color: var(--accent);
}

.pay-field input::placeholder {
    color: rgba(255,255,255,0.2);
}

.pay-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pay-secure-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pay-secure-note i {
    color: #22c55e;
}

/* Success Card */
.pay-success-card {
    text-align: center;
    padding: 40px 20px;
}

.pay-success-icon {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 16px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.pay-success-card h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.pay-success-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pay-success-details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: left;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Disabled next button */
.mem-next-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Spin icon */
.spin-icon {
    animation: spinAnim 1s linear infinite;
}

@keyframes spinAnim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   AUTH STYLES (Login, Register, Forgot, Reset)
   ============================================ */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.auth-alert i {
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-alert-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.25);
    color: var(--danger);
}

.auth-alert-success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.25);
    color: var(--success);
}

.auth-error-text {
    color: var(--danger);
}

.auth-error-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.field-error {
    display: block;
    color: var(--danger);
    font-size: 0.75rem;
    margin-top: 6px;
    padding-left: 4px;
}

.form-input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-input:focus ~ .input-icon,
.form-input:focus + .input-icon {
    color: var(--accent);
}

.input-error {
    border-color: var(--danger) !important;
}

.auth-success-box {
    text-align: center;
    padding: 20px 0 10px;
}

.auth-success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 16px;
    animation: successPop 0.5s ease;
}

.auth-success-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.auth-success-box p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 16px;
}

.admin-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.admin-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.admin-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.admin-card-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

@media (min-width: 600px) {
    .admin-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4px 20px;
    }
}

.admin-checkbox-row {
    margin: 16px 0 24px;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.admin-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.admin-info-item:last-child {
    border-bottom: none;
}

.admin-info-label {
    color: var(--text-muted);
}

.admin-info-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* Admin nav link in desktop nav */
.desktop-nav a.admin-link {
    color: var(--warning) !important;
}

.desktop-nav a.admin-link:hover,
.desktop-nav a.admin-link.active {
    color: var(--warning) !important;
    background: rgba(255, 165, 2, 0.15) !important;
}

/* Profile menu admin link */
.profile-menu a.admin-menu-link .pm-icon {
    background: rgba(255, 165, 2, 0.1);
    border-color: rgba(255, 165, 2, 0.2);
    color: var(--warning);
}