@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@300;400;500;600;700&family=Gilda+Display&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-main: #0f0f13;
    --bg-card: rgba(21, 21, 28, 0.75);
    --bg-card-hover: rgba(28, 28, 38, 0.9);
    --bg-card-light: rgba(15, 15, 20, 0.8);
    --bg-input: rgba(10, 10, 12, 0.85);
    --bg-modal: #121217;
    --gold-primary: #ff9000;
    --gold-gradient: linear-gradient(135deg, #ff9000 0%, #c47d27 100%);
    --gold-glow: rgba(255, 144, 0, 0.4);
    --gold-border: rgba(255, 144, 0, 0.2);
    --gold-border-focus: rgba(255, 144, 0, 0.6);
    --text-light: #f8f9fa;
    --text-muted: #8e92a2;
    --status-empty: #10b981;
    --status-empty-glow: rgba(16, 185, 129, 0.35);
    --status-full: #ef4444;
    --status-full-glow: rgba(239, 68, 68, 0.35);
    --border-color: rgba(255, 255, 255, 0.06);
    --font-serif: 'Outfit', sans-serif;
    --font-sans: 'Outfit', sans-serif;
    --font-condensed: 'Outfit', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

body.light-theme {
    --bg-dark: #fcfbfa; /* Soft warm white */
    --bg-main: #f6f5ef; /* Beigetone cream */
    --bg-card: rgba(255, 255, 255, 0.85); /* Frosted glass white */
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-card-light: rgba(255, 255, 255, 0.8);
    --bg-input: rgba(255, 255, 255, 0.95);
    --bg-modal: #fcfbfa;
    --gold-primary: #ff9000; /* Orange/gold */
    --gold-gradient: linear-gradient(135deg, #ff9000 0%, #c47d27 100%);
    --gold-border: rgba(255, 144, 0, 0.25);
    --gold-border-focus: rgba(255, 144, 0, 0.5);
    --text-light: #16161a;
    --text-muted: #5e6272;
    --border-color: rgba(255, 144, 0, 0.15);
    --status-empty-glow: rgba(16, 185, 129, 0.15);
    --status-full-glow: rgba(239, 68, 68, 0.15);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.05);
}

/* Theme Switcher Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2c2c35;
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .theme-slider {
    background-color: var(--gold-primary);
}

input:checked + .theme-slider:before {
    transform: translateX(22px);
    background-color: #000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #23232f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, #151522 0%, var(--bg-dark) 70%);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    letter-spacing: 1px;
    font-weight: 400;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

/* --- BUTTONS --- */
.btn-gold-solid {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 10px 22px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 144, 0, 0.25);
    border-radius: 4px;
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--gold-glow);
}

.btn-gold-outline {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary) !important;
    padding: 9px 20px;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border-radius: 4px;
}

.btn-gold-outline:hover {
    background: var(--gold-gradient);
    color: #000 !important;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--gold-glow);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 9px 20px;
    cursor: pointer;
    font-family: var(--font-condensed);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 3px;
}

/* --- FORMS --- */
.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--gold-primary);
    margin-bottom: 8px;
    font-family: var(--font-condensed);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.15);
    outline: none;
    background-color: rgba(15, 15, 20, 0.95);
}

