.page-wrapper {
    padding-top: 88px;
}

#main-topbar {
    padding-inline: 1rem;
}

#main-topbar .navbar-brand {
    min-width: 0;
}

#main-topbar .navbar-search {
    max-width: 420px;
}

.topbar-right {
    flex-shrink: 0;
    min-width: 0;
}

.topbar-company {
    white-space: nowrap;
}

.topbar-user {
    min-width: 0;
    padding-inline: 0.35rem;
}

.topbar-user-name {
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#main-sidebar {
    background:
        linear-gradient(180deg, rgba(14, 20, 22, 0.98), rgba(20, 29, 31, 0.98)),
        linear-gradient(135deg, rgba(16, 185, 129, 0.08), transparent 40%);
    border-right: 1px solid rgba(148, 163, 184, 0.12);
}

#main-sidebar .sidebar-wrapper {
    background: transparent;
}

#main-sidebar .navbar-brand {
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    margin-bottom: 0.75rem;
    padding: 1.15rem 1.25rem 1rem;
}

#main-sidebar .logo-lg,
#main-sidebar .logo-sm {
    align-items: center;
    display: flex;
    justify-content: center;
}

.sidebar-company-panel {
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1rem;
    display: flex;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
}

.sidebar-company-copy {
    min-width: 0;
    overflow: hidden;
}

.sidebar-company-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.sidebar-company-icon img {
    display: block;
    height: 1.2rem;
    width: 1.2rem;
}

.sidebar-company-name {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-company-role {
    color: #f59e0b;
    font-size: 0.83rem;
    line-height: 1.1;
    margin-top: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#main-sidebar .navbar-menu {
    height: calc(100vh - 170px);
}

#main-sidebar .navbar-nav-menu {
    list-style: none;
    margin: 0;
}

#main-sidebar .nav-menu-title {
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 1.15rem 0 0.55rem;
    padding: 0 0.75rem;
    text-transform: uppercase;
}

#main-sidebar .nav-menu-title:first-child {
    margin-top: 0.2rem;
}

#main-sidebar .nav-item {
    margin-bottom: 0.28rem;
}

#main-sidebar .nav-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    color: #e2e8f0;
    display: flex;
    gap: 0.75rem;
    min-height: 2.85rem;
    padding: 0.72rem 0.85rem;
    transition: all 0.2s ease;
}

#main-sidebar .nav-link .icons {
    align-items: center;
    color: #cbd5e1;
    display: inline-flex;
    font-size: 1.1rem;
    justify-content: center;
    width: 1.15rem;
}

#main-sidebar .nav-link .content {
    color: inherit;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.1;
}

#main-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.12);
    color: #ffffff;
}

#main-sidebar .nav-link.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(37, 99, 235, 0.16));
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

#main-sidebar .nav-link.active .icons {
    color: #34d399;
}

html[data-bs-theme="light"] #main-sidebar,
html[data-bs-theme="dark"] #main-sidebar {
    color-scheme: dark;
}

.card-kpi {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(15, 23, 42, 0.04));
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.app-flash {
    align-items: flex-start;
    border-radius: 1rem;
    display: flex;
    gap: 0.9rem;
    justify-content: space-between;
    line-height: 1.45;
    margin-bottom: 1.25rem;
    padding: 0.95rem 1rem;
}

.app-flash-message {
    color: inherit;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
}

.app-flash-message,
.app-flash-message * {
    text-decoration: none !important;
}

.app-flash.alert-dismissible .app-flash-close {
    align-self: flex-start;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    opacity: 0.7;
    padding: 0.2rem;
    position: static;
    right: auto;
    top: auto;
}

.app-flash.alert-dismissible .app-flash-close:hover {
    opacity: 1;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.status-badge {
    align-items: center;
    border-radius: 0.8rem;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.01em;
    min-height: 2rem;
    min-width: 6.75rem;
    padding: 0.32rem 0.8rem;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
}

.kpi-label {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
}

.property-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    object-fit: cover;
    width: 100%;
}

.property-hero-gallery {
    border-radius: 1.1rem;
    overflow: hidden;
}

.property-hero-image {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.property-thumbnail-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.property-thumb-button {
    background: transparent;
    border: 0;
    padding: 0;
}

.property-detail-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 0.9rem;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.property-thumb-button:hover .property-detail-thumb,
.property-thumb-button:focus .property-detail-thumb {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.22);
    transform: translateY(-2px);
}

