/* style.css - HadiUstam High-End Premium Design System (Soft Luxury Dark) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Soft Luxury Dark Palette */
    --bg-base: #090a0f;
    --bg-surface: #11131a;
    --bg-surface-raised: #161922;
    --bg-surface-hover: #1c202c;
    --surface-card: #161922; /* alias for modal/card surfaces */

    /* Hairline Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(255, 255, 255, 0.2);
    --border: rgba(255, 255, 255, 0.09); /* generic border alias */

    /* Refined Primary / Accent */
    --accent-blue: #0284c7;
    --accent-blue-hover: #0369a1;
    --accent-light: #38bdf8;
    --accent: #38bdf8; /* short alias */
    --accent-soft: rgba(56, 189, 248, 0.08);
    --accent-glow: rgba(56, 189, 248, 0.15);

    /* Status Colors */
    --status-green: #10b981;
    --status-green-soft: rgba(16, 185, 129, 0.1);
    --status-red: #f43f5e;
    --status-red-soft: rgba(244, 63, 94, 0.1);
    --status-amber: #f59e0b;
    --status-amber-soft: rgba(245, 158, 11, 0.1);
    --status-purple: #a855f7;
    --status-purple-soft: rgba(168, 85, 247, 0.1);

    /* Text Hierarchy */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-inverse: #090a0f;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Soft Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 50px -12px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.06), transparent),
        radial-gradient(circle at 100% 100%, rgba(30, 41, 59, 0.2), transparent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: rgba(9, 10, 15, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem clamp(1rem, 3vw, 2rem);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 38px;
    width: 38px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    padding: 2px;
    border: 1px solid var(--border-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.brand-logo strong {
    color: var(--accent-light);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Mobil Hamburger Butonu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 1100;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobil Açılır Menü (Drawer) */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(9, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    padding: 1.5rem 1.25rem 2.5rem;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    z-index: 999;
    animation: drawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    display: flex;
}

@keyframes drawerSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.15rem;
    min-height: 48px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.15s ease;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a:active {
    background: rgba(56, 189, 248, 0.09);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-light);
}

.mobile-nav-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Buttons (Refined, Tactile)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--text-inverse);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-accent {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
    background: linear-gradient(180deg, #0369a1 0%, #075985 100%);
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #0b1120;
    border-color: #22c55e;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background-color: #22c55e;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--border-highlight);
}

.btn-success {
    background-color: var(--status-green);
    color: #ffffff;
    border-color: rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.4);
    color: #fda4af;
    font-weight: 600;
}

.btn-danger:hover {
    background-color: var(--status-red);
    border-color: var(--status-red);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 1.65rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */
.top-pill-banner {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.08), rgba(9, 10, 15, 0.2));
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.top-pill-banner strong {
    color: var(--accent-light);
    font-weight: 600;
}

.top-pill-banner a {
    color: var(--text-primary);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* ==========================================================================
   Dashboard Layout & Sidebars
   ========================================================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 65px);
}

.dashboard-sidebar {
    background-color: rgba(17, 19, 26, 0.7);
    border-right: 1px solid var(--border-subtle);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--accent-light);
    overflow: hidden;
}

.avatar-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
    border-left: 3px solid transparent;
    user-select: none;
}

.sidebar-link:hover {
    background-color: var(--bg-surface-raised);
    color: var(--text-primary);
    border-color: var(--border-subtle);
    border-left-color: var(--border-medium);
}

.sidebar-link.active {
    background-color: rgba(56, 189, 248, 0.07);
    color: var(--text-primary);
    border-color: var(--border-subtle);
    border-left-color: var(--accent-light);
    font-weight: 600;
}

.dashboard-content {
    padding: 2.5rem;
    overflow-y: auto;
}

.dash-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

/* Tab Content Visibility */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

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

