:root {
    --erp-black: #111111;
    --erp-black-hover: #000000;
}

body.bg-light {
    background-color: #f3f4f6 !important;
}

.erp-navbar {
    background-color: var(--erp-black) !important;
    min-height: 62px;
    position: relative;
}

.btn-primary {
    --bs-btn-bg: var(--erp-black);
    --bs-btn-border-color: var(--erp-black);
    --bs-btn-hover-bg: var(--erp-black-hover);
    --bs-btn-hover-border-color: var(--erp-black-hover);
    --bs-btn-active-bg: var(--erp-black-hover);
    --bs-btn-active-border-color: var(--erp-black-hover);
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
}

.erp-user-button {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.erp-user-button:hover,
.erp-user-button:focus,
.erp-user-button:active,
.erp-user-button.show {
    color: #fff;
    text-decoration: none;
}

.erp-user-toggle {
    border: 1px solid #dee2e6;
}

.erp-navbar-center {
    left: 50%;
    max-width: 58%;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
}

.erp-navbar-company-label {
    color: #ffffff;
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-form-shell {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    min-height: calc(100vh - 9rem);
}

.erp-sort-btn {
    background: transparent;
    border: 0;
    color: #212529;
    font-weight: 600;
    padding: 0;
}

.erp-sort-btn i {
    margin-left: 0.25rem;
}

.erp-row-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    min-width: max-content;
    white-space: nowrap;
}

.erp-category-thumb {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    object-fit: cover;
    border: 1px solid #e9ecef;
}

.erp-category-thumb-placeholder {
    align-items: center;
    background-color: #f8f9fa;
    border: 1px dashed #ced4da;
    border-radius: 0.5rem;
    color: #6c757d;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.erp-login-logo {
    width: 500px;
    height: 200px;
    object-fit: contain;
    max-width: 100%;
}

.erp-login-card {
    width: min(620px, 100%);
}

.erp-menu-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.erp-menu-tile {
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    color: #212529;
    display: flex;
    flex-direction: row;
    font-weight: 600;
    gap: 0.75rem;
    justify-content: flex-start;
    min-height: 52px;
    padding: 0.65rem 0.85rem;
    text-align: left;
    text-decoration: none;
    transition: all 0.15s ease;
}

.erp-menu-tile i {
    font-size: 1.1rem;
}

.erp-menu-tile:hover {
    background: #111111;
    border-color: #111111;
    color: #fff;
}

.erp-menu-tile.active {
    background: #111111;
    border-color: #111111;
    color: #fff;
}

.erp-menu-group-btn,
.erp-menu-subgroup-btn {
    justify-content: space-between;
    width: 100%;
}

.erp-menu-group-btn span,
.erp-menu-subgroup-btn span {
    align-items: center;
    display: inline-flex;
}

.erp-menu-group-btn[aria-expanded="true"],
.erp-menu-subgroup-btn[aria-expanded="true"] {
    background: #111111;
    border-color: #111111;
    color: #fff;
}

.erp-menu-group-body {
    display: grid;
    gap: 0.55rem;
}

.erp-submenu-list {
    border-left: 2px solid #eceff3;
    display: grid;
    gap: 0.5rem;
    margin-top: 0.55rem;
    margin-left: 0.45rem;
    padding-left: 0.55rem;
}

.erp-submenu-list .erp-menu-tile {
    min-height: 46px;
    padding: 0.5rem 0.65rem;
}

.erp-home-tabs {
    border: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
}

.erp-home-tabs .nav-item {
    margin: 0;
}

.erp-home-tab-btn {
    border: 0 !important;
    border-radius: 0.45rem !important;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1;
    padding: 0.52rem 0.88rem;
    transition: opacity 0.16s ease, filter 0.16s ease;
}

.erp-home-tab-btn:hover {
    color: #ffffff !important;
    filter: brightness(1.02);
}

.erp-home-tab-btn.active {
    box-shadow: none;
    opacity: 1;
}

.erp-home-tab-btn:not(.active) {
    opacity: 0.72;
}

.erp-home-tab-inventory {
    background: #0ea5e9 !important;
}

.erp-home-tab-accounting {
    background: #10b981 !important;
}

.erp-home-tab-appointments {
    background: #f97316 !important;
}

.erp-home-app-grid {
    display: grid;
    column-gap: 1.2rem;
    row-gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    margin: 0 auto;
    max-width: 680px;
}

.erp-home-app-grid-themed .erp-home-app-tile {
    --icon-start: #0ea5e9;
    --icon-end: #2563eb;
    align-items: center;
    background: linear-gradient(155deg, var(--icon-start) 0%, var(--icon-end) 100%);
    border: 0;
    border-radius: 1.1rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0.65rem 0.55rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    width: 100%;
    max-width: 132px;
}

.erp-home-app-grid-themed .erp-home-app-tile::before {
    content: none;
}

.erp-home-app-grid-themed .erp-home-app-tile::after {
    content: none;
}

.erp-home-app-grid-themed .erp-home-app-tile > * {
    position: relative;
    z-index: 1;
}

.erp-home-app-grid-themed .erp-home-app-tile:hover {
    color: #ffffff;
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow: 0 11px 20px rgba(15, 23, 42, 0.2);
}

.erp-home-app-icon {
    align-items: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    display: inline-flex;
    font-size: 2.8rem;
    height: auto;
    justify-content: center;
    line-height: 1;
    width: auto;
}

.erp-home-app-icon i {
    color: inherit;
}

.erp-home-app-title {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    width: 100%;
}

.erp-home-app-grid-themed .erp-home-app-tile:nth-child(1) { --icon-start: #f97316; --icon-end: #ef4444; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(2) { --icon-start: #0ea5e9; --icon-end: #2563eb; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(3) { --icon-start: #14b8a6; --icon-end: #0d9488; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(4) { --icon-start: #22c55e; --icon-end: #16a34a; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(5) { --icon-start: #eab308; --icon-end: #f59e0b; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(6) { --icon-start: #f43f5e; --icon-end: #e11d48; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(7) { --icon-start: #6366f1; --icon-end: #4f46e5; }
.erp-home-app-grid-themed .erp-home-app-tile:nth-child(8) { --icon-start: #06b6d4; --icon-end: #0284c7; }

.erp-home-tab-content {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.2rem 0 0;
}

.erp-appointments-weekdays {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-bottom: 0.35rem;
}

.erp-appointments-weekday {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.erp-appointments-calendar-grid {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.erp-appointments-calendar-grid.is-loading {
    opacity: 0.7;
}

.erp-appointments-day-cell {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.7rem;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 94px;
    padding: 0.35rem 0.4rem;
    text-align: left;
    transition: box-shadow 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.erp-appointments-day-cell:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.erp-appointments-day-cell.is-selected {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.16);
}

.erp-appointments-day-cell.is-outside-month {
    background: #f8fafc;
    color: #94a3b8;
}

.erp-appointments-day-cell.is-today .erp-appointments-day-number {
    background: #111827;
    border-radius: 999px;
    color: #ffffff;
    padding: 0.03rem 0.35rem;
}

.erp-appointments-day-number {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
}

.erp-appointments-day-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.erp-appointments-day-add {
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    border-radius: 999px;
    color: #0f766e;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.15rem 0.35rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.erp-appointments-day-add:hover {
    background: #cffafe;
    border-color: #67e8f9;
}

.erp-appointments-event-chip {
    background: #e0f2fe;
    border-radius: 0.4rem;
    color: #0c4a6e;
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    padding: 0.12rem 0.28rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.erp-appointments-event-chip.is-clickable {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.erp-appointments-event-chip.is-clickable:hover {
    background: #bae6fd;
    transform: translateY(-1px);
}

.erp-appointments-event-chip.is-status-success {
    background: #dcfce7;
    color: #14532d;
}

.erp-appointments-event-chip.is-status-danger {
    background: #fee2e2;
    color: #7f1d1d;
}

.erp-appointments-event-chip.is-status-warning {
    background: #fef3c7;
    color: #78350f;
}

.erp-appointments-event-chip.is-status-info {
    background: #dbeafe;
    color: #1e3a8a;
}

.erp-appointments-event-chip.is-status-primary {
    background: #dbeafe;
    color: #1d4ed8;
}

.erp-appointments-event-chip.is-status-secondary {
    background: #e2e8f0;
    color: #334155;
}

.erp-appointments-event-chip.is-status-dark {
    background: #e5e7eb;
    color: #111827;
}

.erp-appointments-more {
    color: #475569;
    font-size: 0.63rem;
    font-weight: 600;
}

.erp-appointments-timeline-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    padding: 0.75rem;
}

.erp-appointments-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.erp-appointments-timeline-row {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 0.65rem;
    color: #0f172a;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 130px 1fr auto;
    padding: 0.55rem 0.65rem;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    width: 100%;
}

.erp-appointments-timeline-row:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.1);
    transform: translateY(-1px);
}

.erp-appointments-timeline-time {
    color: #0c4a6e;
    font-size: 0.78rem;
    font-weight: 700;
}

.erp-appointments-timeline-main {
    display: flex;
    flex-direction: column;
    font-size: 0.86rem;
    gap: 0.08rem;
    min-width: 0;
}

.erp-appointments-timeline-main > * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-appointments-timeline-meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    gap: 0.25rem;
}

.erp-appointments-day-view {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    padding: 0.8rem;
}

.erp-appointments-time-grid {
    border: 1px solid #dbe4ef;
    border-radius: 0.7rem;
    overflow: hidden;
}

.erp-appointments-time-slot {
    align-items: flex-start;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 80px 1fr;
    padding: 0.55rem 0.7rem;
    transition: background-color 0.15s ease;
}

.erp-appointments-time-slot:last-child {
    border-bottom: 0;
}

.erp-appointments-time-slot:hover {
    background: #f0f9ff;
}

.erp-appointments-time-slot-time {
    color: #0c4a6e;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.3;
    padding-top: 0.1rem;
}

.erp-appointments-time-slot-body {
    color: #64748b;
    font-size: 0.8rem;
}

.erp-appointments-time-slot-body.has-events {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.erp-appointments-time-slot-event {
    align-items: flex-start;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 0.5rem;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    font-size: 0.74rem;
    gap: 0.08rem;
    padding: 0.28rem 0.45rem;
    text-align: left;
    width: 100%;
}

.erp-appointments-time-slot-event:hover {
    background: #bae6fd;
}

.erp-appointments-time-slot-emp {
    color: #0c4a6e;
    font-size: 0.69rem;
    font-weight: 600;
}

.erp-appointments-time-slot-event.is-status-success {
    background: #dcfce7;
    border-color: #86efac;
}

.erp-appointments-time-slot-event.is-status-danger {
    background: #fee2e2;
    border-color: #fca5a5;
}

.erp-appointments-time-slot-event.is-status-warning {
    background: #fef3c7;
    border-color: #fcd34d;
}

.erp-appointments-time-slot-event.is-status-info {
    background: #dbeafe;
    border-color: #93c5fd;
}

.erp-appointments-time-slot-event.is-status-primary {
    background: #dbeafe;
    border-color: #60a5fa;
}

.erp-appointments-time-slot-event.is-status-secondary {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.erp-appointments-time-slot-event.is-status-dark {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.erp-appointments-employee-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.erp-appointments-employee-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 0.65rem;
    color: #0f172a;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: space-between;
    min-width: 170px;
    padding: 0.35rem 0.5rem;
}

.erp-appointments-employee-card .name {
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-appointments-employee-card .count {
    background: #0f172a;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    min-width: 1.55rem;
    padding: 0.2rem 0.38rem;
    text-align: center;
}

.erp-appointments-employee-card.is-active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.appointments-calendar-page .card-body {
    padding: 1rem 1rem 1.1rem;
}

.erp-appointments-toolbar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    padding: 0.75rem;
}

.erp-appointments-toolbar .form-label {
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.erp-appointments-toolbar-main {
    margin-bottom: 0.1rem;
}

.erp-appointments-toolbar-datetime {
    margin-top: 0.18rem;
}

.erp-appointment-key-field .form-control {
    background: #ffffff;
    border-color: #cbd5e1;
    font-weight: 600;
}

.erp-appointments-toolbar-actions {
    border-top: 1px dashed #d8e1ec;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
}

.erp-appointments-day-cell {
    min-height: 128px;
    padding: 0.4rem 0.45rem;
}

.erp-appointments-event-chip {
    font-size: 0.68rem;
}

.erp-shop-hero {
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
}

.erp-shop-company-logo {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    max-height: 72px;
    max-width: 150px;
    object-fit: contain;
    padding: 0.35rem;
}

.erp-shop-hero-image-wrap {
    align-items: center;
    background: #e2e8f0;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
}

.erp-shop-hero-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.erp-shop-hero-placeholder {
    align-items: center;
    color: #334155;
    display: inline-flex;
    font-size: 3rem;
    justify-content: center;
}

.erp-shop-item-photo {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    height: 84px;
    object-fit: cover;
    width: 84px;
}

.erp-shop-item-photo-placeholder {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
    color: #64748b;
    display: inline-flex;
    height: 84px;
    justify-content: center;
    width: 84px;
}

.erp-shop-sticky {
    position: sticky;
    top: 1rem;
}

@media (max-width: 576px) {
    .erp-login-card {
        width: 100%;
    }

    .erp-login-logo {
        width: 260px;
        height: 104px;
    }

    .erp-menu-grid {
        gap: 0.5rem;
    }

    .erp-navbar-center {
        max-width: 70%;
    }

    .erp-navbar-company-label {
        font-size: 0.84rem;
        font-weight: 600;
    }

    .erp-menu-tile {
        min-height: 48px;
        padding: 0.55rem 0.7rem;
    }

    .erp-submenu-list {
        margin-left: 0.3rem;
        padding-left: 0.45rem;
    }

    .erp-home-app-grid {
        column-gap: 0.72rem;
        row-gap: 0.7rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 250px;
    }

    .erp-home-tabs {
        gap: 0.35rem;
        margin-bottom: 0.8rem;
    }

    .erp-home-tab-btn {
        border-radius: 0.42rem !important;
        font-size: 0.82rem;
        padding: 0.45rem 0.68rem;
    }

    .erp-home-app-grid-themed .erp-home-app-tile {
        border-radius: 0.95rem;
        padding: 0.58rem 0.5rem;
        max-width: 112px;
    }

    .erp-home-app-icon {
        font-size: 2.2rem;
    }

    .erp-home-app-title {
        font-size: 0.74rem;
    }

    .erp-home-tab-content {
        padding: 0.14rem 0 0;
    }

    .erp-appointments-weekdays {
        gap: 0.22rem;
        margin-bottom: 0.22rem;
    }

    .erp-appointments-weekday {
        font-size: 0.62rem;
    }

    .erp-appointments-calendar-grid {
        gap: 0.22rem;
    }

    .erp-appointments-day-cell {
        border-radius: 0.52rem;
        min-height: 86px;
        padding: 0.24rem 0.26rem;
    }

    .erp-appointments-day-number {
        font-size: 0.68rem;
    }

    .erp-appointments-day-add {
        font-size: 0.5rem;
        padding: 0.13rem 0.28rem;
    }

    .erp-appointments-event-chip {
        border-radius: 0.32rem;
        font-size: 0.56rem;
        padding: 0.1rem 0.18rem;
    }

    .erp-appointments-timeline-row {
        gap: 0.35rem;
        grid-template-columns: 1fr;
        padding: 0.45rem 0.5rem;
    }

    .erp-appointments-timeline-time {
        font-size: 0.72rem;
    }

    .erp-appointments-timeline-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 0.45rem;
    }

    .erp-appointments-time-slot {
        gap: 0.4rem;
        grid-template-columns: 56px 1fr;
        padding: 0.42rem 0.46rem;
    }

    .erp-appointments-time-slot-time {
        font-size: 0.67rem;
    }

    .erp-appointments-time-slot-event {
        font-size: 0.67rem;
        padding: 0.22rem 0.34rem;
    }

    .erp-appointments-employee-card {
        min-width: 128px;
        padding: 0.3rem 0.38rem;
    }

    .erp-appointments-toolbar {
        border-radius: 0.62rem;
        padding: 0.56rem;
    }

    .erp-appointments-toolbar-actions {
        margin-top: 0.7rem;
        padding-top: 0.62rem;
    }

    .erp-shop-hero-image-wrap {
        min-height: 160px;
    }

    .erp-shop-item-photo,
    .erp-shop-item-photo-placeholder {
        height: 70px;
        width: 70px;
    }

    .erp-shop-sticky {
        position: static;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .erp-home-app-grid {
        column-gap: 0.95rem;
        row-gap: 0.85rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 500px;
    }

    .erp-home-app-grid-themed .erp-home-app-tile {
        max-width: 126px;
    }
}

.erp-real-estate-page .erp-real-estate-hero {
    background: linear-gradient(120deg, #0f172a, #0ea5e9 60%, #f59e0b);
    border-radius: 18px;
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.3);
}

.erp-real-estate-page .erp-real-estate-stat-card {
    background: #fff;
    border: 1px solid #dbe7ff;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
}

.erp-real-estate-page .erp-real-estate-stat-card small {
    display: block;
    color: #64748b;
    margin-bottom: 0.1rem;
}

.erp-real-estate-page .erp-real-estate-stat-card strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.erp-real-estate-card {
    border: 1px solid #dbe7ff;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.erp-real-estate-cover {
    height: 190px;
    background: linear-gradient(130deg, #1e3a8a, #0ea5e9 55%, #93c5fd);
    background-size: cover;
    background-position: center;
    position: relative;
}

.erp-real-estate-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.65), rgba(2, 6, 23, 0.08));
    padding: 0.6rem;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.erp-real-estate-card-body {
    padding: 0.85rem;
}

.erp-real-estate-specs {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
}

.erp-real-estate-specs span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.24rem 0.55rem;
}

.erp-real-estate-agent-line {
    border-top: 1px dashed #cbd5e1;
    padding-top: 0.45rem;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    align-items: baseline;
    font-size: 0.86rem;
}

.erp-real-estate-thumb {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dbe7ff;
}

.erp-real-estate-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.erp-real-estate-thumb .btn {
    position: absolute;
    top: 4px;
    right: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.erp-real-estate-cover-preview {
    width: 100%;
    max-width: 220px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dbe7ff;
}

.erp-real-estate-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .erp-real-estate-page .erp-real-estate-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .erp-real-estate-agent-line {
        flex-direction: column;
        align-items: flex-start;
    }
}

