/* Universal Reset */
*,
*::before,
*::after {
        box-sizing: border-box;
}

.red{color:red;}

html,
body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        background-color: #f4f5f7;
        color: #333;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        font-size: 14px;
}

/* Layout Containers */
.admin-container {
        display: grid;
        grid-template-columns: 260px 1fr;
        grid-template-rows: 60px 1fr;
        grid-template-areas:
                "sidebar topbar"
                "sidebar main";
        height: 100vh;
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
}

.topbar {
        grid-area: topbar;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        height: 60px;
        box-sizing: border-box;
        max-width: 100%;
        position: relative;
        z-index: 20;
}

.sidebar {
        grid-area: sidebar;
        background-color: #0f172a;
        color: #94a3b8;
        display: flex;
        flex-direction: column;
        height: 100%;
        border-right: 1px solid #1e293b;
        overflow: hidden;
}

.main-content {
        grid-area: main;
        background-color: #f8fafc;
        padding: 24px;
        overflow-y: auto;
}

/* Login Page Styles */
.login-body {
        background-color: #0f172a;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        margin: 0;
        font-family: system-ui, -apple-system, sans-serif;
}

.login-card {
        background-color: #1e293b;
        width: 100%;
        max-width: 400px;
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
        color: #f8fafc;
}

.login-header {
        text-align: center;
        margin-bottom: 28px;
}

.login-logo {
        font-size: 3rem;
        color: #38bdf8;
        margin-bottom: 12px;
}

.login-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
}

.login-header p {
        margin: 6px 0 0 0;
        color: #94a3b8;
        font-size: 0.875rem;
}

.login-alert {
        background-color: rgba(239, 68, 68, 0.15);
        border: 1px solid #ef4444;
        color: #fca5a5;
        padding: 12px;
        border-radius: 6px;
        margin-bottom: 20px;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 10px;
}

/* Form Controls & Inputs */
.form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 20px;
}

.form-group label {
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        color: #cbd5e1;
}

.input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
}

.input-wrapper .input-icon {
        position: absolute;
        left: 12px;
        color: #6c757d;
        pointer-events: none;
        z-index: 2;
}

.input-wrapper input {
        width: 100%;
        padding-left: 40px !important;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 12px;
        box-sizing: border-box;
}

.input-wrapper input:focus {
        border-color: #38bdf8;
}

.btn-login {
        width: 100%;
        padding: 12px;
        background-color: #0284c7;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background-color 0.2s;
}

.btn-login:hover {
        background-color: #0369a1;
}

/* Topbar Components */
.topbar-left .page-title {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 700;
        color: #0f172a;
}

.topbar-right {
        display: flex;
        align-items: center;
        gap: 20px;
}

.topbar-search {
        position: relative;
        z-index: 1;
}

.topbar-search .search-input-group {
        position: relative;
        display: flex;
        align-items: center;
}

.search-icon {
        position: absolute;
        left: 12px;
        color: #94a3b8;
        font-size: 0.875rem;
}

.search-input-group input {
        width: 240px;
        padding: 8px 12px 8px 34px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 0.875rem;
        outline: none;
        transition: all 0.2s ease;
}

.search-input-group input:focus {
        border-color: #0284c7;
        width: 280px;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.topbar-actions {
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
        z-index: 20;
}

.btn-new-booking {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background-color: #0284c7;
        color: #ffffff;
        padding: 8px 14px;
        border-radius: 6px;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.2s;
}

.btn-new-booking:hover {
        background-color: #0369a1;
}

.icon-btn {
        position: relative;
        background: none;
        border: none;
        color: #64748b;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 6px;
        border-radius: 4px;
        transition: color 0.2s;
}

.icon-btn:hover {
        color: #0f172a;
}

.notification-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        background-color: #ef4444;
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 2px 5px;
        border-radius: 10px;
        line-height: 1;
}

