/* ========================================================
   RANDEVUM Ä°ÅLETMEM - MASAÃœSTÃœ WEB DASHBOARD STÄ°LLERÄ°
   ======================================================== */

:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
    --primary-light: #fff7ed;
    --primary-border: #ffedd5;
    
    --navy-dark: #0f172a;
    --navy-card: #1e293b;
    --navy-sub: #334155;
    --navy-border: #475569;
    
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-sub: #94a3b8;
    
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --info: #3b82f6;
    --info-light: #eff6ff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sidebar-width: 280px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

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

body.desktop-body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Helpers */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.text-orange { color: var(--primary) !important; }
.text-blue { color: var(--info) !important; }
.text-green { color: var(--success) !important; }
.text-red { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-sm { font-size: 0.85rem !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.highlight-orange { color: var(--primary); }
.mt-4 { margin-top: 1.5rem !important; }
.max-w-md { max-width: 460px !important; }
.max-w-lg { max-width: 580px !important; }
.max-w-4xl { max-width: 960px !important; }

/* Screens & Transitions */
.desktop-screen {
    display: none;
    min-height: 100vh;
}
.desktop-screen.active {
    display: block;
}

/* ========================================================
   1. AUTH SCREEN (Masaüstü Giriş & Kayıt Düzeni)
   ======================================================== */
.auth-desktop-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.auth-brand-side {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    padding: 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
}

.brand-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.brand-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.brand-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.feature-item p {
    color: #94a3b8;
    font-size: 0.86rem;
}

.auth-form-side {
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
    height: 100vh;
    overflow-y: auto;
}

.auth-card-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem 2.5rem;
    width: 100%;
    max-width: 470px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

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

.auth-logo-box {
    width: 62px;
    height: 62px;
    background: #0f172a;
    border-radius: 16px;
    margin: 0 auto 0.85rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.auth-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-title {
    font-size: 1.45rem;
    margin-bottom: 3px;
    letter-spacing: -0.02em;
}

.auth-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.auth-tabs-row {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 1.35rem;
    gap: 4px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.auth-form {
    display: none;
}
.auth-form.active {
    display: block;
}

/* ========================================================
   Form Components & Inputs
   ======================================================== */
.form-group {
    margin-bottom: 0.95rem;
}

.form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-icon-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-box > i.input-left-icon,
.input-icon-box > i:first-child:not(.pwd-toggle) {
    position: absolute;
    left: 14px;
    color: var(--text-sub);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
}

.input-icon-box input {
    padding-left: 40px;
    padding-right: 110px;
}

.prefix-box {
    position: absolute;
    left: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--text-main);
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
}

input.tel-padding {
    padding-left: 52px !important;
}

.pwd-toggle {
    position: absolute;
    right: 14px;
    color: var(--text-sub);
    cursor: pointer;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 11px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.link-orange {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
}
.link-orange:hover {
    text-decoration: underline;
}

/* Auth Actions Row (Beni Hatırla & Şifremi Unuttum) */
.auth-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    margin-bottom: 1.15rem;
}

.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
    user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
    border-radius: 4px;
    margin: 0;
}

/* Buttons */
.btn-primary-orange {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.4rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    transition: all 0.2s ease;
}

.btn-primary-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* Verification Components for Web */
.verify-action-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 0.45rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
}

.verify-action-btn:hover {
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 5px 14px rgba(249, 115, 22, 0.35);
}

.verified-badge-pill {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #059669;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    background: #ecfdf5;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #6ee7b7;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.verified-badge-pill i {
    position: static !important;
    color: #059669 !important;
    font-size: 0.92rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.field-error-text {
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.4rem;
    margin-left: 0.35rem;
    text-align: left;
}

.verify-code-box {
    margin-top: 0.75rem;
    border: 1.5px dashed #cbd5e1;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
    animation: fadeIn 0.25s ease-in-out;
}

.verify-code-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.verify-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.verify-code-input {
    font-size: 1.25rem;
    letter-spacing: 4px;
    padding: 0.65rem 0.85rem;
    font-weight: 800;
    text-align: center;
    width: 140px;
    max-width: 150px;
    border-radius: 11px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.2s;
}

.verify-code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.btn-verify-confirm {
    padding: 0.65rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 11px;
    height: auto;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-block {
    width: 100%;
}

.btn-outline-dark {
    background: #ffffff;
    color: var(--navy-dark);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-outline-dark:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-outline-danger {
    background: #ffffff;
    color: var(--danger);
    border: 1.5px solid #fecdd3;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-outline-danger:hover {
    background: var(--danger-light);
}

/* ========================================================
   2. BUSINESS SELECTION SCREEN
   ======================================================== */
.biz-select-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.container-desktop {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo-text-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-brand-title {
    font-size: 1.25rem;
    line-height: 1.2;
}

.nav-brand-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.main-biz-select-content {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
}

.section-title-box {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-box h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-title-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.biz-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.biz-card-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.biz-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.biz-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.biz-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1.5px solid var(--primary-border);
}

.biz-card-code {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.biz-card-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.biz-card-tag {
    display: inline-block;
    background: #f1f5f9;
    color: var(--navy-sub);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.biz-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.biz-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================
   3. DESKTOP DASHBOARD (Layout, Sidebar & Main)
   ======================================================== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 1.5rem 1.25rem;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.sidebar-brand-name {
    font-size: 1.15rem;
    line-height: 1.2;
}

.sidebar-badge-web {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

.sidebar-biz-card {
    background: var(--navy-dark);
    color: #ffffff;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-biz-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.sidebar-biz-logo-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.sidebar-biz-texts h4 {
    color: #ffffff;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.sidebar-biz-texts span {
    color: #94a3b8;
    font-size: 0.75rem;
    display: block;
}

.sidebar-biz-code-badge {
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
}

/* Nav Menu */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.nav-item i {
    font-size: 1.15rem;
    width: 22px;
    color: #94a3b8;
    transition: color 0.2s;
}

.nav-item:hover {
    background: #f8fafc;
    color: var(--text-main);
}

.nav-item:hover i {
    color: var(--primary);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary-hover);
    border: 1px solid var(--primary-border);
}

.nav-item.active i {
    color: var(--primary);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: left;
}
.sidebar-action-btn:hover {
    background: #f8fafc;
    color: var(--text-main);
}
.sidebar-action-btn.text-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* Dashboard Main */
.dashboard-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Navbar */
.dashboard-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 90;
}

.topbar-left h2 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-profile-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-profile-widget:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.avatar-circle {
    width: 34px;
    height: 34px;
    background: var(--navy-dark);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-fullname {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

.user-role-tag {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 800;
}

.settings-icon {
    color: var(--text-sub);
    font-size: 0.9rem;
}

/* Dashboard Viewport */
.dashboard-viewport {
    padding: 2rem 2.5rem;
    flex: 1;
}

.dashboard-view {
    display: none;
}
.dashboard-view.active {
    display: block;
}

/* ========================================================
   KPI CARDS & METRICS
   ======================================================== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-card);
}

.kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.bg-orange-soft { background: var(--primary-light); }
.bg-blue-soft { background: var(--info-light); }
.bg-green-soft { background: var(--success-light); }
.bg-red-soft { background: var(--danger-light); }

.kpi-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 4px;
}

/* Content Card */
.content-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
}

.card-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

/* Table Toolbar */
.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.pill-filters {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
}

.pill-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.pill-btn.active {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    background: #ffffff;
}

.date-filter-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.date-quick-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-right: 1px solid var(--border-color);
    transition: all 0.2s;
}

.date-quick-btn.active {
    background: var(--navy-dark);
    color: #ffffff;
}

.table-datepicker {
    border: none;
    padding: 6px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    outline: none;
}

/* ========================================================
   TABLE STYLES
   ======================================================== */
.table-responsive {
    overflow-x: auto;
}

.desktop-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.desktop-table th {
    background: #f8fafc;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid var(--border-color);
}

.desktop-table td {
    padding: 14px 16px;
    font-size: 0.92rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.desktop-table tr:hover td {
    background: #fafafa;
}

.customer-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.customer-name {
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.status-badge.active {
    background: var(--success-light);
    color: var(--success);
}

.status-badge.cancelled {
    background: var(--danger-light);
    color: var(--danger);
}

.status-badge.pending {
    background: var(--warning-light);
    color: var(--warning);
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-table-action {
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.btn-action-cancel {
    background: var(--danger-light);
    color: var(--danger);
}
.btn-action-cancel:hover {
    background: var(--danger);
    color: #ffffff;
}

.btn-action-delete {
    background: #f1f5f9;
    color: #64748b;
}
.btn-action-delete:hover {
    background: #e2e8f0;
    color: var(--navy-dark);
}

/* ========================================================
   STAFF CARDS & SETTINGS
   ======================================================== */
.view-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.staff-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.staff-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.25rem;
}

.staff-avatar-large {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f1f5f9;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.staff-card-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.staff-card-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.staff-card-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
}

.staff-card-actions {
    display: flex;
    gap: 8px;
}

/* Hours Blocks */
.hours-block {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.bg-blue-tint {
    background: #f0f7ff;
    border-color: #dbeafe;
}

.bg-orange-tint {
    background: #fff9f5;
    border-color: #ffedd5;
}

.block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.block-title h4 {
    font-size: 1.05rem;
}

.checkbox-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.custom-checkbox-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.services-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.service-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.service-pill-item.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* ========================================================
   MODALS
   ======================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1.5rem;
}

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

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalScale 0.2s ease-out;
}

@keyframes modalScale {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.modal-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-head-title h3 {
    font-size: 1.25rem;
}

.btn-close-modal {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 1.75rem;
    max-height: 75vh;
    overflow-y: auto;
}

.modal-foot {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Slots Grid inside Quick Booking */
.slots-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #f8fafc;
}

.slot-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    padding: 8px 4px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.slot-btn.selected {
    background: var(--primary) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

.slot-btn:disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--navy-dark);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    animation: toastSlide 0.3s ease-out;
}

.toast-notification.active {
    display: flex;
}

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