@import url('styles/variables.css');
@import url('styles/animations.css');
@import url('styles/navbar.css');
@import url('styles/hero.css');
@import url('styles/cards.css');
@import url('styles/property.css');
@import url('styles/footer.css');
@import url('styles/responsive.css');


/* 2. Global Resets & Base Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 3. Global CSS Layout & Component Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--background);
    border-color: var(--text-muted);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: capitalize;
}

.badge-pending {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-approved, .badge-confirmed {
    background-color: #d1fae5;
    color: #059669;
}

.badge-rejected, .badge-cancelled {
    background-color: #fee2e2;
    color: #dc2626;
}

.card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.card-title {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
}

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

th {
    background-color: #fafafa;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-main);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
}

.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.flex-actions {
    display: flex;
    gap: 0.5rem;
}

/* Alert styling */
.alerts-container {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

/* 4. Frontend Website (App Layout) specific styles */
.app-layout body {
    display: flex;
    flex-direction: column;
}

/* Commented out custom navbar rules to rely fully on Bootstrap 5 navbar and grid structure */
/*
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}
*/

.app-layout .main-content {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* 4B. Frontend Premium UI Style Overrides (Scoped to App Layout) */
.app-layout {
    /* Set Outfit as standard headings & actions font */
    --bs-body-font-family: 'Inter', sans-serif;
}

.app-layout h1, 
.app-layout h2, 
.app-layout h3, 
.app-layout h4, 
.app-layout h5, 
.app-layout h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

/* Base Body Color update */
.app-layout body {
    color: #334155;
    background-color: var(--background);
}

/* Premium Buttons overrides */
.app-layout .btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.app-layout .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2) !important;
}

.app-layout .btn-primary:hover,
.app-layout .btn-primary:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35) !important;
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-dark) 100%) !important;
}

.app-layout .btn-secondary {
    background-color: #f1f5f9 !important;
    color: var(--primary-hover) !important;
    border: 1px solid #cbd5e1 !important;
}

.app-layout .btn-secondary:hover {
    background-color: #e2e8f0 !important;
    transform: translateY(-1px);
}

.app-layout .btn-outline-danger {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

.app-layout .btn-outline-danger:hover {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
    transform: translateY(-1px);
}

/* Link buttons (like dashboard Announcements toggle) */
.app-layout .btn-link {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: color 0.15s ease;
}

.app-layout .btn-link:hover {
    color: var(--primary-dark) !important;
}

/* Premium Form Controls override */
.app-layout .form-control,
.app-layout .form-select {
    font-family: 'Inter', sans-serif;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.92rem !important;
    color: var(--text-main) !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out !important;
}

.app-layout .form-control:focus,
.app-layout .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Premium Navigation Tabs */
.app-layout .nav-tabs {
    border-bottom: 2px solid #e2e8f0 !important;
    gap: 1.5rem;
}

.app-layout .nav-tabs .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted) !important;
    background: none !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    padding: 1rem 0.25rem !important;
    transition: all 0.2s ease-in-out;
}

.app-layout .nav-tabs .nav-link:hover {
    color: var(--primary) !important;
}

.app-layout .nav-tabs .nav-link.active {
    color: var(--primary) !important;
    border-bottom-color: var(--primary) !important;
    font-weight: 700;
}

/* Premium Badges overrides */
.app-layout .badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 30px !important;
    text-transform: capitalize !important;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.app-layout .bg-warning-subtle {
    background-color: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.app-layout .bg-success-subtle {
    background-color: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.app-layout .bg-danger-subtle {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

/* Premium Custom Cards overrides */
.app-layout .card {
    border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-layout .card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 1.25rem 1.5rem !important;
}

.app-layout .card-body {
    padding: 1.5rem !important;
}

/* Subtle icons gradient focus */
.app-layout i[class^="bi-"], 
.app-layout i[class*=" bi-"] {
    transition: transform 0.2s ease;
}

.app-layout .card:hover i[class^="bi-"] {
    transform: scale(1.08);
}

/* Premium Pagination overrides */
.app-layout .pagination {
    gap: 0.35rem;
}

.app-layout .page-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-main) !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.85rem !important;
    transition: all 0.2s ease;
    font-size: 0.88rem;
}

.app-layout .page-link:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
}

.app-layout .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.2);
}

.app-layout .page-item.disabled .page-link {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #cbd5e1 !important;
}

/* Old site-footer styles removed - handled by modular imports */

/* 5. Dashboard Shared Shell structure (Vendor & Admin layout) */
.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease, width 0.3s ease;
    border-right: 1px solid var(--border);
    background-color: var(--surface);
}

