:root {
    --dashboard-bg: #f2f6fb;
    --dashboard-surface: rgba(255, 255, 255, 0.52);
    --dashboard-surface-2: rgba(247, 250, 254, 0.58);
    --sidebar-border: rgba(255, 255, 255, 0.38);
    --panel-border: rgba(255, 255, 255, 0.38);
    --glass-border: rgba(255, 255, 255, 0.44);
    --glass-shadow: 0 18px 45px rgba(15, 25, 45, 0.12);
    --text-strong: #13233f;
    --text-muted: #0e0f10;
    --accent: #0b3d91;
    --accent-soft: rgba(238, 244, 255, 0.8);
    --accent-gold: #d4af37;
    --danger: #df4759;
    --success: #2f8f6d;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --shadow-sm: 0 10px 28px rgba(15, 25, 45, 0.06);
    --shadow-md: 0 16px 40px rgba(15, 25, 45, 0.10);
    --transition: all 0.25s ease;
}

body.dark-mode {
    --dashboard-bg: #07111d;
    --dashboard-surface: #0f172a;
    --dashboard-surface-2: #111d2f;
    --sidebar-border: #223449;
    --panel-border: #273b4f;
    --text-strong: #f7f9ff;
    --text-muted: #94a3b8;
    --accent-soft: rgba(11, 61, 145, 0.2);
}

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

body {
    background: #f2f6fb;
    color: var(--text-strong);
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font: inherit;
}

.dashboard-shell {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    background: url('../asset/das3.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}

.dashboard-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 22, 52, 0.72);
    pointer-events: none;
    z-index: 0;
}

.dashboard-sidebar,
.dashboard-main {
    position: relative;
    z-index: 1;
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 20px 44px;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-right: 1px solid var(--sidebar-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    z-index: 90;
}

body.dark-mode .dashboard-sidebar {
    background: rgba(15, 23, 42, 0.42);
    border-color: transparent;
}

body.dark-mode .dashboard-shell {
    background-color: var(--dashboard-bg);
}

body.dark-mode .dashboard-sidebar,
body.dark-mode .dashboard-main,
body.dark-mode .dashboard-topbar,
body.dark-mode .dashboard-panel,
body.dark-mode .stat-card,
body.dark-mode .dashboard-card,
body.dark-mode .chart-card,
body.dark-mode .table-card,
body.dark-mode .settings-card,
body.dark-mode .dashboard-sidebar * {
    border-color: transparent !important;
}

body.dark-mode .dashboard-topbar,
body.dark-mode .dashboard-panel,
body.dark-mode .stat-card,
body.dark-mode .dashboard-card,
body.dark-mode .chart-card,
body.dark-mode .table-card,
body.dark-mode .settings-card {
    background: var(--dashboard-surface) !important;
    box-shadow: none !important;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 2px 8px;
}

.sidebar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    /* background: var(--accent); */
    overflow: hidden;
    text-decoration: none;
    /* box-shadow: 0 10px 20px rgba(11, 61, 145, 0.2); */
}

.sidebar-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
}

.brand-label {
    margin-bottom: 2px;
    color: var(--text-strong);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 12px;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.sidebar-link {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--text-strong);
    font-weight: 600;
    text-align: left;
    line-height: 1.2;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(11, 61, 145, 0.08), rgba(11, 61, 145, 0));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--accent-soft);
    border-color: rgba(11, 61, 145, 0.16);
    color: var(--accent);
    transform: translateX(2px);
}

.sidebar-link:hover::before,
.sidebar-link.active::before {
    opacity: 1;
}

.sidebar-link i {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 17px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.sidebar-link span {
    display: inline-flex;
    align-items: center;
    min-height: 1.2em;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    transform: scale(1.04);
}

.logout-link {
    margin-top: auto;
    color: var(--danger);
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 31, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 70;
}

.dashboard-sidebar.sidebar-open ~ .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
}

.dashboard-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 120px;
}

footer.main-footer {
    margin-top: 100px;
}

.dashboard-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), var(--glass-shadow);
}

body.dark-mode .dashboard-topbar {
    background: rgba(15, 23, 42, 0.38);
    border-color: rgba(148, 163, 184, 0.25);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.sidebar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: var(--dashboard-surface);
    color: var(--accent);
    cursor: pointer;
}

@media (min-width: 981px) {
    .sidebar-toggle {
        display: none !important;
    }
}

.topbar-welcome p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.topbar-welcome h1 {
    margin: 2px 0 0;
    color: var(--text-strong);
    font-size: 22px;
}