.system-status {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
        background-color: #f1f5f9;
        border-radius: 12px;
        font-size: 0.75rem;
        color: #475569;
        font-weight: 600;
}

.status-dot {
        width: 8px;
        height: 8px;
        background-color: #22c55e;
        border-radius: 50%;
}

/* Sidebar Components */
.sidebar-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px 24px;
        border-bottom: 1px solid #1e293b;
        color: #f8fafc;
}

.brand-icon {
        font-size: 1.5rem;
        color: #38bdf8;
}

.brand-title {
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: -0.02em;
}

.sidebar-nav {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        padding: 16px 12px;
}

.sidebar-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
}

.sidebar-nav li {
        margin-bottom: 4px;
}

.sidebar-nav li.nav-divider {
        font-size: 0.7rem;
        font-weight: 700;
        color: #475569;
        letter-spacing: 0.08em;
        padding: 16px 12px 6px 12px;
}

.sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        color: #94a3b8;
        text-decoration: none;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.2s ease;
}

.sidebar-nav a i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
}

.sidebar-nav a:hover {
        color: #f8fafc;
        background-color: #1e293b;
}

.sidebar-nav li.active a {
        color: #ffffff;
        background-color: #0284c7;
}

.sidebar-nav li.active a i {
        color: #ffffff;
}

.sidebar-footer {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px;
        background-color: #1a2436;
        border-top: 1px solid #1e293b;
}

.user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: #334155;
        color: #38bdf8;
        display: flex;
        align-items: center;
        justify-content: center;
}

.user-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
}

.user-name {
        color: #f8fafc;
        font-size: 0.875rem;
        font-weight: 600;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
}

.user-role {
        font-size: 0.75rem;
        color: #64748b;
}

.logout-btn {
        color: #94a3b8;
        padding: 8px;
        border-radius: 4px;
        text-decoration: none;
        transition: color 0.2s;
}

.logout-btn:hover {
        color: #ef4444;
}

/* Dashboard Layout & Metrics */
.dashboard-wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
}

.metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
}

.metric-card {
        background-color: #ffffff;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        gap: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.metric-icon {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
}

.metric-icon.blue { background-color: #e0f2fe; color: #0284c7; }
.metric-icon.green { background-color: #dcfce7; color: #16a34a; }
.metric-icon.orange { background-color: #ffedd5; color: #ea580c; }
.metric-icon.purple { background-color: #f3e8ff; color: #9333ea; }

.metric-details {
        display: flex;
        flex-direction: column;
}

.metric-label {
        font-size: 0.8rem;
        color: #64748b;
        font-weight: 500;
}

.metric-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        margin: 2px 0;
}

.metric-subtext {
        font-size: 0.75rem;
}

.metric-subtext.positive { color: #16a34a; }
.metric-subtext.warning { color: #ea580c; }
.metric-subtext.neutral { color: #64748b; }

.dashboard-content-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 24px;
}

.panel {
        background-color: #ffffff;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        padding: 20px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
}

.panel-header h2 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
}

.view-all-link {
        color: #0284c7;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
}

.view-all-link:hover {
        text-decoration: underline;
}

/* Data Tables & Badges */
.table-responsive {
        overflow-x: auto;
}

.data-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.875rem;
        text-align: left;
}

.data-table th, 
.data-table td {
        padding: 12px 14px;
        border-bottom: 1px solid #f1f5f9;
}

.data-table th {
        background-color: #f8fafc;
        color: #475569;
        font-weight: 600;
}

.data-table td.font-weight-600 {
        font-weight: 600;
        color: #0f172a;
}

.text-muted {
        color: #94a3b8;
        font-size: 0.75rem;
}

.text-right {
        text-align: right;
}

.badge {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
}

.badge-confirmed { background-color: #dcfce7; color: #15803d; }
.badge-pending { background-color: #fef9c3; color: #a16207; }
.badge-canceled { background-color: #fee2e2; color: #b91c1c; }
.badge-vip { background-color: #fef3c7; color: #d97706; }

.action-btn {
        color: #64748b;
        margin-left: 8px;
        text-decoration: none;
}

.action-btn:hover {
        color: #0284c7;
}

/* Quick Actions */
.quick-actions-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
}

.quick-action-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 6px;
        background-color: #f8fafc;
        border: 1px solid #f1f5f9;
        text-decoration: none;
        color: inherit;
        transition: background-color 0.2s;
}

.quick-action-item:hover {
        background-color: #f1f5f9;
}

.action-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        background-color: #0284c7;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
}

.action-text {
        display: flex;
        flex-direction: column;
}

.action-text strong {
        font-size: 0.875rem;
        color: #0f172a;
}

.action-text span {
        font-size: 0.75rem;
        color: #64748b;
}

/* Clients Wrapper & Toolbar */
.clients-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
}

.clients-header-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
}

.filter-group {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        max-width: 600px;
}

.search-box {
        position: relative;
        flex: 1;
}

.search-box i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
}

.search-box input {
        width: 100%;
        padding: 10px 14px 10px 40px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        outline: none;
        background-color: #ffffff;
}

.status-select {
        padding: 10px 14px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        background-color: #ffffff;
        color: #0f172a;
        outline: none;
        position: relative;
        z-index: 20;
}

.btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background-color: #0284c7;
        color: #ffffff;
        padding: 10px 16px;
        border-radius: 6px;
        border: none;
        font-weight: 600;
        cursor: pointer;
}