.gallery-lightbox-overlay {
    align-items: center;
    background: rgba(2, 6, 23, 0.92);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: fixed;
    z-index: 2000;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox-shell {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: min(1200px, 100%);
    min-height: min(88vh, 900px);
    width: 100%;
    position: relative;
}

.gallery-lightbox-stage {
    align-items: center;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 1.5rem 1.5rem 1rem;
}

.gallery-lightbox-image {
    background: #0f172a;
    border-radius: 1rem;
    display: block;
    image-rendering: auto;
    margin: 0 auto;
    max-height: calc(84vh - 7rem);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.gallery-lightbox-caption {
    color: #cbd5e1;
    font-size: 0.88rem;
    margin-top: 0.85rem;
    text-align: center;
}

.gallery-lightbox-close {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    z-index: 2;
}

.gallery-lightbox-nav {
    align-items: center;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    color: #f8fafc;
    display: inline-flex;
    font-size: 2rem;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-close:hover {
    background: rgba(30, 41, 59, 0.96);
    color: #fff;
}

/* ═══════════════════════════════════════════
   AUTH — PREMIUM REDESIGN
   ═══════════════════════════════════════════ */

.auth-screen {
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(16, 185, 129, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(37, 99, 235, 0.2), transparent),
        linear-gradient(135deg, #060e1c 0%, #0d1e38 50%, #0f2a35 100%);
    min-height: 100vh;
}

.auth-card {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 40px 100px rgba(0, 0, 0, 0.55),
        0 8px 30px rgba(0, 0, 0, 0.3);
}

.auth-login-card {
    background: rgba(255, 255, 255, 0.04);
}

.auth-shell {
    padding-block: 2rem;
}

/* ── Left branded panel ── */
.auth-panel {
    background:
        linear-gradient(160deg, rgba(6, 14, 28, 0.88) 0%, rgba(10, 78, 70, 0.75) 100%),
        url("../images/welcome-bg.png") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.auth-panel::after {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 50%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.18), transparent 45%);
    content: "";
    inset: 0;
    position: absolute;
    pointer-events: none;
}

/* Decorative orbs */
.auth-orb {
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    position: absolute;
}

.auth-orb-1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 70%);
    height: 400px;
    right: -100px;
    top: -80px;
    width: 400px;
}

.auth-orb-2 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
    bottom: -60px;
    height: 320px;
    left: -60px;
    width: 320px;
}

.auth-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    justify-content: space-between;
    min-height: 100%;
    padding: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Logo */
.auth-logo-wrap {
    margin-bottom: 1.5rem;
}

.auth-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

/* Badge pill */
.auth-panel-badge {
    align-items: center;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    color: #6ee7b7;
    display: inline-flex;
    font-size: 0.73rem;
    font-weight: 700;
    gap: 0.4rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0.85rem;
    text-transform: uppercase;
}

.auth-panel-headline {
    color: #fff;
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
}

.auth-panel-sub {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
    max-width: 34ch;
}

/* Kicker */
.auth-kicker {
    align-items: center;
    color: #6ee7b7;
    display: inline-flex;
    font-size: 0.73rem;
    font-weight: 700;
    gap: 0.45rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-kicker-light {
    color: #0d9488;
    margin-bottom: 0.6rem;
}

.auth-status-dot {
    color: #10b981;
    font-size: 0.5rem;
    animation: auth-pulse 2s ease-in-out infinite;
}

@keyframes auth-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Metric cards */
.auth-metrics {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-metrics-elevated {
    gap: 0.85rem;
}

.auth-metric-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem;
    transition: background 0.2s, border-color 0.2s;
}

.auth-metric-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.auth-metric-icon {
    align-items: center;
    background: rgba(16, 185, 129, 0.18);
    border-radius: 0.6rem;
    color: #6ee7b7;
    display: inline-flex;
    font-size: 1.15rem;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
    margin-bottom: 0.15rem;
}

.metric-value {
    color: #fff;
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.metric-label {
    color: rgba(255, 255, 255, 0.55);
    display: block;
    font-size: 0.72rem;
    line-height: 1.45;
}

/* Panel footer bar */
.auth-panel-footer-bar {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    font-size: 0.75rem;
    gap: 0.5rem;
    letter-spacing: 0.02em;
    padding-top: 1.5rem;
}

/* ── Right form panel ── */
.auth-form-panel {
    background: #fff;
}

.auth-form-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 3.5rem;
}

/* Logo on form side */
.auth-form-logo-row {
    margin-bottom: 2rem;
}

.auth-form-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.85;
}