/* --- LANDING PAGE (hammamankara.com.tr style) --- */
.landing-header {
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 144, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 26px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

.landing-nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.landing-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.landing-nav-links a:hover {
    color: var(--gold-primary);
}

.hero-slider {
    height: 80vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h4 {
    color: var(--gold-primary);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 300;
}

.landing-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gold-primary);
    font-family: var(--font-condensed);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 35px;
    text-align: center;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.service-card i {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer */
.landing-footer {
    background-color: #070709;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 24px;
}

.footer-column h3 {
    color: var(--gold-primary);
    font-size: 18px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-column p, .footer-column li {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 24px 0 24px;
    text-align: center;
    color: #4b4b5c;
    font-size: 13px;
}

/* --- LOGIN SCREEN --- */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at center, #1b1b26 0%, #060608 100%);
    padding: 20px;
}

.login-card {
    background: rgba(17, 17, 24, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--gold-border);
    padding: 55px 45px;
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-card h2 {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 14px;
}

/* --- SPA ADMIN LAYOUT --- */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
}

/* Sidebar */
.admin-sidebar {
    width: 280px;
    background-color: var(--bg-dark);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-brand {
    padding: 35px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.sidebar-brand h2 {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sidebar-user {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0) 100%);
}

.sidebar-user .user-name {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.sidebar-user .user-role {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    background: var(--gold-gradient);
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.sidebar-menu {
    list-style: none;
    padding: 25px 0;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-menu-item {
    margin-bottom: 5px;
}

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 28px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 4px solid transparent;
}

.sidebar-menu-item a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.sidebar-menu-item.active a, .sidebar-menu-item a:hover {
    background: linear-gradient(90deg, rgba(255, 144, 0, 0.08) 0%, rgba(255, 144, 0, 0) 100%);
    color: var(--text-light);
    border-left-color: var(--gold-primary);
}

.sidebar-menu-item.active a {
    color: var(--gold-primary);
}

.sidebar-menu-item a:hover i {
    transform: scale(1.2);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

/* Main Panel Area */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.admin-header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 28px;
    font-weight: 300;
}

.header-time {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--font-condensed);
    font-size: 14px;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

.admin-content-area {
    padding: 15px 40px;
    overflow-y: auto;
    flex-grow: 1;
}

/* --- STATS DASHBOARD CARDS --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-border-focus);
    box-shadow: var(--shadow-md);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.stat-card .stat-title {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-condensed);
    letter-spacing: 1.5px;
}

.stat-card .stat-value {
    font-size: 32px;
    font-family: var(--font-serif);
    color: var(--text-light);
    font-weight: 300;
}

.stat-card .stat-desc {
    font-size: 12px;
    color: var(--gold-primary);
}

/* --- ROOMS VIEW & VISUAL TILES --- */
.rooms-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.rooms-panel h3 {
    margin-bottom: 25px;
    font-size: 22px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* Visual Rooms Boxes / Cards */
.room-box {
    background: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.room-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Green Glow for Empty */
.room-box.empty {
    border-top: 5px solid var(--status-empty);
}
.room-box.empty:hover {
    border-color: var(--status-empty);
    box-shadow: 0 10px 20px var(--status-empty-glow);
}

/* Red Glow for Full */
.room-box.full {
    border-top: 5px solid var(--status-full);
}
.room-box.full:hover {
    border-color: var(--status-full);
    box-shadow: 0 10px 20px var(--status-full-glow);
}

.room-box .room-name {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-light);
    font-weight: 400;
}

.room-box .room-status {
    font-family: var(--font-condensed);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.room-box.empty .room-status {
    background-color: var(--status-empty);
    color: #fff;
}

.room-box.full .room-status {
    background-color: var(--status-full);
    color: #fff;
}

.room-box .room-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.room-box .room-details .client {
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

.room-box .room-details .therapist {
    color: var(--gold-primary);
    font-weight: 500;
}

.room-box .room-details .package {
    font-style: italic;
}

.room-box .room-timer {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-condensed);
    font-size: 15px;
    color: var(--gold-primary);
    font-weight: 700;
    background: rgba(255, 144, 0, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 144, 0, 0.2);
}

/* --- APPOINTMENTS LIST PANEL --- */
.appointments-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.appointments-panel h3 {
    margin-bottom: 25px;
    font-size: 22px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 5px;
}

.appointment-item {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.appointment-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.appointment-item .app-time {
    font-family: var(--font-condensed);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.appointment-item .app-client {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-light);
}

.appointment-item .app-details {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- PANELS (TABLES, VIEWS) --- */
.content-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.panel-header h2 {
    font-size: 26px;
    font-weight: 300;
}

/* --- SPA TABLES --- */
.spa-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 14px;
}

.spa-table th {
    background-color: transparent;
    color: var(--gold-primary);
    padding: 12px 20px;
    font-family: var(--font-condensed);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.spa-table td {
    padding: 16px 20px;
    background-color: rgba(255,255,255,0.015);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.spa-table td:first-child {
    border-left: 1px solid var(--border-color);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.spa-table td:last-child {
    border-right: 1px solid var(--border-color);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.spa-table tr:hover td {
    background-color: rgba(255,255,255,0.04);
    border-color: var(--gold-border);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

/* Badges */
.badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-income {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--status-empty);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-expense {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--status-full);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- MODALS (Frosted Glass Overlay) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background: var(--bg-modal);
    border: 1px solid var(--gold-border);
    width: 100%;
    max-width: 620px;
    position: relative;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: modalReveal 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.modal-card form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 22px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-light);
}

.modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-body .form-group {
    margin-bottom: 12px;
}

.modal-body .form-control {
    padding: 8px 12px;
    font-size: 14px;
}

.modal-footer {
    padding: 15px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background-color: rgba(0,0,0,0.15);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Extra Services details container */
.extra-services-container {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.extra-service-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.extra-service-item:last-child {
    border-bottom: none;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.checkbox-label:hover {
    color: var(--text-light);
}

.checkbox-label input {
    accent-color: var(--gold-primary);
    width: 16px;
    height: 16px;
}

/* --- ORIGINAL KAMPANYALAR/ROOMS1 SHOWCASE REPLICATION --- */
.bg-cream {
    background: #f8f5f0 !important;
}
.rooms1 {
    font-family: 'Outfit', sans-serif;
}
.rooms1 .section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #ff9000;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 6px;
    margin-bottom: 5px;
}
.rooms1 .section-title {
    font-size: 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: #222;
    position: relative;
    margin-bottom: 20px;
    line-height: 1.25em;
}

.rooms1 .item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 0;
    height: 480px; /* Exact height for uniformity */
    width: 270px; /* Consistent card width */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}

.rooms1 .item .position-re {
    position: relative;
    width: 100%;
    height: 100%;
}

.rooms1 .item .o-hidden {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.rooms1 .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.rooms1 .item:hover img {
    -webkit-transform: scale(1.09, 1.09);
    transform: scale(1.09, 1.09);
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.rooms1 .item.active img {
    -webkit-transform: scale(1.09, 1.09);
    transform: scale(1.09, 1.09);
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

.rooms1 .item.active .con {
    bottom: 0;
}

.rooms1 .item .category {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    writing-mode: vertical-rl;
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    text-orientation: mixed;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    font-family: 'Outfit', sans-serif;
    padding: 10px 4px;
    line-height: 1.5em;
    pointer-events: none;
}

.rooms1 .item .category a {
    color: #fff;
    text-decoration: none;
}

.rooms1 .item .con {
    padding: 25px 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-transition: all .3s;
    transition: all .3s;
    text-align: left;
    z-index: 20;
    height: auto;
    box-sizing: border-box;
    background: -webkit-linear-gradient(top, transparent 0, rgba(0, 0, 0, .01) 2%, rgba(0, 0, 0, .85) 90%);
    background: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .01) 2%, rgba(0, 0, 0, .85) 90%);
}

.rooms1 .item .con h6 {
    position: relative;
    color: #fff;
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.rooms1 .item .con h6 del {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
    font-size: 14px;
}

.rooms1 .item .con h5 {
    position: relative;
    color: #fff;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rooms1 .item .line {
    text-align: center;
    height: 1px;
    width: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin: 0 0 15px 0;
}

.rooms1 .item:hover .line {
    width: 100%;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.rooms1 .item.active .line {
    width: 100%;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.rooms1 .facilities {
    margin-top: 10px;
}

.rooms1 .facilities p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    line-height: 1.65em !important;
    font-family: 'Outfit', sans-serif !important;
    margin-bottom: 0 !important;
}

/* Rezervasyon Butonu Stili */
.butn-dark {
    position: relative;
    line-height: 1.2em;
    display: inline-block;
}

.butn-dark a {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    background: #ab8a62;
    color: #fff !important;
    padding: 13px 30px;
    margin: 0;
    position: relative;
    font-size: 14px;
    letter-spacing: 3px;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

.butn-dark a:after {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 100%;
    z-index: -1;
    background: #222;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.butn-dark a span {
    position: relative;
    z-index: 2;
}

.butn-dark a:hover:after {
    width: 100%;
    left: 0;
}

.butn-dark a:hover span {
    color: #fff;
}

/* Light Theme Override for Landing Page */
body.light-theme {
    background-color: var(--bg-dark);
    background-image: none !important;
    color: var(--text-light);
}

body.light-theme .landing-header {
    background-color: rgba(252, 251, 250, 0.95);
    border-bottom: 1px solid rgba(255, 144, 0, 0.15);
}

body.light-theme .landing-footer {
    background-color: #f6f5ef;
    border-top: 1px solid rgba(255, 144, 0, 0.15);
}

body.light-theme .landing-footer h3 {
    color: var(--text-light);
}

body.light-theme .landing-footer p,
body.light-theme .landing-footer a {
    color: var(--text-muted);
}

body.light-theme .landing-footer a:hover {
    color: var(--gold-primary);
}

body.light-theme .landing-footer .footer-bottom {
    border-top: 1px solid rgba(255, 144, 0, 0.1);
    color: var(--text-muted);
}

body.light-theme .landing-section h2 {
    color: var(--text-light);
}

body.light-theme .landing-section h3 {
    color: var(--text-light);
}

body.light-theme .section-title p {
    color: var(--gold-primary);
}

/* Light Theme Override for Services & Packages Cards */
body.light-theme .service-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(255, 144, 0, 0.05);
}

body.light-theme .service-card:hover {
    box-shadow: 0 15px 35px rgba(255, 144, 0, 0.15);
    background: #ffffff;
}


/* Premium Light Theme Modal & Form Styling */
body.light-theme .modal-card {
    background: #fdfdfb;
    border: 1px solid rgba(255, 144, 0, 0.2);
    box-shadow: 0 25px 60px -15px rgba(255, 144, 0, 0.25);
    border-radius: 20px;
}

body.light-theme .modal-header {
    border-bottom: 1px solid rgba(255, 144, 0, 0.12);
    padding: 16px 24px;
}

body.light-theme .modal-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 144, 0, 0.06);
    color: var(--text-muted) !important;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    line-height: 1;
}

body.light-theme .modal-close:hover {
    background-color: rgba(255, 144, 0, 0.15);
    color: var(--gold-primary) !important;
    transform: rotate(90deg);
}

body.light-theme .modal-body {
    padding: 20px 24px;
}

body.light-theme .modal-footer {
    border-top: 1px solid rgba(255, 144, 0, 0.12);
    background-color: #f7f6f0;
    padding: 15px 24px;
}

/* Light Theme Form Control Styling */
body.light-theme .form-group label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: #ff9000;
    margin-bottom: 8px;
    display: block;
}

body.light-theme .form-control {
    background-color: #ffffff;
    border: 1px solid rgba(255, 144, 0, 0.18);
    color: #1a1a1a;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14.5px;
    transition: all 0.35s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

body.light-theme .modal-body .form-control {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
}

body.light-theme .modal-body .form-group label {
    margin-bottom: 5px;
}

body.light-theme .form-control:focus {
    background-color: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(255, 144, 0, 0.12), 0 4px 10px rgba(255, 144, 0, 0.06);
    outline: none;
}

body.light-theme .form-control::placeholder {
    color: #a0a0a0;
}

/* Tags Input & Custom Tags Styles */
.tags-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 8px;
    background-color: var(--bg-input);
    margin-bottom: 8px;
}

body.light-theme .tags-input-container {
    background-color: #ffffff;
    border-color: rgba(255, 144, 0, 0.18);
}

.feature-tag {
    background: var(--gold-gradient);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    animation: tagGrow 0.2s ease;
}

@keyframes tagGrow {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.feature-tag .btn-remove-tag {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}

.feature-tag .btn-remove-tag:hover {
    color: #ffffff;
}

.btn-quick-tag {
    background-color: rgba(255, 144, 0, 0.08);
    border: 1px solid rgba(255, 144, 0, 0.15);
    color: #ff9000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-quick-tag:hover {
    background-color: var(--gold-primary);
    color: #ffffff;
    border-color: var(--gold-primary);
    transform: translateY(-1px);
}

/* Two-column modal layout styles */
#packageModal .modal-card {
    max-width: 900px !important;
    width: 90% !important;
    max-height: 85vh !important;
}

.modal-two-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    align-items: stretch;
}

.modal-column-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-column-right {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

body.light-theme .modal-column-right {
    border-left: 1px solid rgba(255, 144, 0, 0.12);
}

@media (max-width: 768px) {
    #packageModal .modal-card {
        max-width: 600px !important;
    }
    .modal-two-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .modal-column-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
    }
    body.light-theme .modal-column-right {
        border-top: 1px solid rgba(255, 144, 0, 0.12);
    }
}

/* ================= APPOINTMENTS SCHEDULER & SETTINGS TAB ================= */
.appointments-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.appointments-top-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.compact-calendar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    width: 200px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.calendar-header h4 {
    font-family: var(--font-serif);
    font-size: 12px;
    color: var(--gold-primary);
    margin: 0;
    font-weight: 500;
}

.btn-cal-nav {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.25s ease;
}

.btn-cal-nav:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background: rgba(255, 144, 0, 0.08);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}

.calendar-weekday {
    font-family: var(--font-condensed);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    padding: 3px 0;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gold-primary);
}

.calendar-day.other-month {
    color: rgba(255, 255, 255, 0.15) !important;
}

.calendar-day.active {
    background: var(--gold-gradient) !important;
    color: #000 !important;
    font-weight: 600;
    box-shadow: 0 4px 10px var(--gold-glow);
}

.calendar-day.today {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.calendar-day.active.today {
    color: #000;
}

/* Appointment Dot Indicator */
.calendar-day .dot-indicator {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background-color: var(--gold-primary);
    border-radius: 50%;
}

.calendar-day.active .dot-indicator {
    background-color: #000;
}

.selected-day-details-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.day-details-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.day-details-title-row h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
}

.day-badge {
    background: rgba(255, 144, 0, 0.12);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    font-family: var(--font-condensed);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 15px;
    letter-spacing: 0.5px;
}

/* Hourly Timeline CSS */
.appointments-timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.timeline-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.timeline-header h4 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.timeline-slots-list {
    display: flex;
    flex-direction: column;
}

.timeline-slot {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    align-items: center;
}

.timeline-slot:last-child {
    border-bottom: none;
}

.slot-time {
    width: 120px;
    flex-shrink: 0;
    font-family: var(--font-condensed);
    font-size: 14px;
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.slot-content {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-slot-add {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.btn-slot-add:hover {
    color: var(--gold-primary);
}

.appointment-pill {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 280px;
    max-width: 480px;
}

.appointment-pill:hover {
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Appointment status overrides */
.appointment-pill.completed {
    border-left-color: var(--status-empty);
}

.appointment-pill.cancelled {
    border-left-color: var(--status-full);
    opacity: 0.6;
}

.app-pill-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-pill-client {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
}

.app-pill-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.app-pill-notes {
    font-size: 11px;
    color: var(--gold-primary);
    margin-top: 2px;
}

.app-pill-actions {
    display: flex;
    gap: 6px;
}

.btn-pill-action {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-pill-action:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-light);
}

.btn-pill-action.delete:hover {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.08);
}

/* Responsive adjustment for top row */
@media (max-width: 860px) {
    .appointments-top-row {
        flex-direction: column;
    }
    .compact-calendar-card {
        width: 100%;
    }
}

/* Light Theme tweaks */
body.light-theme .compact-calendar-card,
body.light-theme .selected-day-details-card,
body.light-theme .appointments-timeline-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(255, 144, 0, 0.04);
}

body.light-theme .calendar-day:hover {
    background-color: rgba(255, 144, 0, 0.06);
}

body.light-theme .calendar-day.active {
    color: #ffffff !important;
}

body.light-theme .appointment-pill {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

body.light-theme .appointment-pill:hover {
    background-color: #faf9f6;
}

/* --- PREMIUM SELECT2 CUSTOM STYLING --- */
.select2-container--default .select2-selection--single {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-light) !important;
    font-size: 14px !important;
    padding-left: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-muted) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--text-muted) transparent !important;
}

.select2-dropdown {
    background-color: var(--bg-modal) !important;
    border: 1px solid var(--gold-border) !important;
    border-radius: 8px !important;
    z-index: 99999 !important; /* Ensure it is above the modal background */
}

.select2-search--dropdown {
    padding: 8px !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: var(--bg-dark) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
    border-radius: 4px !important;
    padding: 6px 10px !important;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: var(--text-light) !important;
    background-color: transparent !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(255, 144, 0, 0.25) !important;
    color: var(--text-light) !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected="true"] {
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
}

/* Header Right Nav Layout */
.header-right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right-nav .theme-switch-wrapper {
    margin-top: 0;
}

.theme-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
}

.user-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold-primary);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.user-info-text .user-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.user-info-text .user-role-badge {
    font-size: 9px;
    font-weight: 600;
    color: #000;
    background: var(--gold-gradient);
    padding: 1px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dropdown-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.user-dropdown-trigger:hover .dropdown-arrow {
    color: var(--gold-primary);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--bg-modal);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
    animation: dropdownReveal 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.user-dropdown-menu.show {
    display: flex;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.user-dropdown-menu a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.user-dropdown-menu a:hover {
    background-color: rgba(255, 144, 0, 0.08);
    color: var(--gold-primary);
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 6px 0;
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* History Modal Badges */
.badge-scheduled {
    background-color: rgba(255, 144, 0, 0.15) !important;
    color: var(--gold-primary) !important;
    border: 1px solid var(--gold-border) !important;
}
.badge-completed {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: var(--status-empty) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
.badge-cancelled {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: var(--status-full) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Menu Toggle Button Styles */
.landing-menu-toggle, .admin-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.landing-menu-toggle:hover, .admin-menu-toggle:hover {
    background: rgba(255, 144, 0, 0.1);
    border-color: var(--gold-primary);
}

/* Backdrop Styles */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99;
    display: none;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
    display: block;
}

/* Tablet & Mobile Admin Panel Layout (max-width: 991px) */
@media (max-width: 991px) {
    .admin-menu-toggle {
        display: inline-block;
    }

    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        box-shadow: var(--shadow-lg);
    }

    .admin-sidebar.open {
        left: 0;
    }

    .admin-header {
        padding: 15px 20px;
    }

    .admin-header h1 {
        font-size: 20px;
    }

    .admin-content-area {
        padding: 15px 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        margin-bottom: 25px;
    }

    /* Modal adjustments */
    .modal-card {
        width: 95%;
        max-width: 95%;
        margin: 5vh auto;
        max-height: 90vh;
    }

    .modal-body {
        max-height: 70vh;
    }
}

/* Mobile Layout tweaks (max-width: 768px) */
@media (max-width: 768px) {
    /* Public Website Responsive Navigation */
    .landing-menu-toggle {
        display: block;
    }

    .landing-nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 24px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
    }

    .landing-nav-links.active {
        display: flex;
    }

    .landing-nav-links li {
        width: 100%;
        text-align: center;
    }

    .landing-nav-links a {
        display: block;
        padding: 8px 0;
    }

    .landing-nav-links .btn-gold-outline {
        display: inline-block;
        margin-top: 5px;
        width: 80%;
    }

    /* Header tweaks */
    .header-time {
        display: none; /* Hide date/time on small mobile screens to save space */
    }

    .admin-header {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-right-nav {
        width: 100%;
        justify-content: space-between;
        margin-top: 5px;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
    }

    .theme-switch-wrapper {
        margin-top: 0;
    }

    /* Landing sections */
    .landing-section {
        margin: 50px auto;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-slider {
        height: 60vh;
    }

    /* Grid & Form wrapping */
    .flex-space-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dynamic-extra-row {
        flex-wrap: wrap;
    }

    .dynamic-extra-row input[type="text"] {
        width: 100%;
    }

    .dynamic-extra-row input[type="number"] {
        flex-grow: 1;
        width: calc(100% - 60px);
    }

    .dynamic-extra-row button {
        width: 50px;
    }

    /* Table Responsiveness: convert tables to cards on mobile */
    .table-responsive {
        border: none;
        overflow-x: visible;
        width: 100%;
    }

    .spa-table, 
    .spa-table thead, 
    .spa-table tbody, 
    .spa-table th, 
    .spa-table td, 
    .spa-table tr {
        display: block;
        width: 100% !important;
    }

    /* Hide table headers on mobile */
    .spa-table thead {
        display: none;
    }

    .spa-table tr {
        background: var(--bg-card-light);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: var(--shadow-sm);
    }

    .spa-table tr:hover td {
        background-color: transparent;
    }

    .spa-table td {
        border: none !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 0 !important;
        font-size: 14px;
        background-color: transparent !important;
        word-break: break-word;
        text-align: right;
    }

    .spa-table td:first-child,
    .spa-table td:last-child {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
    }

    .spa-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* Label data using CSS targets */
    .spa-table td::before {
        position: static;
        width: 35%;
        flex-shrink: 0;
        padding-right: 15px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--gold-primary);
        font-family: var(--font-condensed);
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Identify columns for specific tables */
    /* 1. Customers Table */
    #customers-tab .spa-table td:nth-of-type(1)::before { content: "Ad Soyad"; }
    #customers-tab .spa-table td:nth-of-type(2)::before { content: "Telefon"; }
    #customers-tab .spa-table td:nth-of-type(3)::before { content: "E-posta"; }
    #customers-tab .spa-table td:nth-of-type(4)::before { content: "Notlar"; }
    #customers-tab .spa-table td:nth-of-type(5)::before { content: "Kayıt Tarihi"; }
    #customers-tab .spa-table td:nth-of-type(6)::before { content: "İşlemler"; }

    /* 2. Kasa Table */
    #kasa-tab .spa-table td:nth-of-type(1)::before { content: "Tarih"; }
    #kasa-tab .spa-table td:nth-of-type(2)::before { content: "Tür"; }
    #kasa-tab .spa-table td:nth-of-type(3)::before { content: "Ödeme Yöntemi"; }
    #kasa-tab .spa-table td:nth-of-type(4)::before { content: "Tutar"; }
    #kasa-tab .spa-table td:nth-of-type(5)::before { content: "Açıklama"; }

    /* 3. Packages Table */
    #packages-tab .spa-table td:nth-of-type(1)::before { content: "Paket Adı"; }
    #packages-tab .spa-table td:nth-of-type(2)::before { content: "Süre (Dk)"; }
    #packages-tab .spa-table td:nth-of-type(3)::before { content: "Fiyat"; }
    #packages-tab .spa-table td:nth-of-type(4)::before { content: "Özellikler"; }
    #packages-tab .spa-table td:nth-of-type(5)::before { content: "Durum"; }
    #packages-tab .spa-table td:nth-of-type(6)::before { content: "İşlemler"; }

    /* 4. Staff Tab Tables */
    /* 4.1. Therapists Table */
    #therapistsTable td:nth-of-type(1)::before { content: "Ad Soyad"; }
    #therapistsTable td:nth-of-type(2)::before { content: "Telefon"; }
    #therapistsTable td:nth-of-type(3)::before { content: "Prim Oranı (%)"; }
    #therapistsTable td:nth-of-type(4)::before { content: "Durum"; }
    #therapistsTable td:nth-of-type(5)::before { content: "İşlemler"; }

    /* 4.2. Staff Table */
    #staffTable td:nth-of-type(1)::before { content: "Ad Soyad"; }
    #staffTable td:nth-of-type(2)::before { content: "Görevi"; }
    #staffTable td:nth-of-type(3)::before { content: "Telefon"; }
    #staffTable td:nth-of-type(4)::before { content: "Sabit Maaş"; }
    #staffTable td:nth-of-type(5)::before { content: "İşlemler"; }

    /* 4.3. Payments Table */
    #paymentsTable td:nth-of-type(1)::before { content: "Tarih"; }
    #paymentsTable td:nth-of-type(2)::before { content: "Personel"; }
    #paymentsTable td:nth-of-type(3)::before { content: "Ödeme Türü"; }
    #paymentsTable td:nth-of-type(4)::before { content: "Tutar"; }
    #paymentsTable td:nth-of-type(5)::before { content: "Açıklama"; }


    /* 5. Users Table */
    #users-tab .spa-table td:nth-of-type(1)::before { content: "Ad Soyad"; }
    #users-tab .spa-table td:nth-of-type(2)::before { content: "Kullanıcı Adı"; }
    #users-tab .spa-table td:nth-of-type(3)::before { content: "Rol / Yetki"; }
    #users-tab .spa-table td:nth-of-type(4)::before { content: "İşlemler"; }

    /* 6. Logs Table */
    #logs-tab .spa-table td:nth-of-type(1)::before { content: "Tarih / Saat"; }
    #logs-tab .spa-table td:nth-of-type(2)::before { content: "Kullanıcı"; }
    #logs-tab .spa-table td:nth-of-type(3)::before { content: "İşlem / Eylem"; }
    #logs-tab .spa-table td:nth-of-type(4)::before { content: "Detaylar"; }

    /* 7. Rooms Table */
    #roomsTable td:nth-of-type(1)::before { content: "Oda Adı"; }
    #roomsTable td:nth-of-type(2)::before { content: "Durum"; }
    #roomsTable td:nth-of-type(3)::before { content: "İşlemler"; }

    /* Action buttons block alignment */
    .spa-table td.action-buttons::before {
        display: none;
    }

    .spa-table td.action-buttons {
        display: flex;
        width: 100% !important;
        padding: 16px 0 0 0 !important;
        border-bottom: none !important;
        gap: 8px;
        justify-content: space-between;
    }

    .spa-table td.action-buttons button, 
    .spa-table td.action-buttons a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        height: 32px;
        font-size: 10px !important;
        padding: 0 4px !important;
        white-space: nowrap;
        margin: 0 !important;
        letter-spacing: 0.5px;
    }

    /* Content panel container padding modifications on mobile */
    .content-panel {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .panel-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .panel-header h2 {
        font-size: 20px;
        text-align: center;
    }

    .panel-header div {
        flex-direction: column;
        width: 100% !important;
        gap: 10px;
    }

    .panel-header button, .panel-header input {
        width: 100% !important;
    }

    /* Quick filters & tools */
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-row .search-box {
        width: 100%;
    }

    .filter-row .btn-gold-solid, .filter-row .btn-gold-outline {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   FRONT PAGE SLIDER & FLOATING BUTTONS
   ========================================================================== */

/* Slider CSS */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    transition-delay: 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h4 {
    color: var(--gold-primary);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-family: var(--font-condensed);
}

.slide-content h1 {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(255, 144, 0, 0.4);
}

.slider-arrow.prev-slide {
    left: 30px;
}

.slider-arrow.next-slide {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--gold-primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--gold-primary);
    border-color: var(--gold-primary);
}

/* Floating Actions CSS */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn.phone {
    background: linear-gradient(135deg, #ff9000, #d47800);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Pulse effects */
.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.5);
    animation: floatPulse 2s infinite;
    pointer-events: none;
    z-index: -1;
}

.float-btn.whatsapp::before {
    box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
}

.float-btn.phone::before {
    box-shadow: 0 0 0 0px rgba(255, 144, 0, 0.5);
}

@keyframes floatPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
        box-shadow: 0 0 0 0px rgba(255, 255, 255, 0);
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 15px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow.prev-slide { left: 15px; }
    .slider-arrow.next-slide { right: 15px; }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