/* Sidebar Branding & Colors */
.admin-layout .sidebar,
.vendor-layout .sidebar {
    background-color: var(--surface);
}

.sidebar-brand {
    padding: 1.75rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.admin-layout .sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
}

.sidebar-brand span {
    color: var(--primary);
}

/* Vendor Info Header Cards */
.vendor-info-card, .host-info-card {
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--primary-light);
}

.host-info-card {
    padding: 1.25rem 1.5rem;
}

.vendor-avatar, .host-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    border: 2px solid var(--border);
}

.vendor-details, .host-details {
    flex: 1;
    min-width: 0;
}

.vendor-name, .host-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.vendor-role, .host-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Sidebar Menus */
.sidebar-menu {
    list-style: none;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.sidebar-item a span:not(.badge) {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-item a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sidebar-item.active a {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

.sidebar-item a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Dashboard Shell Content Wrappers */
.dashboard-layout .main-content,
.admin-layout .main-content,
.vendor-layout .main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    transition: margin-left 0.3s ease;
}

.topbar {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.topbar-left {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

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

.website-link {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(244, 63, 94, 0.2);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.website-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.15);
}

.profile-link {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--secondary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.profile-link:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.15);
}

/* User Profile Menu & Dropdown */
.topbar-user-menu {
    position: relative;
    z-index: 95;
}

.topbar-user-profile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.8rem;
    border-left: 1px solid var(--border);
    margin-left: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    user-select: none;
}

.topbar-user-profile:hover {
    background-color: rgba(244, 63, 94, 0.05);
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.topbar-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.topbar-username {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-main);
}

.topbar-user-chevron {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.topbar-user-menu.active .topbar-user-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    padding: 0.5rem 0;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.user-dropdown-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.25;
}

.user-dropdown-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

.user-dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 0.5rem 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown-item i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.user-dropdown-item:hover {
    background-color: rgba(244, 63, 94, 0.04);
    color: var(--primary);
}

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

.user-dropdown-item.logout-item:hover {
    background-color: rgba(239, 68, 68, 0.05);
    color: var(--danger);
}

.user-dropdown-item.logout-item:hover i {
    color: var(--danger);
}

.content-body {
    padding: 2rem;
    flex: 1;
}

/* Dashboard Header & Titles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.dashboard-title h1 {
    font-size: 1.75rem;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.dashboard-title p {
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

/* Shell Toggle Buttons */
.sidebar-toggle-btn {
    position: absolute;
    top: 25px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: 1.5px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 110;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}
.sidebar-toggle-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

.sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    z-index: 110;
}

.mobile-header-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.mobile-header-toggle:hover {
    background-color: var(--background);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar Desktop Collapse states */
@media (min-width: 993px) {
    body.sidebar-collapsed .sidebar {
        width: 80px;
    }
    body.sidebar-collapsed .sidebar .sidebar-brand {
        padding: 1.5rem 0.5rem;
        justify-content: center;
    }
    body.sidebar-collapsed .sidebar .sidebar-brand span,
    body.sidebar-collapsed .sidebar .sidebar-brand .brand-text,
    body.sidebar-collapsed .sidebar .sidebar-brand .brand-subtext,
    body.sidebar-collapsed .sidebar .vendor-details,
    body.sidebar-collapsed .sidebar .host-details,
    body.sidebar-collapsed .sidebar .sidebar-item span {
        display: none !important;
    }
    body.sidebar-collapsed .sidebar .vendor-info-card,
    body.sidebar-collapsed .sidebar .host-info-card {
        padding: 1rem 0.5rem;
        justify-content: center;
    }
    body.sidebar-collapsed .sidebar .sidebar-menu {
        padding: 1rem 0.5rem;
    }
    body.sidebar-collapsed .sidebar .sidebar-item a {
        justify-content: center;
        padding: 0.8rem;
    }
    body.sidebar-collapsed .main-content {
        margin-left: 80px;
    }
    body.sidebar-collapsed .sidebar-toggle-btn svg {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   6. Custom Page & Module Specific Styles (Extracted from views)
   ========================================================================== */

/* 6A. Custom Premium Switch Toggles (Blogs/News forms) */
.switch-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.switch-label .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1 !important; /* Slate gray when off */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
    border: 1px solid #94a3b8 !important;
    z-index: 1;
}

.switch-label input:checked + .slider {
    background-color: #86efac !important; /* Light green when on */
    border-color: #22c55e !important;
}

.switch-label .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff !important; /* White handle when off */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.2);
    z-index: 2;
}