/* Form header */
.auth-form-title {
    color: #0f172a;
    font-size: clamp(1.75rem, 2.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0.35rem 0 0.65rem;
}

.auth-form-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 38ch;
}

.auth-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.95rem;
    color: #b91c1c;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
}

.auth-form-grid {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.75rem;
}

.auth-field {
    display: grid;
    gap: 0.5rem;
}

.auth-label {
    color: #1e293b;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Input with icon */
.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    color: #94a3b8;
    font-size: 1.05rem;
    left: 1rem;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s;
}

.auth-input {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.95rem;
    color: #0f172a;
    font-size: 0.92rem;
    min-height: 3.25rem;
    padding-inline: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
}

.auth-input-with-icon {
    padding-left: 2.75rem;
}

.auth-input-with-toggle {
    padding-right: 3rem;
}

.auth-input::placeholder {
    color: #cbd5e1;
    opacity: 1;
}

.auth-input:focus {
    background: #fff;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
    color: #0f172a;
    outline: none;
}

.auth-input-wrap:focus-within .auth-input-icon {
    color: #0d9488;
}

/* Password toggle */
.auth-password-toggle {
    align-items: center;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    font-size: 1.05rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s;
}

.auth-password-toggle:hover {
    color: #475569;
}

/* Remember me */
.auth-check {
    color: #475569;
    font-size: 0.87rem;
    margin-top: 0.1rem;
}

.auth-check-premium .form-check-input:checked {
    background-color: #0d9488;
    border-color: #0d9488;
}

/* Submit button */
.auth-submit-btn {
    align-items: center;
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    border: none;
    border-radius: 0.95rem;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
    color: #fff;
    display: flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.01em;
    margin-top: 0.25rem;
    min-height: 3.25rem;
    position: relative;
    transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
}

.auth-submit-btn:hover {
    box-shadow: 0 6px 28px rgba(13, 148, 136, 0.5);
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-btn-arrow {
    margin-left: auto;
    opacity: 0.75;
    transition: transform 0.2s;
}

.auth-submit-btn:hover .auth-btn-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* Divider */
.auth-form-divider {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.auth-form-divider span:first-child,
.auth-form-divider span:last-child {
    background: #e2e8f0;
    flex: 1;
    height: 1px;
}

.auth-divider-text {
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Trust row */
.auth-trust-row {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.1rem;
}

.auth-trust-item {
    align-items: center;
    color: #94a3b8;
    display: flex;
    font-size: 0.76rem;
    gap: 0.35rem;
}

.auth-trust-item [class^="ri-"] {
    font-size: 0.95rem;
    color: #0d9488;
}

/* Legacy kept for compatibility */
.auth-panel-heading {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.auth-credential-card {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06), rgba(15, 23, 42, 0.02));
    border-style: solid;
}

.auth-inline-code {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 0.45rem;
    color: #0f172a;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    padding: 0.15rem 0.4rem;
}

.auth-form-footer {
    color: #64748b;
    font-size: 0.84rem;
    margin-top: 1rem;
}

.demo-login {
    background: rgba(13, 110, 253, 0.06);
    border: 1px dashed rgba(13, 110, 253, 0.35);
    border-radius: 1rem;
    padding: 1rem;
}

.gallery-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-upload-form {
    display: grid;
    gap: 1rem;
}

.gallery-upload-box {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(241, 245, 249, 0.96));
    border: 1px dashed rgba(148, 163, 184, 0.55);
    border-radius: 1rem;
    padding: 1rem;
}

.gallery-item {
    border-radius: 1.1rem;
    overflow: hidden;
}

.gallery-item-media {
    background: #e2e8f0;
    padding: 0.75rem 0.75rem 0;
}

.gallery-tile-trigger {
    background: transparent;
    border: 0;
    display: block;
    padding: 0;
    width: 100%;
}

.gallery-item .property-thumb {
    border-radius: 0.9rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.gallery-tile-trigger:hover .property-thumb,
.gallery-tile-trigger:focus .property-thumb {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.22), 0 18px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.gallery-manager-shell {
    max-width: min(1320px, 100%);
}

.gallery-manager-stage {
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.12), transparent 32%),
        rgba(15, 23, 42, 0.98);
    min-height: min(90vh, 920px);
    padding-top: 4.5rem;
    position: relative;
}

