:root {
    /* Background Colors */
    --white: #FFFFFF;
    --bg-light: #F7F7F7;
    --bg-lighter: #EDEDED;
    --bg-main: #EFEFEF;

    /* Text Colors */
    --text-dark: #111111;
    --text-medium: #4b5563;
    --text-light: #6b7280;

    /* Primary Colors */
    --primary: #5B72F2;
    --primary-hover: #4A5FD1;
    --primary-light: #E8EBFE;

    /* Status Colors */
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Base Text and Primary variants */
    --text: #111111;
    --muted: #6b7280;
    --primary-dark: #4A5FD1;

    /* Border & Shadow */
    --border: #d1d5db;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --spacing-xs: 3px;
    --spacing-sm: 7px;
    --spacing-md: 14px;
    --spacing-lg: 20px;
    --spacing-xl: 28px;

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 9px;
    --radius-lg: 12px;
    --radius-xl: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.92rem;
}

/* Force hide old sidebar */
aside.sidebar {
    display: none !important;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--primary);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-weight: 600;
}

.container {
    max-width: 1240px;
    margin: 20px auto;
    padding: 0 40px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.card-nested {
    box-shadow: none;
    border-color: #f0f1f5;
    margin-bottom: 0;
}

.card h1,
.card h2,
.card h3 {
    margin: 4px 0 8px 0;
}

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

.card-actions,
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.cards-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #111;
    border-bottom: 1px solid #ddd;
}

.table tr:hover td {
    background: #f8fafc;
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: var(--primary);
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
    filter: brightness(85%);
}

.btn.secondary {
    background: white;
    color: var(--text);
    border: 1px solid #111111;
    box-shadow: none;
}

.btn.secondary:hover {
    background: #f0f0f0;
}

.btn.danger {
    background: #fff;
    border: 1px solid #dc2626;
    color: #dc2626;
    box-shadow: none;
}

.btn.danger:hover {
    background: #fff5f5;
}

.btn.success {
    background: #111;
    color: #fff;
    box-shadow: none;
}

.btn.ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid transparent;
    box-shadow: none;
}

.btn.ghost:hover {
    background: #eaeaea;
}

.form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.full-row {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
}