.switch-label input:checked + .slider:before {
    transform: translateX(24px) !important;
    background-color: #166534 !important; /* Dark green handle when on */
}

.switch-label .slider:after {
    position: absolute;
    content: "OFF";
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #475569;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 1;
}

.switch-label input:checked + .slider:after {
    content: "ON";
    right: auto !important;
    left: 8px !important;
    color: #15803d !important;
}

/* 6B. Quill Editor Clean Integration */
#editor-container .ql-toolbar.ql-snow {
    border: none !important;
    border-bottom: 1px solid #cbd5e1 !important;
    background-color: #f8fafc;
}
#editor-container .ql-container.ql-snow {
    border: none !important;
}

/* 6C. Vendor details public page (vendors/show) */
.profile-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.profile-cover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    height: 120px;
    position: relative;
}

.profile-avatar-container {
    margin-top: -60px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    background-color: var(--surface);
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.profile-info {
    padding: 1.5rem;
    text-align: center;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #fef9c3;
    color: #a16207;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border: 1px solid #fef08a;
}

.profile-details-list {
    margin-top: 1.5rem;
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.profile-detail-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.profile-detail-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.profile-detail-content {
    flex: 1;
}

.profile-detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.profile-detail-value {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    word-break: break-word;
}

.properties-section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stay-card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}

.stay-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 6D. Bookings search filters & styling */
.search-container {
    position: relative;
}
#booking-search:focus, #property-search:focus {
    border-color: var(--primary) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
}
#clear-search:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    width: 100%;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.filter-select {
    transition: all 0.2s;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}
.filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

/* Responsive styling for bookings filters */
@media (max-width: 992px) {
    .filters-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .filters-row {
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }
    .card-header-top {
        flex-direction: column;
        align-items: stretch !important;
    }
    .search-container {
        max-width: none !important;
        width: 100% !important;
    }
}

/* Mobile-responsive card layout */
.booking-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}
.booking-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.booking-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
}
.guest-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
}
.guest-email {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
.badges-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}
.booking-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
}
.info-label {
    color: var(--text-muted);
    font-weight: 600;
    min-width: 90px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-top: 0.1rem;
}
.info-value {
    color: var(--text-main);
    flex: 1;
}
.inline-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: #f8fafc;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}
.hotel-link {
    font-weight: 700;
    color: var(--primary);
}
.hotel-link:hover {
    text-decoration: underline;
}
.room-details {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.meal-details {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 0.15rem;
}
.total-price {
    font-weight: 700;
    color: var(--text-main);
}
.extra-charges {
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 600;
    margin-left: 0.25rem;
}
.booking-card-actions {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}
.booking-card-actions form {
    display: inline;
    flex: 1;
}
.booking-card-actions .btn {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-align: center;
    justify-content: center;
}

.check-in-badge-checked_out {
    background-color: #e2e8f0;
    color: #475569;
}
.check-in-badge-checked_in {
    background-color: #d1fae5;
    color: #065f46;
}
.check-in-badge-pending {
    background-color: #f1f5f9;
    color: #64748b;
}

@media (max-width: 768px) {
    #bookings-table-wrapper .table-responsive,
    .bookings-table-wrapper .table-responsive {
        display: none !important;
    }
    .booking-cards-mobile {
        display: flex !important;
    }
}

/* 6E. Booking Partial details layouts */

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}
.detail-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.detail-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}
.detail-value {
    color: var(--text-main);
    font-weight: 600;
    text-align: right;
}
.badge-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.companion-container {
    padding: 0 1.5rem 1.5rem 1.5rem;
}
.companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}
.companion-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.companion-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.35rem;
}

@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem;
    }
    .companion-container {
        padding: 0 1rem 1rem 1rem;
    }
}

/* 6F. Properties dashboard list & tables styling */
.properties-table {
    width: 100%;
    border-collapse: collapse;
}
.properties-table th {
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.properties-table td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
}
.properties-table tbody tr {
    transition: background-color 0.15s ease;
}
.properties-table tbody tr:hover {
    background-color: #f8fafc;
}

.property-detail-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.property-thumbnail {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.property-thumbnail:hover {
    transform: scale(1.05);
}
.property-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.property-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}
.property-desc {
    font-size: 0.78rem;
    color: #64748b;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.property-address-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
    color: #475569;
}
.price-badge {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}
.price-unit {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.table-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.table-actions .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.table-actions .btn-secondary {
    border: 1px solid var(--border);
}

.btn-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.25;
    flex-shrink: 0;
}

