/* ==========================================================================
   GÜZELLİK & ESTETİK MERKEZİ SAAS - LUXURY ROSE GOLD & OBSIDIAN DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-base: #0c0a0e;
    --bg-surface: #141118;
    --bg-surface-elevated: #1b1622;
    --bg-card: rgba(27, 22, 34, 0.85);

    --rose-gold: #e0a996;
    --rose-gold-light: #f1cfc4;
    --rose-gold-dark: #b87b68;
    --rose-gold-glow: rgba(224, 169, 150, 0.22);

    --champagne: #f4e8c1;
    --champagne-gold: #d4af37;
    --plum-accent: #934c67;

    --text-primary: #fbf7f8;
    --text-secondary: #cbd5e1;
    --text-muted: #8b8895;

    --border-glass: rgba(224, 169, 150, 0.14);
    --border-glass-hover: rgba(224, 169, 150, 0.38);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(224, 169, 150, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 169, 150, 0.2) transparent;
}

*::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Global Luxury Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(224, 169, 150, 0.2);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 169, 150, 0.45);
}

/* Sidebar Nav Scroll Container */
.sidebar-luxury,
.sidebar-nav-scroll,
.sidebar-luxury * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.sidebar-luxury::-webkit-scrollbar,
.sidebar-nav-scroll::-webkit-scrollbar,
.sidebar-luxury *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.sidebar-luxury::-webkit-scrollbar-button,
.sidebar-nav-scroll::-webkit-scrollbar-button,
.sidebar-luxury *::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.sidebar-nav-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
}

html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
}

body {
    background-color: var(--bg-base);
    background-image:
        radial-gradient(circle at 15% 10%, rgba(147, 76, 103, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(224, 169, 150, 0.08) 0%, transparent 45%);
    color: var(--text-secondary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--rose-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--rose-gold-light);
}

/* Glassmorphism Cards */
.card-luxury {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 169, 150, 0.4), transparent);
}

.card-luxury:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    transform: translateY(-2px);
}

/* Buttons */
.btn-rose {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-dark));
    color: #0c0a0e !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(224, 169, 150, 0.25);
    transition: all 0.25s ease;
}

.btn-rose:hover {
    background: linear-gradient(135deg, var(--rose-gold-light), var(--rose-gold));
    box-shadow: 0 6px 24px rgba(224, 169, 150, 0.4);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(224, 169, 150, 0.08);
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-glass:hover {
    background: rgba(224, 169, 150, 0.16);
    border-color: var(--rose-gold);
    color: var(--rose-gold) !important;
}

/* Navigation & Sidebar */
.sidebar-luxury {
    width: 270px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-glass);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.main-content {
    margin-left: 270px;
    padding: 32px;
    min-height: 100vh;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 24px 12px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--rose-gold), var(--plum-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(224, 169, 150, 0.3);
}

.brand-text h2 {
    font-size: 17px;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, var(--rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.nav-item-link i {
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.nav-item-link:hover,
.nav-item-link.active {
    background: rgba(224, 169, 150, 0.12);
    color: var(--rose-gold);
}

.nav-item-link:hover i,
.nav-item-link.active i {
    color: var(--rose-gold);
}

/* Status Badges */
.badge-status {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* Stat Cards */
.stat-box {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(224, 169, 150, 0.12);
    border: 1px solid rgba(224, 169, 150, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--rose-gold);
    margin-bottom: 16px;
}

.stat-val {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Form Inputs */
.form-control-luxury {
    width: 100%;
    background: rgba(12, 10, 14, 0.7);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-control-luxury:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 15px rgba(224, 169, 150, 0.2);
    background: rgba(12, 10, 14, 0.9);
}

/* Tables */
.table-luxury {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-luxury th {
    padding: 14px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
    text-align: left;
}

.table-luxury td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
    vertical-align: middle;
}

.table-luxury tr:hover td {
    background: rgba(224, 169, 150, 0.03);
}

/* Seans Noktaları / Sayaç Rozeti */
.session-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.session-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.session-dot.used {
    background: var(--rose-gold);
    box-shadow: 0 0 8px rgba(224, 169, 150, 0.5);
}

/* Ortalanmış Sabit Modal Katmanı */
.modal-backdrop-luxury {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(7, 5, 10, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    overflow-y: auto;
}

.modal-backdrop-luxury > .card-luxury {
    position: relative;
    margin: auto;
    background: #16111c;
    border: 1px solid rgba(224, 169, 150, 0.32);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar-luxury {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar-luxury.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px 16px;
    }
}