.topbar-search {
    display: flex;
    align-items: center;
    justify-self: center;
    width: min(100%, 620px);
    gap: 10px;
    padding: 8px 10px 8px 18px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: var(--dashboard-surface-2);
}

.topbar-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 12px;
    color: var(--text-strong);
}

.topbar-search input:focus {
    outline: none;
}

.search-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-button i,
.icon-button i,
.topbar-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    justify-self: end;
}

.icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--text-strong);
    cursor: pointer;
    transition: var(--transition);
}

.icon-button:hover {
    border-color: rgba(11, 61, 145, 0.18);
    transform: translateY(-1px);
}

.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.dashboard-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 32px;
    display: grid;
    gap: 24px;
}

.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: grid;
    gap: 24px;
}

.dashboard-shell h1,
.dashboard-shell h2,
.dashboard-shell h3,
.dashboard-shell h4 {
    font-family: inherit;
    letter-spacing: -0.01em;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.38) 0%, rgba(247,250,254,0.28) 100%);
    box-shadow: var(--glass-shadow);
}

.dashboard-header h1 {
    margin-top: 6px;
    color: var(--text-strong);
    font-size: 30px;
}

.section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}

.section-header h2 {
    color: var(--text-strong);
    font-size: 24px;
}

.section-title {
    margin-bottom: 8px;
    color: var(--text-strong);
    font-size: 18px;
    font-weight: 700;
}

.metrics-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 8px;
}

.metrics-section .section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-strong);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
}

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

@media (min-width: 900px) and (max-width: 1199px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 599px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card,
.activity-panel,
.tour-panel,
.card-panel,
.compose-form,
.settings-card,
.profile-section,
.messages-sidebar,
.messages-view-wrapper,
.property-card,
.search-card,
.notification-item,
.message-item,
.tour-item,
.dashboard-header,
.topbar-search,
.icon-button,
.topbar-avatar,
.sidebar-link,
.search-button {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover,
.activity-panel:hover,
.tour-panel:hover,
.settings-card:hover,
.property-card:hover,
.search-card:hover,
.notification-item:hover,
.message-item:hover,
.tour-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 61, 145, 0.16);
}

.stat-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 110px;
    padding: 20px;
    cursor: pointer;
}

.stat-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: transparent;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    box-shadow: none;
}

.stat-icon-favorites { color: var(--accent-gold); }
.stat-icon-recent { color: var(--accent); }
.stat-icon-tours { color: #29b6f6; }
.stat-icon-searches { color: var(--accent); }
.stat-icon-messages { color: #dc2fdc; }
.stat-icon-notifications { color: #ffa600; }

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.stats-grid .stat-label {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-grid .stat-value {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.overview-panels {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}

.activity-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    min-height: 280px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.panel-header h3 {
    margin-bottom: 2px;
    color: white;
    font-size: 18px;
}

.panel-header p {
    margin: 0;
    color: white;
    font-size: 13px;
}

.snapshot-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.snapshot-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--dashboard-surface-2);
}

.snapshot-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: transparent;
    color: var(--accent);
}

.snapshot-list strong {
    display: block;
    color: var(--text-strong);
    font-weight: 700;
}

.snapshot-list span {
    color: var(--text-muted);
    font-size: 12px;
}

.search-results,
.notification-list,
.timeline-list,
.messages-sidebar,
.messages-view {
    display: grid;
    gap: 12px;
}

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

.card-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.property-card,
.search-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    min-height: 164px;
}

.property-card img,
.search-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.property-card .property-info,
.search-card .property-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    min-width: 0;
}

.property-card h3,
.search-card h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 16px;
    line-height: 1.3;
}

.property-card p,
.search-card p,
.notification-item p,
.message-item p,
.tour-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    color: var(--text-muted);
    font-size: 13px;
}

.property-actions,
.notification-actions,
.message-actions,
.tour-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn,
.property-actions button,
.notification-item button,
.message-item button,
.tour-item button,
.card-panel button {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover,
.property-actions button:hover,
.notification-item button:hover,
.message-item button:hover,
.tour-item button:hover,
.card-panel button:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-strong);
    border: 1px solid var(--panel-border);
}

.btn-secondary {
    background: var(--accent-soft);
    color: var(--text-strong);
}

.notification-item,
.message-item,
.tour-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
}

.notification-item.unread,
.message-item.unread {
    border-color: rgba(11, 61, 145, 0.24);
    box-shadow: 0 10px 24px rgba(11, 61, 145, 0.08);
}