/* 6G. Actions Dropdown menu */
.actions-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-trigger {
    background: none;
    border: 1px solid transparent;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.dropdown-trigger:hover, .dropdown-trigger:focus {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #e2e8f0;
}
.dropdown-menu {
    position: fixed;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: none;
    flex-direction: column;
    min-width: 150px;
    padding: 0.35rem 0;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.15s;
}
.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.dropdown-item.text-danger {
    color: #ef4444;
}
.dropdown-item.text-danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Simple generic switches inside tables */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}
.switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background-color: var(--primary);
}
.switch input:checked + .slider:before {
    transform: translateX(22px);
}

/* 6H. Calendar Inventory layout */
.calendar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #fafafa;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1.25rem;
}

.calendar-nav-group {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px;
    box-shadow: var(--shadow-sm);
    flex-wrap: nowrap;
}

.btn-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-main);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
    text-decoration: none !important;
    background: transparent;
    border: none;
    outline: none;
}

.btn-nav-arrow:hover {
    background-color: var(--background);
    color: var(--primary);
}

.btn-nav-today {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    height: 36px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    border-radius: 0px;
    transition: all 0.15s ease;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: transparent;
    outline: none;
}

.btn-nav-today:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.calendar-month-display {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calendar-month-picker-wrapper {
    position: relative;
    display: inline-block;
}

.calendar-month-picker-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.calendar-month-picker-btn {
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.calendar-month-picker-btn:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.calendar-legends {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.available { background-color: #ecfdf5; border: 1.5px solid #10b981; }
.legend-color.low { background-color: #fffbeb; border: 1.5px solid #f59e0b; }
.legend-color.soldout { background-color: #fef2f2; border: 1.5px solid #ef4444; }
.legend-color.blocked { background-color: #f8fafc; border: 1.5px solid #94a3b8; }

/* 6H. Calendar Monthly Grid layout */
.monthly-calendar-container {
    width: 100%;
    position: relative;
    padding: 1.5rem;
    background-color: #ffffff;
}

.monthly-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.monthly-calendar-day-header {
    background-color: #f8fafc;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.monthly-calendar-day-header.weekend {
    color: #e11d48; /* Red tint for weekends */
    background-color: #fcf8f8;
}

.monthly-calendar-day-cell {
    background-color: #ffffff;
    padding: 0.75rem;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.monthly-calendar-day-cell:hover {
    box-shadow: inset 0 0 0 2px var(--primary);
    z-index: 5;
}

.monthly-calendar-day-cell.out-of-month {
    background-color: #fcfcfc;
    color: #cbd5e1 !important;
    cursor: not-allowed;
}

.monthly-calendar-day-cell.out-of-month:hover {
    box-shadow: none;
    transform: none;
}

/* Day cell states */
.monthly-calendar-day-cell.cell-available {
    background-color: #ffffff;
    border-left: 4px solid #10b981;
}
.monthly-calendar-day-cell.cell-available:hover {
    background-color: #f0fdf4;
}

.monthly-calendar-day-cell.cell-low {
    background-color: #ffffff;
    border-left: 4px solid #f59e0b;
}
.monthly-calendar-day-cell.cell-low:hover {
    background-color: #fffbeb;
}

.monthly-calendar-day-cell.cell-sold-out {
    background-color: #fefcfc;
    border-left: 4px solid #ef4444;
}
.monthly-calendar-day-cell.cell-sold-out:hover {
    background-color: #fef2f2;
}

.monthly-calendar-day-cell.cell-blocked {
    background-color: #f8fafc;
    border-left: 4px solid #94a3b8;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(148, 163, 184, 0.03) 5px, rgba(148, 163, 184, 0.03) 10px);
}

.monthly-calendar-day-cell.is-today {
    background-color: #f0f9ff !important;
    border: 2px solid var(--secondary) !important;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.12) !important;
    z-index: 3;
}
.monthly-calendar-day-cell.is-today:hover {
    background-color: #e0f2fe !important;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.22) !important;
}

.cell-day-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cell-day-num.today {
    background-color: var(--secondary);
    color: #ffffff !important;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.cell-day-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.5rem 0;
    font-family: 'Outfit', sans-serif;
    display: block;
}

.cell-day-price.blocked-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 600;
}

.cell-day-status {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    width: max-content;
    letter-spacing: 0.02em;
}

.cell-day-status.available {
    background-color: #ecfdf5;
    color: #065f46;
}

.cell-day-status.low {
    background-color: #fffbeb;
    color: #b45309;
}

.cell-day-status.soldout {
    background-color: #fef2f2;
    color: #b91c1c;
}

.cell-day-status.blocked {
    background-color: #f1f5f9;
    color: #475569;
}

/* Weekend cells */
.monthly-calendar-day-cell.weekend-cell {
    background-color: #fafbfd;
}
.monthly-calendar-day-cell.weekend-cell:hover {
    background-color: #f4f7fc;
}


/* CRM Slide-out Drawer */
.crm-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.crm-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--surface);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
}

.crm-drawer.active {
    right: 0px !important;
}

.crm-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}

.crm-drawer-title-group h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.crm-drawer-title-group p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0 0;
}

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

.crm-drawer-close:hover {
    background-color: #e2e8f0;
    color: var(--text-main);
}

.crm-drawer-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.crm-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background-color: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Stats dashboard badge inside drawer */
.drawer-stats-card {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.drawer-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.drawer-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* 6I. Rooms Modals & Grid formatting */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}
.modal-backdrop.show {
    display: flex;
    opacity: 1;
}
.modal-window {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-backdrop.show .modal-window {
    transform: scale(1);
}
.modal-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}
.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}
.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}
.modal-close-btn:hover {
    background-color: #e2e8f0;
    color: var(--text-main);
}