/* Stat Grid */
.stat-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-box-dash {
    background: linear-gradient(180deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-subtle);
    border-top: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.stat-box-dash:hover {
    border-top-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-box-dash .val {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 0.35rem;
    line-height: 1.1;
}

.stat-box-dash .lbl {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Profile Form & Settings Grid */
.profile-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.profile-card {
    background: linear-gradient(180deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.profile-card-header h3 {
    font-size: 1.15rem;
}

.badge-certified {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--status-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

/* Radar Pop-up Alert Banner */
.radar-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px var(--accent-glow);
    z-index: 3000;
    max-width: 380px;
    width: 100%;
    animation: slideUp 0.3s ease-out;
}

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

.radar-pulse-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-light);
    animation: radarPulse 1.5s infinite;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* Portfolio Gallery Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
}

.portfolio-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background-color: #0b0d14;
}

.portfolio-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-body h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.portfolio-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex: 1;
}

/* Calendar & Schedule */
.calendar-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.schedule-card:hover {
    background-color: var(--bg-surface-raised);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* Randevu Ajandası kartı - dikey layout */
.appt-card {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 0;
    padding: 1.25rem 1.5rem 1rem;
}

.appt-status-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.schedule-time {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Dispatch Quick Chips */
.dispatch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-btn:hover, .chip-btn.active {
    background-color: var(--accent-soft);
    border-color: var(--accent-light);
    color: var(--accent-light);
}

/* Earnings Chart Simulation */
.chart-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.chart-bar-wrap {
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    height: 180px;
    padding-top: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 42px;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-blue) 100%);
    border-radius: 6px 6px 0 0;
    transition: height 0.4s ease;
    position: relative;
}

.chart-bar:hover {
    filter: brightness(1.15);
}

.chart-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Request Cards & Feed */
.request-card {
    background: linear-gradient(180deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
}

.request-card:hover {
    border-color: var(--border-highlight);
}

.request-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-bekliyor {
    background-color: var(--status-amber-soft);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.status-kabul_edildi, .status-yolda {
    background-color: var(--accent-soft);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-light);
}

.status-tamamlandi {
    background-color: var(--status-green-soft);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--status-green);
}

.status-iptal {
    background-color: var(--status-red-soft);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

/* Stepper / Timeline Progress */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 1.5rem 0;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--border-subtle);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.step-item.active .step-circle {
    border-color: var(--accent-light);
    background-color: var(--accent-light);
    color: var(--bg-base);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.step-item.completed .step-circle {
    border-color: var(--status-green);
    background-color: var(--status-green);
    color: #ffffff;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* Toggle Switch */
.toggle-switch-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.85rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--status-green);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.open {
    display: flex;
}

.modal-box {
    background: linear-gradient(180deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    padding: 2.25rem;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04) inset;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Custom scrollbars */
.modal-box::-webkit-scrollbar,
.dashboard-content::-webkit-scrollbar {
    width: 5px;
}
.modal-box::-webkit-scrollbar-track,
.dashboard-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-box::-webkit-scrollbar-thumb,
.dashboard-content::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 10px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Tables */
.dash-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dash-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.dash-table td {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.dash-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Forms & Cards */
.card, .bento-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label,
.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-base);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background-color: rgba(9, 10, 15, 0.9);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

/* Native date/time pickers */
.form-control[type="date"],
.form-control[type="time"] {
    color-scheme: dark;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.alert-danger {
    background-color: var(--status-red-soft);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

.alert-success {
    background-color: var(--status-green-soft);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.service-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
    display: inline-block;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
}

.master-preview-box {
    background-color: rgba(9, 10, 15, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.master-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-raised);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
    background-color: var(--bg-surface-raised);
}

.service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.user-badge {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.role-tag {
    color: var(--accent-light);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    .profile-grid-layout {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-grid-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-content {
        padding: 1.5rem 1rem;
    }
    .stat-grid-dashboard {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ADMIN PANEL & OPERATIONS CENTER STYLES
   ========================================================================== */
.badge-role {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.badge-role-admin {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}
.badge-role-usta {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.badge-role-musteri {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.badge-status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-status-suspended {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}
.badge-status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Radar & Map Operations Console */
.radar-screen-box {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #06070a;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(56, 189, 248, 0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle-ring {
    position: absolute;
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 50%;
    pointer-events: none;
}
.radar-circle-1 { width: 140px; height: 140px; }
.radar-circle-2 { width: 260px; height: 260px; }
.radar-circle-3 { width: 380px; height: 380px; }

.radar-sweep-line {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(56, 189, 248, 0.25) 360deg);
    animation: radarSweep 4s linear infinite;
    pointer-events: none;
}

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

.radar-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}
.radar-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 20;
}

.radar-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 12px currentColor;
}
.radar-pin-dot.artisan-free { background-color: #10b981; color: #10b981; }
.radar-pin-dot.artisan-busy { background-color: #fbbf24; color: #fbbf24; }
.radar-pin-dot.emergency-call { background-color: #f43f5e; color: #f43f5e; animation: pinPulse 1.2s infinite; }

@keyframes pinPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.radar-pin-tooltip {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 19, 26, 0.95);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
    color: var(--text-primary);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    display: none;
}
.radar-pin:hover .radar-pin-tooltip {
    display: block;
}

/* Activity Log Feed */
.activity-feed-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.activity-feed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: rgba(9, 10, 15, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.coupon-tag {
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(56, 189, 248, 0.1);
    border: 1px dashed var(--accent-light);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* ==========================================================================
   GLOBAL SEARCH & FILTER BAR COMPONENTS (High Priority Dark UI)
   ========================================================================== */
.filter-bar-dash {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: linear-gradient(135deg, rgba(17, 19, 26, 0.98), rgba(22, 25, 34, 0.9)) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    padding: 0.75rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 1.25rem !important;
    position: relative !important;
    backdrop-filter: blur(12px) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.filter-bar-dash:hover {
    border-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.06) !important;
}

.search-box-custom {
    position: relative !important;
    flex: 1 1 200px !important;
    min-width: 180px !important;
    display: flex !important;
    align-items: center !important;
}

.search-box-custom svg {
    position: absolute !important;
    left: 0.9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--text-tertiary) !important;
    pointer-events: none !important;
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    z-index: 2 !important;
}

.search-box-custom:focus-within svg {
    color: var(--accent-light) !important;
    transform: translateY(-50%) scale(1.15) !important;
}

.search-box-custom input {
    width: 100% !important;
    height: 40px !important;
    padding: 0 1rem 0 2.5rem !important;
    background: #090a0f !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-sm) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-family: var(--font-body) !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.search-box-custom input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
    transition: opacity 0.2s ease !important;
}

.search-box-custom input:focus {
    background: #0d1017 !important;
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.filter-select-custom {
    height: 40px !important;
    padding: 0 2.25rem 0 0.9rem !important;
    background-color: #090a0f !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--radius-sm) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    font-family: var(--font-body) !important;
    outline: none !important;
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    flex: 0 0 auto !important;
}

.filter-select-custom:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    background-color: #0d1017 !important;
}

.filter-select-custom:focus {
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

.filter-select-custom option {
    background-color: #11131a !important;
    color: #f1f5f9 !important;
    padding: 0.6rem 0.85rem !important;
}

.filter-checkbox-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    height: 40px !important;
    font-size: 0.82rem !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    padding: 0 0.85rem !important;
    background: rgba(9, 10, 15, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.filter-checkbox-label:hover {
    border-color: rgba(244, 63, 94, 0.4) !important;
    color: var(--text-primary) !important;
    background: rgba(244, 63, 94, 0.08) !important;
}

.filter-count-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--accent-light) !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    padding: 0 0.85rem !important;
    border-radius: 9999px !important;
    margin-left: auto !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    animation: filterBadgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes filterBadgePop {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── SMOOTH FADE & SLIDE ANIMATION ON FILTERED ROWS/CARDS ── */
.dash-table tbody tr,
.address-card-item,
.favorite-card-item,
.usta-aktif-item,
.havuz-item,
.ajanda-item,
.yorum-item,
.service-card {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-table tbody tr:hover {
    background-color: rgba(56, 189, 248, 0.04);
}

/* ==========================================================================
   LANDING PAGE COMPONENTS & SHOWCASE DESIGN SYSTEM
   ========================================================================== */

/* Universal Section & Typography */
.section {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-desc {
    font-size: clamp(0.925rem, 1.4vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

/* Hero Section */
.hero {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
        padding-top: 4rem;
        padding-bottom: 5rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 1.25rem;
}

.pill-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-light);
    box-shadow: 0 0 8px var(--accent-light);
    animation: radarPulse 1.8s infinite;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw + 0.5rem, 3.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title .accent {
    color: var(--accent-light);
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
    align-items: center;
    width: 100%;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 2vw, 1.75rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--status-green);
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Interface Card (Tactile Hero Glass Card) */
.interface-card {
    background: linear-gradient(180deg, rgba(22, 25, 34, 0.95) 0%, rgba(17, 19, 26, 0.98) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.radar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--status-green);
}

.radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--status-green);
    box-shadow: 0 0 8px var(--status-green);
    animation: radarPulse 1.5s infinite;
}

.route-estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 10, 15, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    font-size: 0.85rem;
}

/* Metrics Section */
.metrics-section {
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(17, 19, 26, 0.6);
    backdrop-filter: blur(12px);
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.metrics-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-card {
    text-align: center;
    padding: 0.75rem 0.5rem;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Bento Grid (NSCoding Section) */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-featured {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bento-featured {
        grid-column: span 2;
    }
    .bento-secondary {
        grid-column: span 1;
    }
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    margin-bottom: 1.25rem;
}

.bento-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.bento-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Steps Container (Nasıl Çalışır?) */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: linear-gradient(180deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    position: relative;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-count {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(56, 189, 248, 0.3);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* App Showcase Box */
.app-showcase-box {
    background: linear-gradient(135deg, rgba(22, 25, 34, 0.95) 0%, rgba(17, 19, 26, 0.95) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .app-showcase-box {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
    }
}

.store-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(9, 10, 15, 0.85);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0.65rem 1.25rem;
    min-height: 48px;
    cursor: default;
    transition: all 0.2s ease;
}

.store-btn:hover {
    border-color: var(--border-highlight);
    background: rgba(17, 19, 26, 1);
}

.store-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #ffffff;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-btn-text small {
    font-size: 0.65rem;
    color: var(--accent-light);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

.store-btn-text span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Partner Banner (Usta Mısınız?) */
.partner-banner {
    width: calc(100% - clamp(2rem, 6vw, 4rem));
    max-width: 1300px;
    margin: clamp(2rem, 5vw, 4rem) auto;
    background: radial-gradient(circle at 100% 50%, rgba(56, 189, 248, 0.15), transparent 60%), linear-gradient(135deg, #11141d 0%, #090a0f 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .partner-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.partner-banner h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    margin-bottom: 0.5rem;
}

/* FAQ Section & Accordion */
.faq-wrap {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.faq-card:hover {
    border-color: var(--border-medium);
}

.faq-card.open {
    border-color: rgba(56, 189, 248, 0.4);
    background: var(--bg-surface-raised);
}

.faq-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    gap: 1rem;
    min-height: 48px;
}

.faq-icon {
    font-size: 1.35rem;
    color: var(--accent-light);
    font-weight: 400;
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
    flex-shrink: 0;
}

.faq-card.open .faq-icon {
    transform: rotate(45deg);
    color: var(--status-red);
}

.faq-body {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}

.faq-card.open .faq-body {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

/* Footer */
footer {
    background-color: #06070a;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 600px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-col ul a:hover {
    color: var(--accent-light);
}

.footer-bottom-bar {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
        text-align: left;
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVE BREAKPOINTS (Mobile-First Polish)
   ========================================================================== */

/* Tablet & Mobile Header Collapse (<= 992px) */
@media (max-width: 992px) {
    .nav-links,
    .desktop-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

/* Small Tablets & Mobile (<= 768px) */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .partner-banner .btn {
        width: 100%;
    }
}

/* Compact Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    .top-pill-banner {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .top-pill-banner a {
        display: block;
        margin-top: 0.2rem;
        margin-left: 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* --- VIP & Onay Durum Rozetleri & WhatsApp Butonları --- */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.badge-status-active {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
    animation: badgePulse 2s infinite ease-in-out;
}

.badge-status-suspended {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.2s ease !important;
}

.btn-whatsapp:hover {
    background: #1ebd56 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
}

.vip-avatar-frame {
    position: relative;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.5) !important;
}

.vip-crown-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #11131a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ==========================================================================
   AUTH PAGES (Login & Register - Luxury Soft Dark Glass Design)
   ========================================================================== */
.auth-wrapper {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
    width: 100%;
}

.auth-box {
    background: linear-gradient(180deg, rgba(22, 25, 34, 0.96) 0%, rgba(17, 19, 26, 0.98) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-sizing: border-box;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header img {
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.auth-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE ENHANCEMENTS (Dashboard, Admin & Tables)
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: rgba(9, 10, 15, 0.4);
}

.table-responsive .dash-table {
    margin-top: 0;
    min-width: 650px;
}

/* Mobile Sidebar Navigation for Dashboard & Admin (<= 992px) */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr !important;
    }

    .dashboard-sidebar {
        border-right: none !important;
        border-bottom: 1px solid var(--border-medium) !important;
        padding: 0.75rem 1rem !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: rgba(17, 19, 26, 0.95) !important;
        position: sticky !important;
        top: 60px !important;
        z-index: 90 !important;
    }

    .sidebar-menu {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 0.25rem !important;
        gap: 0.4rem !important;
        scrollbar-width: none !important;
    }
    .sidebar-menu::-webkit-scrollbar {
        display: none !important;
    }

    .sidebar-link {
        white-space: nowrap !important;
        padding: 0.55rem 0.85rem !important;
        font-size: 0.8rem !important;
        border-left: 1px solid transparent !important;
        border-bottom: 3px solid transparent !important;
        border-radius: var(--radius-sm) !important;
    }

    .sidebar-link.active {
        border-left-color: transparent !important;
        border-bottom-color: var(--accent-light) !important;
        background-color: rgba(56, 189, 248, 0.12) !important;
    }

    .sidebar-profile {
        display: none !important;
    }

    .dashboard-content {
        padding: 1.25rem 1rem !important;
    }

    .admin-top-bar {
        padding: 0.75rem 1rem !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
    }
}

/* Small Screens (<= 640px) */
@media (max-width: 640px) {
    .dash-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }

    .stat-grid-dashboard {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .modal-box {
        padding: 1.25rem !important;
        border-radius: var(--radius-lg) !important;
        max-width: 95vw !important;
    }

    .filter-bar-dash {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .search-box-custom, .filter-select-custom {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
}

@media (max-width: 420px) {
    .stat-grid-dashboard {
        grid-template-columns: 1fr !important;
    }

    .auth-box {
        padding: 1.5rem 1.15rem !important;
    }
}