.client-avatar-name {
        display: flex;
        align-items: center;
        gap: 12px;
}

.client-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: #e0f2fe;
        color: #0284c7;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
}

.mobile-only { display: none; }
.desktop-only { display: block; }

/* Modals & Popups */
.modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(15, 23, 42, 0.75);
        z-index: 1000;
        align-items: center;
        justify-content: center;
        padding: 16px;
}

.modal-overlay.active {
        display: flex !important;
}

.modal-card {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        max-width: 500px;
        max-height: 90vh;
        border-radius: 12px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1001;
}

.modal-card.modal-large {
        max-width: 650px;
}

.modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
        margin: 0;
        font-size: 1.15rem;
        color: #0f172a;
}

.close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #64748b;
        cursor: pointer;
}

.modal-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
}

.modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 10px;
}

.btn-secondary {
        padding: 10px 16px;
        background-color: #f1f5f9;
        color: #475569;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
}

/* Form Row Grid Layouts */
.form-row {
        display: flex;
        gap: 16px;
}

.form-row .form-group {
        flex: 1;
}

.form-row-3 {
        display: flex;
        gap: 12px;
}

.form-row-3 .form-group {
        flex: 1;
}

.form-group input,
.form-group select {
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 0.95rem;
        outline: none;
}

.form-group input:focus,
.form-group select:focus {
        border-color: #0284c7;
}

.client-link {
        color: #0284c7;
        font-weight: 600;
        text-decoration: none;
}

.client-link:hover {
        color: #0369a1;
        text-decoration: underline;
}

.location-count-badge {
        background-color: #e0f2fe;
        color: #0369a1;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 12px;
        margin-left: 8px;
        vertical-align: middle;
}

.location-select {
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 600;
        color: #374151;
        background-color: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 4px;
        cursor: pointer;
        outline: none;
}

.location-select:focus {
        border-color: #0284c7;
}