.form-group-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.form-group-flex .form-control {
    margin-top: auto;
}
.spinner {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.rooms-table {
    width: 100%;
    border-collapse: collapse;
}
.rooms-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 1.1rem 1.5rem;
    border-bottom: 2px solid var(--border);
    background-color: #f8fafc;
    white-space: nowrap;
}
.rooms-table td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.rooms-table tbody tr {
    transition: background-color 0.15s;
}
.rooms-table tbody tr:hover {
    background-color: #f8fafc;
}

/* 6J. Settings tab layouts */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
    padding-bottom: 0.1rem;
}
.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px 6px 0 0;
}
.tab-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: var(--primary-light);
}

/* 6K. Tax Invoice details styling */
.invoice-container {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-width: 850px;
    margin: 0 auto 3rem auto;
}
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--border);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.invoice-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
}
.invoice-table th, .invoice-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.invoice-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: var(--text-main);
}
.invoice-totals {
    width: 300px;
    margin-left: auto;
    font-size: 0.95rem;
    line-height: 2;
}
.totals-row {
    display: flex;
    justify-content: space-between;
}
.totals-final {
    border-top: 2px solid var(--primary);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
}

@media print {
    header.topbar, aside.sidebar, .dashboard-header, .no-print {
        display: none !important;
    }
    body {
        background-color: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .main-content, .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .invoice-container {
        border: none !important;
        box-shadow: none !important;
        padding: 1.5cm !important;
        margin: 0 !important;
        max-width: 100% !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }
    @page {
        size: auto;
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .invoice-container {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .invoice-title {
        font-size: 1.5rem;
    }
    .invoice-header h2 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    .invoice-header p, .invoice-header div, .invoice-details-grid div {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }
    .invoice-details-grid {
        gap: 1rem;
    }
    .invoice-totals {
        width: 240px;
        font-size: 0.8rem;
    }
}

/* Custom responsive helper classes for vendor panel */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.dashboard-tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   7. Layout Responsiveness & Grid Systems (Unified)
   ========================================================================== */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed !important;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
    }
    .mobile-header-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sidebar-close-btn {
        display: block;
        position: absolute;
        top: 22px;
        right: 20px;
    }
    .sidebar-toggle-btn {
        display: none !important;
    }
    .content-body {
        padding: 1.25rem;
    }
    .topbar {
        padding: 0 1rem;
        height: 60px;
    }
    .topbar-left span {
        font-size: 1rem;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .dashboard-title h1 {
        font-size: 1.4rem;
    }
    .dashboard-title p {
        font-size: 0.85rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .stat-card {
        padding: 1.25rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    .card-body {
        padding: 1rem;
    }
    th, td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    .flex-actions {
        flex-direction: column;
        gap: 0.35rem;
    }
    .filters-row {
        grid-template-columns: 1fr 1fr;
    }
    .split-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .content-body {
        padding: 1rem;
    }
    .topbar {
        padding: 0 0.75rem;
        height: 56px;
    }
    .topbar-right {
        gap: 0.5rem;
    }
    .website-link, .profile-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    .btn-secondary {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    .dashboard-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    .dashboard-title h1 {
        font-size: 1.2rem;
    }
    .dashboard-title p {
        font-size: 0.8rem;
    }
    .btn-primary {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .stat-value {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.7rem;
    }
    .card {
        margin-bottom: 1.25rem;
        border-radius: var(--radius-sm);
    }
    .card-header {
        padding: 0.75rem 1rem;
    }
    .card-title {
        font-size: 0.95rem;
    }
    .alert {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    .sidebar {
        width: var(--sidebar-width);
    }
    .filters-row {
        grid-template-columns: 1fr;
    }
    .dashboard-tables-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .topbar-left span {
        font-size: 0.85rem;
    }
    .topbar-right {
        gap: 0.35rem;
    }
    .website-link, .profile-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ==========================================================================
   6L. Notification System Styling
   ========================================================================== */
.notification-wrapper {
    position: relative;
    display: inline-block;
}

.notification-bell-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-muted);
    font-size: 1.35rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    height: 42px;
    width: 42px;
    background-color: var(--background);
    border: 1px solid var(--border);
}

.notification-bell-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
    border-color: rgba(244, 63, 94, 0.2);
    transform: translateY(-1px);
}

.notification-bell-btn:hover i {
    animation: shake-bell 0.6s ease;
}

@keyframes shake-bell {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(4deg); }
    85% { transform: rotate(-4deg); }
    100% { transform: rotate(0); }
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--surface);
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.notification-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    overflow: hidden;
}

.notification-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-dropdown-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
}

.notification-dropdown-header h5 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.mark-all-read-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.mark-all-read-btn:hover {
    color: var(--primary-hover);
    background-color: var(--primary-light);
}

.notification-list-scroll {
    max-height: 360px;
    overflow-y: auto;
}

/* Custom Scrollbar for Notifications List */
.notification-list-scroll::-webkit-scrollbar {
    width: 6px;
}
.notification-list-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}
.notification-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.notification-list-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

.notification-dropdown-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    position: relative;
}