.gallery-manager-topbar {
    display: flex;
    justify-content: flex-start;
    left: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 1.3rem;
}

.gallery-lightbox-counter {
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
}

.gallery-manager-caption {
    display: grid;
    gap: 0.2rem;
    margin-top: 1rem;
    text-align: center;
}

.gallery-manager-caption .fw-semibold {
    color: #f8fafc;
    font-size: 1rem;
}

.gallery-manager-caption .text-muted {
    color: #94a3b8 !important;
}

.timeline-list {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    border-left: 3px solid rgba(13, 110, 253, 0.3);
    padding-left: 1rem;
    position: relative;
}

.timeline-item::before {
    background: #0d6efd;
    border-radius: 50%;
    content: "";
    height: 0.65rem;
    left: -0.5rem;
    position: absolute;
    top: 0.45rem;
    width: 0.65rem;
}

.dashboard-welcome-card {
    overflow: hidden;
}

.dashboard-welcome-card .card-body {
    min-height: 220px;
    padding: 1.75rem;
}

.dashboard-welcome-copy {
    max-width: 480px;
}

.dashboard-welcome-card .welcome-vector {
    bottom: -0.35rem;
    max-width: 220px;
    opacity: 1;
    pointer-events: none;
    right: -0.75rem;
}

.dashboard-chip-row .badge {
    padding: 0.5rem 0.7rem;
}

.dashboard-location-item + .small {
    padding-left: 3.5rem;
}

.dashboard-location-avatar {
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.16), rgba(16, 185, 129, 0.18));
    border: 1px solid rgba(13, 110, 253, 0.14);
    border-radius: 0.9rem;
    color: #0f172a;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.dashboard-table-avatar {
    align-items: center;
    background: rgba(13, 110, 253, 0.08);
    border-radius: 999px;
    color: #0d6efd;
    display: inline-flex;
    flex: 0 0 2.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.dashboard-featured-property {
    border-radius: 1.35rem;
    overflow: hidden;
    width: min(100%, 260px);
}

.dashboard-featured-thumb {
    aspect-ratio: 4 / 4.4;
    display: block;
    object-fit: cover;
    width: 100%;
}

.dashboard-property-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.dashboard-property-card {
    margin-bottom: 0;
}

.dashboard-property-media {
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
}

.dashboard-property-media img {
    height: 100%;
    width: 100%;
}

.dashboard-action-btn {
    min-height: 7.5rem;
}

@media (max-width: 991.98px) {
    #main-sidebar .navbar-menu {
        height: calc(100vh - 150px);
    }

    #main-topbar {
        gap: 0.75rem;
        padding-inline: 0.75rem;
    }

    .page-wrapper {
        padding-top: 82px;
    }

    .topbar-company {
        display: none !important;
    }

    .auth-panel-inner {
        gap: 1.75rem;
        padding: 2.25rem;
    }

    .auth-form-wrap {
        padding: 2.25rem;
    }

    .auth-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .auth-panel-headline {
        font-size: 1.75rem;
    }

    .auth-trust-row {
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .dashboard-welcome-card .welcome-vector {
        max-width: 150px;
        opacity: 0.4;
    }
}

@media (max-width: 1199.98px) {
    html[data-sidebar="small"] .sidebar-company-panel {
        justify-content: center;
        padding-inline: 0.55rem;
    }

    html[data-sidebar="small"] .sidebar-company-copy {
        display: none;
    }
}

@media (max-width: 767.98px) {
    #main-topbar .navbar-search {
        display: none;
    }

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

    .gallery-lightbox-shell {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox-nav {
        bottom: 1rem;
        position: fixed;
        z-index: 2;
    }

    .gallery-lightbox-prev {
        left: 1rem;
    }

    .gallery-lightbox-next {
        right: 1rem;
    }

    .gallery-lightbox-stage {
        padding: 1rem 1rem 0.75rem;
    }

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

    .dashboard-location-item + .small {
        padding-left: 0;
    }
}