textarea {
    min-height: 120px;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.footer {
    text-align: center;
    color: var(--muted);
    padding: 24px;
    font-size: 14px;
}

.link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.link:hover {
    border-bottom-color: #000;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: #eee;
    color: #111;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #ddd;
}

.inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.summary ul {
    padding-left: 18px;
}

.auth-page .card {
    margin-top: 32px;
}

@media (max-width: 640px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .table th,
    .table td {
        font-size: 14px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    gap: 64px;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 32px;
}

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

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

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

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

/* Styled Form for New Restaurant */
.card-header-styled {
    text-align: left;
    margin-bottom: 24px;
}

.label-eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111;
}

.page-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.form-row {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.form-input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    transition: border-color 0.2s;
    color: var(--text);
}

.form-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.help-text {
    font-size: 12px;
    color: var(--muted);
    margin: 4px 0 0 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}




/* --- MINIMALIST DARK SIDEBAR --- */

.app-shell {
    display: flex !important;
    min-height: 100vh;
    background: var(--bg-main);
}

.app-sidebar {
    width: 210px;
    background: var(--bg-light);
    color: var(--text-dark);
    display: flex !important;
    flex-direction: column;
    padding: 16px 12px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.app-main {
    margin-left: 210px !important;
    padding: 30px 40px;
    width: calc(100% - 210px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.sidebar-title {
    display: flex;
    flex-direction: column;
}

.sidebar-title .app-name {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000000;
}

.sidebar-title .app-by {
    display: block;
    font-size: 0.75rem;
    color: #000000;
    font-weight: 600;
}

.sidebar-section-label {
    margin: 16px 10px 8px;
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000000;
    font-weight: 700;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-icon {
    width: 18px;
    text-align: center;
    opacity: 0.9;
    font-size: 14px;
}

.nav-item:hover {
    background: #e5e7eb;
    color: #000000;
}

.nav-item.is-active {
    background: #000000;
    color: #ffffff;
}

.nav-item.is-active .nav-icon {
    opacity: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.15s;
}

.user-toggle:hover {
    background: rgba(148, 163, 184, 0.12);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.user-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}

.user-role {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.user-chevron {
    font-size: 1rem;
    color: #9ca3af;
}

.user-menu {
    position: absolute;
    bottom: 48px;
    left: 10px;
    right: 10px;
    background: #020617;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 6px 0;
    display: none;
    z-index: 1000;
}

.user-menu-item {
    display: block;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #e5e7eb;
    text-decoration: none;
    transition: background 0.15s;
}

.user-menu-item:hover {
    background: rgba(148, 163, 184, 0.12);
}

.user-menu.is-open {
    display: block;
}

/* Legacy sidebar classes - hidden */
.sidebar {
    display: none;
}

.main-content {
    background: transparent;
    flex: 1;
    padding: 0;
}

/* Old topbar styles removed - using new app-header */

/* Sidebar Collapsed States */
.app-sidebar {
    transition: transform 0.3s ease, width 0.3s ease;
}

.app-sidebar.collapsed {
    transform: translateX(-210px);
}

.app-main {
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.app-main.sidebar-collapsed {
    margin-left: 0 !important;
    width: 100% !important;
}


/* --- RESTAURANT / PUBLIC PAGE STYLES --- */
.restaurant-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.restaurant-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-meta {
    font-size: 1.1rem;
    opacity: 0.9;
    display: flex;
    gap: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.gallery-item {
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.menu-section {
    margin-top: 40px;
}

.menu-category-title {
    font-size: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.menu-grid {
    display: grid;
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.menu-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.menu-item-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text);
}

.booking-card {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.booking-card h3 {
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.restaurant-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 800px) {
    .restaurant-layout {
        grid-template-columns: 1fr;
    }

    .restaurant-hero {
        height: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }
}


/* Old sidebar styles removed - using new white design above */




/* Avatar Selection Styles */
.avatar-options {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.avatar-option input {
    display: none;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.avatar-option input:checked+.avatar-circle {
    border-color: #000;
    transform: scale(1.1);
}

.avatar-none {
    background: #e5e7eb;
    color: #111827;
}

.avatar-male {
    background: #1e3a8a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22><path d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/></svg>');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.avatar-female {
    background: #db2777;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22><path d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/></svg>');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar-user-avatar.avatar-male {
    background: #1e3a8a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22><path d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/></svg>');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}

.sidebar-user-avatar.avatar-female {
    background: #db2777;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22><path d=%22M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z%22/></svg>');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}


/* Sidebar User Email */
.sidebar-user-email {
    font-size: 0.75rem;
    color: #9ca3af;
    word-break: break-all;
    line-height: 1.2;
    margin-bottom: 2px;
}

/* --- NEW TOPBAR STYLES --- */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-datetime {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.topbar-notification {
    position: relative;
    text-decoration: none;
    font-size: 1.2rem;
    color: #111;
    display: flex;
    /* Center icon */
    align-items: center;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    border: 1px solid #fff;
}

.topbar-user {
    position: relative;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
}

.topbar-user-name::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 6px;
    color: #888;
    vertical-align: middle;
}

.topbar-user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-radius: 8px;
    z-index: 50;
    padding: 8px 0;
}

.topbar-user:hover .topbar-user-menu {
    display: block;
}

.topbar-user-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #111;
    font-size: 0.9rem;
    transition: background 0.1s;
}

.topbar-user-menu a:hover {
    background: #f5f5f5;
}

/* Search Bar Styles */
.topbar-search {
    flex: 1;
    max-width: 400px;
    margin: 0 24px;
}

.topbar-search-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 99px;
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    font-size: 0.9rem;
    color: #111;
    transition: all 0.2s;
}

.topbar-search-input:focus {
    background: #fff;
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.search-results-section {
    margin-bottom: 32px;
}

.search-results-title {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-item {
    display: block;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: #ccc;
    transform: translateX(4px);
}

.search-result-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #000;
}

.search-result-meta {
    font-size: 0.85rem;
    color: #666;
}

/* Tooltip Styles */
.help-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: default;
    position: relative;
    vertical-align: middle;
}

.help-tooltip::after {
    content: attr(data-help);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    bottom: 130%;
    /* Show above */
    min-width: 180px;
    max-width: 240px;
    padding: 8px 10px;
    background: #111827;
    color: #f9fafb;
    font-size: 0.75rem;
    border-radius: 8px;
    line-height: 1.3;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 200;
    white-space: normal;
    text-align: center;
    font-weight: 400;
}

.help-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120%;
    border-width: 6px;
    border-style: solid;
    border-color: #111827 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 200;
}

.help-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.help-tooltip:hover::before {
    opacity: 1;
}

/* Breadcrumb Styles */
.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #9ca3af;
    margin: 0 8px;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb-item a:hover {
    color: #111;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #111;
    font-weight: 500;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    min-width: 300px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: toast-in 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.toast-success {
    border-left: 4px solid #16a34a;
}

.toast.toast-error {
    border-left: 4px solid #dc2626;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111;
}

.toast-message {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    color: #111;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Block Styles */
.booking-summary {
    background: #fdfdfd;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.booking-summary h3,
.booking-customer h3,
.booking-rules h3 {
    font-size: 1rem;
    margin: 0 0 12px 0;
    font-weight: 600;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.booking-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-summary li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    color: #444;
}

.booking-summary li strong {
    color: #111;
}

.booking-customer {
    margin-bottom: 24px;
}

.booking-rules {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.rules-list {
    padding-left: 20px;
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.rules-list li {
    margin-bottom: 4px;
}

.rules-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.2s;
}

.btn-primary:hover {
    filter: brightness(90%);
}

/* --- BOOKING WIZARD --- */

/* Stepper */
.booking-stepper {
    display: flex;
    background: #f0f2f5;
    border-radius: 20px;
    margin-bottom: 24px;
    overflow: hidden;
    height: 40px;
}

.step-indicator {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    cursor: default;
    position: relative;
    padding: 0 10px;
    text-align: center;
}

.step-indicator.active {
    background: #005f56;
    /* Dark Teal similar to screenshot */
    color: #fff;
    cursor: default;
}

/* Arrow effect for active step (simple version) */
.step-indicator.active::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid #005f56;
    z-index: 10;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 1: Calendar */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-title {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: capitalize;
}

.calendar-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    color: #666;
}

.calendar-nav-btn:hover {
    color: #000;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.weekday-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.calendar-day:hover:not(.disabled) {
    background: #f0f0f0;
    border-color: #ccc;
}

.calendar-day.selected {
    background: #005f56;
    color: #fff;
    border-color: #005f56;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
    text-decoration: line-through;
}

.calendar-day.empty {
    border: none;
    background: transparent;
    cursor: default;
}

/* Step 2: Time Slots */
.time-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 12px 0;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-slot-btn {
    padding: 12px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.time-slot-btn:hover {
    border-color: #bbb;
}

.time-slot-btn.selected {
    background: #005f56;
    color: #fff;
    border-color: #005f56;
}

/* Step 3: People */
.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.people-btn {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.people-btn:hover {
    border-color: #bbb;
}


.people-btn.selected {
    background: #005f56;
    color: #fff;
    border-color: #005f56;
}


/* Custom Confirmation Modal - Premium Design */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.custom-modal {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    max-width: 440px;
    width: 90%;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.custom-modal-overlay.show .custom-modal {
    transform: translateY(0) scale(1);
}

.custom-modal-icon {
    width: 80px;
    height: 80px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    transform: rotate(-5deg);
}

.custom-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.custom-modal-text {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.custom-modal-actions {
    display: flex;
    gap: 16px;
}

.custom-modal-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.custom-modal-btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-1px);
}

.custom-modal-btn-confirm {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.2);
}

.custom-modal-btn-confirm:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

.custom-modal-btn-danger {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}

.custom-modal-btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3);
}

.custom-modal-btn:active {
    transform: translateY(0) scale(0.98);
}