.notification-dropdown-item:hover {
    background-color: var(--primary-light);
    color: inherit;
    padding-left: 1.5rem;
}

.notification-dropdown-item.unread {
    background-color: rgba(244, 63, 94, 0.03);
}

.notification-dropdown-item.unread::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary), #10b981);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.notification-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    transition: all 0.25s;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, var(--primary-light), rgba(244, 63, 94, 0.05));
    color: var(--primary);
    border: 1px solid rgba(244, 63, 94, 0.1);
}

.notification-dropdown-item.unread .notification-icon-box,
.notification-list-item.unread .notification-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 6px -1px rgba(244, 63, 94, 0.25);
}

.notification-item-content {
    flex-grow: 1;
    min-width: 0;
}

.notification-item-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.notification-item-message {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.notification-item-time {
    font-size: 0.725rem;
    color: var(--text-muted);
    font-weight: 500;
}

.notification-dropdown-footer {
    padding: 0.9rem 1.25rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.5);
}

.notification-dropdown-footer a {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: -0.01em;
}

.notification-dropdown-footer a:hover {
    color: var(--primary-hover);
    transform: translateX(2px);
}

.notification-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.notification-empty-state i {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: block;
    background: linear-gradient(135deg, var(--text-muted), var(--border));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notification-empty-state p {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* Detailed List Page (Inbox Layout) Styling */
.notifications-page-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

/* Modern Notification Tabs */
.notification-filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.notification-tab-btn {
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.notification-tab-btn:hover {
    color: var(--text-main);
    background-color: var(--background);
}

.notification-tab-btn.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.notification-tab-btn .badge-pill {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
}

.notification-tab-btn.active .badge-pill {
    background-color: var(--primary);
    color: white;
}

.notification-list-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    color: inherit;
}

.notification-list-item:hover {
    border-color: var(--primary);
    background-color: rgba(244, 63, 94, 0.01);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.04);
    transform: translateY(-1px);
}

.notification-list-item.unread {
    border-left: 4px solid var(--primary);
    background-color: rgba(244, 63, 94, 0.02);
}

.notification-list-item.unread:hover {
    background-color: rgba(244, 63, 94, 0.03);
}

.notification-list-item .btn-mark-read {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s;
}

.notification-list-item:hover .btn-mark-read {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 576px) {
    .notification-dropdown-menu {
        width: 320px;
        right: -40px;
    }
    
    .notification-list-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .notification-list-item .btn-mark-read {
        opacity: 1;
        align-self: flex-end;
    }
    
    .notification-filter-tabs {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   6M. Algolia-Like Super Search Styling
   ========================================================================== */
.topbar-search-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    user-select: none;
    width: 260px;
    margin-left: 1rem;
}

.topbar-search-trigger:hover {
    border-color: var(--primary);
    background-color: var(--surface);
    color: var(--text-main);
}

.topbar-search-trigger kbd {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    font-family: inherit;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 2px 5px;
    margin-left: auto;
    color: var(--text-muted);
}

.super-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.super-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.super-search-modal {
    width: 640px;
    max-width: 95%;
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transform: scale(0.95) translateY(-20px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.super-search-overlay.active .super-search-modal {
    transform: scale(1) translateY(0);
}

.super-search-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.search-modal-icon {
    font-size: 1.25rem;
    color: var(--primary);
    margin-right: 1rem;
}

#superSearchInput {
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--text-main);
    flex-grow: 1;
    background: transparent;
}

#superSearchInput::placeholder {
    color: var(--text-muted);
}

.super-search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.super-search-close:hover {
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.05);
}