/* Customer Profile & Accordion Styles */
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.top-header h2 { font-size: 18px; font-weight: 400; color: #333; }
.top-header h2 span { color: #888; }

.btn-back { background-color: #9ea7b0; color: #fff; padding: 6px 14px; border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 600; }
.btn-back:hover { background-color: #8a939c; }

.split-container { display: flex; gap: 15px; margin-bottom: 15px; align-items: stretch; }
.panel-left { flex: 2; background: #fff; border: 1px solid #e1e4e8; border-radius: 3px; padding: 12px 15px; }
.panel-right { flex: 1; background: #fff; border: 1px solid #e1e4e8; border-radius: 3px; padding: 12px 15px; }
.panel-full { background: #fff; border: 1px solid #e1e4e8; border-radius: 3px; padding: 12px 15px; margin-bottom: 15px; }

.panel-title { font-weight: 700; font-size: 14px; color: #333; display: flex; align-items: center; gap: 5px; }

.badge-sa { background-color: #e53935; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 2px; text-transform: uppercase; }
.badge-help { color: #e53935; font-size: 12px; font-weight: 700; margin-left: 2px; }

.btn-group { display: flex; align-items: center; gap: 5px; }
.btn-blue { background-color: #0088cc; color: #fff; border: none; padding: 6px 14px; border-radius: 3px; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; font-weight: 600; }
.btn-blue:hover { background-color: #006699; }
.btn-gray { background-color: #8a939c; color: #fff; border: none; padding: 6px 14px; border-radius: 3px; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; font-weight: 600; }

.data-grid { width: 100%; border-collapse: collapse; }
.data-grid td { padding: 4px 6px; vertical-align: top; }
.data-grid td.label { font-weight: 700; text-align: right; color: #222; width: 32%; }
.data-grid td.value { color: #555; width: 68%; }

.tags-box { background-color: #eef0f2; border: 1px solid #dcdfe3; border-radius: 3px; height: 70px; width: 160px; display: inline-block; }
.btn-icon { background: #e0e4e8; border: 1px solid #ccc; color: #555; border-radius: 3px; width: 22px; height: 22px; font-weight: 700; font-size: 12px; cursor: pointer; }

table.matches-table { width: 100%; border-collapse: collapse; }
table.matches-table th { background: #f9fafb; padding: 8px; font-size: 12px; border-bottom: 2px solid #ddd; text-align: left; text-transform: uppercase; }
table.matches-table td { padding: 8px; border-bottom: 1px solid #eee; }

.accordion-container { width: 100%; background: #fff; border: 1px solid #e1e4e8; border-radius: 3px; margin-bottom: 15px; }
.accordion-item { border-bottom: 1px solid #e1e4e8; }
.accordion-item:last-child { border-bottom: none; }

.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; cursor: pointer; background: #fff; user-select: none; }
.accordion-header:hover { background-color: #f9fafb; }
.accordion-title { font-weight: 700; font-size: 14px; color: #333; display: flex; align-items: center; gap: 6px; }

.accordion-arrow { display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #555; transition: transform 0.2s ease; }
.accordion-item.active .accordion-arrow { transform: rotate(180deg); }

.accordion-item .accordion-filters { display: none; }
.accordion-item.active .accordion-filters {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: #333;
}

.accordion-filters select, 
.accordion-filters input[type="text"] { padding: 4px 8px; font-size: 13px; border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #333; outline: none; }
.accordion-filters input[type="text"] { background-color: #eef0f2; width: 120px; }

.accordion-content { display: none; padding: 10px 12px 15px 12px; background: #fff; border-top: 1px solid #eee; }
.accordion-item.active .accordion-content { display: block; }

.acc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 5px; }
.acc-table th { padding: 10px 8px; font-weight: 600; text-align: left; color: #fff; vertical-align: middle; }
.acc-table td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; color: #444; vertical-align: middle; }

.acc-table-blue th { background-color: #5b9bd5; }
.acc-table-gold th { background-color: #ebc053; color: #fff; }
.acc-table-cyan th { background-color: #4db3d6; }

.icon-check { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; background: #5cb85c; color: #fff; border-radius: 50%; font-size: 10px; font-weight: bold; }
.icon-cross { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; background: #d9534f; color: #fff; border-radius: 50%; font-size: 10px; font-weight: bold; }

.action-btn-sm { padding: 4px 8px; border-radius: 2px; font-size: 12px; border: none; cursor: pointer; color: #fff; display: inline-flex; align-items: center; }
.btn-edit-sm { background-color: #a6a6a6; }
.btn-delete-sm { background-color: #e53935; }

.table-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: #777; }
.pagination { display: flex; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; }
.pagination button { background: #fff; border: none; padding: 4px 8px; border-right: 1px solid #ddd; color: #0088cc; cursor: pointer; font-size: 12px; }
.pagination button:last-child { border-right: none; }
.pagination button.active { background: #0088cc; color: #fff; }
.pagination button.disabled { color: #ccc; cursor: default; }

.history-btn-wrapper { text-align: center; margin: 20px 0 10px 0; }
.btn-history { background: #fff; border: 1px solid #0088cc; color: #0088cc; padding: 6px 16px; border-radius: 3px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-history:hover { background: #f0f8ff; }

/* Responsive Media Queries */
.mobile-nav-toggle {
        display: none;
        background: none;
        border: none;
        color: #0f172a;
        font-size: 1.25rem;
        cursor: pointer;
        padding: 8px;
}

.sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(15, 23, 42, 0.6);
        z-index: 40;
}

.sidebar-overlay.active {
        display: block;
}

@media (max-width: 1024px) {
        .dashboard-content-grid {
                grid-template-columns: 1fr;
        }
}

@media (max-width: 768px) {
        .admin-container {
                grid-template-columns: 1fr;
                grid-template-rows: 60px 1fr;
                grid-template-areas:
                        "topbar"
                        "main";
        }

        .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                width: 280px;
                height: 100vh;
                z-index: 50;
                transform: translateX(-100%);
                transition: transform 0.3s ease-in-out;
                box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
        }

        .sidebar.active {
                transform: translateX(0);
        }

        .mobile-nav-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
        }

        .topbar {
                padding: 0 16px;
        }

        .topbar-search {
                display: none;
        }

        .btn-new-booking span {
                display: none;
        }

        .btn-new-booking {
                padding: 8px 12px;
        }

        .main-content {
                padding: 16px;
        }

        .metrics-grid {
                grid-template-columns: 1fr;
                gap: 12px;
        }

        .dashboard-content-grid {
                grid-template-columns: 1fr;
                gap: 16px;
        }

        input, select, button {
                font-size: 16px !important;
        }

        .mobile-only { display: flex; }
        .desktop-only { display: none; }

        .clients-header-actions {
                flex-direction: column;
                align-items: stretch;
        }

        .filter-group {
                max-width: 100%;
        }

        .client-cards-grid {
                flex-direction: column;
                gap: 16px;
        }

        .client-card {
                background-color: #ffffff;
                border: 1px solid #e2e8f0;
                border-radius: 8px;
                padding: 16px;
                display: flex;
                flex-direction: column;
                gap: 12px;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .client-card-title {
                margin: 0 0 4px 0;
                font-size: 1rem;
                color: #0f172a;
        }

        .client-card-body {
                display: flex;
                flex-direction: column;
                gap: 8px;
                font-size: 0.875rem;
                color: #475569;
        }

        .info-row {
                display: flex;
                align-items: center;
                gap: 10px;
        }

        .info-row i {
                width: 16px;
                color: #94a3b8;
        }

        .client-card-actions {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
                padding-top: 12px;
                border-top: 1px solid #f1f5f9;
        }

        .btn-card-action {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 8px;
                border: 1px solid #cbd5e1;
                border-radius: 6px;
                text-decoration: none;
                color: #334155;
                font-size: 0.8rem;
                font-weight: 600;
        }

        .btn-card-action.primary {
                background-color: #0284c7;
                border-color: #0284c7;
                color: #ffffff;
        }
}

@media (max-width: 640px) {
        .form-row,
        .form-row-3 {
                flex-direction: column;
                gap: 16px;
        }
}