.message-item {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.message-item span {
    color: var(--text-muted);
    font-size: 12px;
}

.messages-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
    min-height: 560px;
}

.messages-sidebar {
    min-height: 560px;
    padding: 16px;
    overflow: auto;
}

.messages-sidebar-wrapper,
.messages-view-wrapper {
    display: grid;
    gap: 12px;
}

.messages-sidebar-title,
.messages-view-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.messages-sidebar-title i,
.messages-view-title i {
    color: var(--accent);
}

.messages-sidebar button {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: transparent;
    text-align: left;
}

.messages-sidebar button.active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.messages-view {
    display: grid;
    gap: 12px;
}

.message-detail,
#saved-search-results {
    min-height: 220px;
}

.message-thread {
    display: grid;
    gap: 12px;
}

.message-bubble {
    max-width: 80%;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--accent-soft);
}

.message-bubble.self {
    justify-self: end;
    background: rgba(11, 61, 145, 0.10);
}

.compose-form {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.compose-form h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-strong);
    font-size: 16px;
}

.compose-form h3 i {
    color: var(--accent);
}

.form-row,
.filter-group {
    display: grid;
    gap: 8px;
}

.form-row label,
.filter-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea,
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    background: var(--dashboard-surface-2);
    color: var(--text-strong);
}

.form-row textarea {
    min-height: 140px;
    resize: vertical;
}

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

.split-row > div {
    display: grid;
    gap: 8px;
}

.filter-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    margin-bottom: 8px;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: var(--dashboard-surface-2);
}

.filter-header .filter-group {
    flex: 1;
    min-width: 220px;
}

.saved-searches-container {
    display: grid;
    gap: 20px;
}

.saved-search-section {
    display: grid;
    gap: 12px;
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--text-strong);
    font-size: 16px;
    font-weight: 700;
}

.subsection-title i {
    color: var(--accent);
}

.compare-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 4px;
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    background: rgba(11, 61, 145, 0.06);
    color: var(--text-muted);
}

.compare-info i {
    color: var(--accent);
    flex-shrink: 0;
}

.tour-panel {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.tour-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.tour-panel-header i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.tour-panel-header h3 {
    color: var(--text-strong);
    font-size: 16px;
}

.tour-item h4 {
    margin-bottom: 4px;
    color: var(--text-strong);
    font-size: 16px;
}

.tour-item span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
}

.profile-summary {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 28px;
    font-weight: 700;
}

.profile-summary h3 {
    margin: 0;
    color: var(--text-strong);
    font-size: 20px;
}

.profile-summary p {
    margin: 0;
    color: var(--text-muted);
}

.profile-edit-wrapper {
    display: grid;
    gap: 20px;
}

.profile-section {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--panel-border);
    color: var(--text-strong);
    font-size: 16px;
    font-weight: 700;
}

.profile-section-title i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.profile-detail i {
    color: var(--accent);
}

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

.settings-card {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card-header i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.settings-card-header h3 {
    color: var(--text-strong);
    font-size: 16px;
}

.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.switch-row label {
    color: var(--text-muted);
    font-weight: 600;
}

.empty-state {
    padding: 24px;
    border: 1px dashed var(--panel-border);
    border-radius: 16px;
    background: var(--dashboard-surface-2);
    color: var(--text-muted);
    text-align: center;
}

.card-skeleton,
timeline-skeleton,
notification-skeleton {
    min-height: 140px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f3f5f8 0%, #e8edf3 50%, #f3f5f8 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1180px) {
    .overview-panels {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 280px;
        padding-bottom: 60px;
        overflow-y: auto;
        transform: translateX(-100%);
        box-shadow: none;
    }

    .dashboard-sidebar.sidebar-open {
        transform: translateX(0);
        box-shadow: 0 24px 80px rgba(15, 25, 45, 0.16);
    z-index: 110;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .dashboard-topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 16px 20px;
    }

    .messages-layout,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .filter-header {
        flex-direction: column;
    }

    .filter-header .filter-group {
        min-width: 100%;
    }
}

@media (max-width: 760px) {
    .dashboard-content {
        padding: 20px;
        gap: 20px;
    }

    .dashboard-topbar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .topbar-search {
        order: 3;
        width: 100%;
    }

    .topbar-actions {
        justify-content: flex-end;
    }

    .dashboard-header,
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid,
    .cards-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .property-card {
        grid-template-columns: 1fr;
    }

    .property-card img {
        max-height: 180px;
    }

    .split-row {
        grid-template-columns: 1fr;
    }
}