.super-search-results {
    max-height: 450px;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.super-search-results::-webkit-scrollbar {
    width: 6px;
}
.super-search-results::-webkit-scrollbar-track {
    background: transparent;
}
.super-search-results::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.super-search-placeholder {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.super-search-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.super-search-placeholder p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.super-search-shortcuts-info {
    display: inline-flex;
    gap: 1.5rem;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    width: 100%;
    font-size: 0.75rem;
}

.super-search-shortcuts-info kbd {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 4px;
    font-family: inherit;
    font-weight: 700;
}

.super-search-category {
    margin-bottom: 1.5rem;
}

.super-search-category:last-child {
    margin-bottom: 0.5rem;
}

.super-search-category-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.super-search-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.super-search-item:hover, .super-search-item.selected {
    background-color: var(--primary-light);
    border-color: rgba(244, 63, 94, 0.1);
    color: inherit;
}

.super-search-item-icon {
    width: 34px;
    height: 34px;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.super-search-item:hover .super-search-item-icon, 
.super-search-item.selected .super-search-item-icon {
    background-color: var(--primary);
    color: white;
    border-color: transparent;
}

.super-search-item-content {
    flex-grow: 1;
    min-width: 0;
}

.super-search-item-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.super-search-item-desc {
    font-size: 0.775rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.super-search-item-arrow {
    opacity: 0;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.15s;
    transform: translateX(-5px);
}

.super-search-item:hover .super-search-item-arrow, 
.super-search-item.selected .super-search-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

.super-search-footer {
    padding: 0.75rem 1.5rem;
    background-color: var(--background);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.725rem;
    color: var(--text-muted);
}

.search-logo-powered {
    font-weight: 600;
}

.search-modal-kbd-hints kbd {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 4px;
    font-family: inherit;
    font-weight: 700;
}

.super-search-spinner {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

@media (max-width: 768px) {
    .topbar-search-trigger {
        width: 40px;
        padding: 0.5rem;
        justify-content: center;
        margin-left: 0.5rem;
    }
    .topbar-search-trigger span {
        display: none;
    }
    .super-search-overlay {
        padding-top: 0;
    }
    .super-search-modal {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        border: none;
    }
    
    /* Spacious topbar adjustments on mobile */
    .topbar-username {
        display: none;
    }
    .topbar-user-profile {
        padding: 0.25rem;
        border-left: none;
        margin-left: 0.25rem;
    }
    .topbar-user-chevron {
        display: none;
    }
    .topbar-title {
        display: none;
    }
}

/* 4D. Premium Frontend Card Styling */
.property-card {
    background-color: #ffffff;
    border: 1px solid #e7e5e4; /* Stone 200 */
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; /* Enforce bounds for child stretched-link */
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.property-card-img-wrapper {
    position: relative;
    height: 220px;
    background-color: #cbd5e1;
    overflow: hidden;
}

.property-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-card-img {
    transform: scale(1.05);
}

.property-card-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: rgba(15, 23, 42, 0.85); /* Translucent slate 900 */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
}

.property-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card-content {
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.property-card-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #f43f5e; /* Coral Rose */
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.property-card-location i {
    color: #f43f5e;
}

.property-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a; /* Slate 900 */
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.property-card:hover .property-card-title {
    color: #f43f5e; /* Coral Rose on card hover */
}

.property-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b; /* Slate 500 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
    margin: 0;
}

.property-card-footer {
    border-top: 1px solid #e7e5e4; /* Stone 200 */
    padding-top: 1rem;
    display: flex;
    width: 100%;
    margin-top: auto;
}

.property-card-partner {
    font-size: 0.8rem;
    color: #64748b;
}

.property-card-partner-name {
    font-weight: 700;
    color: #0d9488; /* Seafoam Mint */
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    z-index: 2; /* Allow clicks on partner link without triggering stretched-link */
}

.property-card-partner-name:hover {
    color: #f43f5e; /* Coral Rose */
    text-decoration: underline;
}

.property-card-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    border: none;
    padding: 7px 15px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    z-index: 2; /* Allow clicks on details button without triggering stretched-link */
}

.property-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(244, 63, 94, 0.25);
    color: #ffffff;
}

/* 4E. Premium Blog / Announcement Card Styling */
.announcement-card {
    background-color: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
}

.announcement-card-img-wrapper {
    height: 180px;
    background-color: #cbd5e1;
    overflow: hidden;
}

.announcement-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.announcement-card:hover .announcement-card-img {
    transform: scale(1.04);
}

.announcement-card-body {
    padding: 1.5rem;
}

/* 4F. Customer Dashboard Custom Styling */
.stat-card {
    background-color: #ffffff;
    border: 1px solid #e7e5e4; /* Stone 200 */
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.stat-icon-box.primary {
    background-color: rgba(244, 63, 94, 0.08);
    color: #f43f5e; /* Coral Rose */
}

.stat-icon-box.warning {
    background-color: rgba(245, 158, 11, 0.08);
    color: #d97706; /* Amber */
}

.stat-icon-box.success {
    background-color: rgba(16, 185, 129, 0.08);
    color: #059669; /* Emerald */
}

.stat-icon-box.secondary {
    background-color: rgba(13, 148, 136, 0.08);
    color: #0d9488; /* Seafoam Mint */
}

.dashboard-tabs {
    border-bottom: 1px solid #e7e5e4;
    display: flex;
    gap: 0.5rem;
}

.dashboard-tabs .nav-item {
    margin-bottom: -1px;
}

.dashboard-tabs .nav-link {
    font-family: 'Outfit', sans-serif;
    color: #64748b;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 1rem 1.25rem;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.dashboard-tabs .nav-link:hover {
    color: #f43f5e;
}

.dashboard-tabs .nav-link.active {
    color: #f43f5e !important;
    border-bottom: 3px solid #f43f5e !important;
    font-weight: 700;
}

.dashboard-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    background-color: #ffffff;
    width: 100%;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    white-space: nowrap;
}

.dashboard-table th {
    background-color: #fafaf9; /* Stone 50 */
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e7e5e4;
    text-align: left;
}

.dashboard-table td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #e7e5e4;
    font-size: 0.88rem;
    color: #475569;
    vertical-align: middle;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.dashboard-table tr {
    transition: background-color 0.2s ease;
}

.dashboard-table tr:hover {
    background-color: #fafaf9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.status-badge.pending {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.status-badge.confirmed, .status-badge.approved {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.status-badge.cancelled, .status-badge.rejected {
    background-color: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.status-badge-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.status-badge-sm.pending {
    background-color: #fffbeb;
    color: #d97706; /* High contrast Amber */
    border: 1px solid #fde68a;
}

.status-badge-sm.confirmed, .status-badge-sm.approved {
    background-color: #f0fdf4;
    color: #16a34a; /* High contrast Green */
    border: 1px solid #bbf7d0;
}

.status-badge-sm.cancelled, .status-badge-sm.rejected {
    background-color: #fef2f2;
    color: #dc2626; /* High contrast Red */
    border: 1px solid #fecaca;
}

.icon-brand-primary {
    color: #f43f5e !important; /* Coral Rose brand primary */
}

.icon-brand-secondary {
    color: #0d9488 !important; /* Seafoam Mint brand secondary */
}

@media (max-width: 768px) {
    .dashboard-table-wrapper {
        border: none !important;
        background-color: transparent !important;
        overflow-x: visible !important;
    }
    
    .dashboard-table, 
    .dashboard-table thead, 
    .dashboard-table tbody, 
    .dashboard-table th, 
    .dashboard-table td, 
    .dashboard-table tr {
        display: block !important;
        width: 100% !important;
        white-space: normal !important;
    }
    
    .dashboard-table thead {
        display: none !important; /* Hide standard th headers */
    }
    
    .dashboard-table tr {
        background-color: #ffffff;
        border: 1px solid #e7e5e4 !important;
        border-radius: 12px;
        margin-bottom: 1.25rem;
        padding: 1rem 1.25rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }
    
    .dashboard-table td {
        border-bottom: 1px solid #f5f5f4 !important;
        padding: 0.75rem 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: right !important;
    }
    
    .dashboard-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .dashboard-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #0f172a;
        font-family: 'Outfit', sans-serif;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        text-align: left;
    }
    
    /* Special formatting for the stay/hotel name cell */
    .dashboard-table td:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-bottom: 1px solid #e7e5e4 !important;
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.5rem;
    }
    
    .dashboard-table td:first-child::before {
        display: none !important;
    }
}

/* Old landing page hero styles removed - handled by modular imports */



