@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ****************************** costum css ********************************************* */

/* Sidebar logo: keep the same clean size when the RTL stylesheet is active. */
.sidebar .sidebar-header .sidebar-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.sidebar .sidebar-brand img {
    width: 130px;
    max-width: 100%;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

/* DataTables admin-template skin */
.dataTables_wrapper {
    --dt-accent: #ed1c24;
    --dt-accent-strong: #ba1e1e;
    --dt-accent-soft: rgba(237, 28, 36, 0.08);
    --dt-head: #111827;
    --dt-head-border: #243044;
    --dt-head-text: #f8fafc;
    --dt-ink: #111827;
    --dt-body: #334155;
    --dt-muted: #64748b;
    --dt-line: #e5e7eb;
    --dt-line-soft: #eef2f7;
    --dt-panel: #ffffff;
    --dt-subtle: #f8fafc;
    --dt-control: #f1f5f9;
    --dt-focus: rgba(237, 28, 36, 0.16);
    color: var(--dt-body);
    font-family: "Inter", "Roboto", sans-serif;
}

.dataTables_wrapper > .row:first-child {
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.85rem;
    border: 1px solid var(--dt-line-soft);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.dataTables_wrapper > .row:last-child {
    align-items: center;
    margin: 0.25rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--dt-line-soft);
}

.table-responsive > .dataTables_wrapper {
    padding: 0;
}

.table-responsive:has(> .dataTables_wrapper) {
    overflow: visible;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info {
    color: var(--dt-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
}

.dataTables_wrapper .dataTables_filter {
    text-align: right;
}

.dataTables_wrapper .form-control,
.dataTables_wrapper .form-select {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--dt-control);
    color: var(--dt-ink);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.dataTables_wrapper .dataTables_filter .form-control {
    width: min(320px, 100%);
    padding-right: 1rem;
    padding-left: 1rem;
}

.dataTables_wrapper .form-select {
    min-width: 84px;
    cursor: pointer;
}

.dataTables_wrapper .form-control::placeholder {
    color: #94a3b8;
}

.dataTables_wrapper .form-control:focus,
.dataTables_wrapper .form-select:focus {
    border-color: rgba(237, 28, 36, 0.35);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--dt-focus);
}

.dataTables_wrapper .dt-buttons,
.dataTables_wrapper .dataTables_length {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dataTables_wrapper .btn,
.dataTables_wrapper .dt-button {
    min-height: 38px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.dataTables_wrapper table.dataTable,
.dataTables_wrapper .table {
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    overflow: visible;
    border: 1px solid var(--dt-line-soft) !important;
    border-radius: 8px;
    border-collapse: separate !important;
    border-spacing: 0;
    background: var(--dt-panel);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper .table thead th {
    position: relative;
    border-right: 0 !important;
    border-bottom: 1px solid var(--dt-head-border) !important;
    background: var(--dt-head);
    color: var(--dt-head-text);
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.dataTables_wrapper table.dataTable thead th:first-child,
.dataTables_wrapper .table thead th:first-child {
    border-top-left-radius: 8px;
}

.dataTables_wrapper table.dataTable thead th:last-child,
.dataTables_wrapper .table thead th:last-child {
    border-top-right-radius: 8px;
}

.dataTables_wrapper table.dataTable th,
.dataTables_wrapper table.dataTable td,
.dataTables_wrapper .table th,
.dataTables_wrapper .table td {
    padding: 1rem 1.1rem;
    border-right: 0 !important;
    border-left: 0 !important;
    border-color: var(--dt-line-soft) !important;
    vertical-align: middle;
}

.dataTables_wrapper table.dataTable tbody td,
.dataTables_wrapper .table tbody td {
    color: var(--dt-body);
    font-size: 0.86rem;
    font-weight: 600;
}

.dataTables_wrapper .table-striped > tbody > tr:nth-of-type(odd) > *,
.dataTables_wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: #fcfdff;
    color: var(--dt-body);
}

.dataTables_wrapper table.dataTable tbody tr,
.dataTables_wrapper .table tbody tr {
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.dataTables_wrapper table.dataTable tbody tr:has(.dropdown.show),
.dataTables_wrapper .table tbody tr:has(.dropdown.show),
.dataTables_wrapper table.dataTable tbody td:has(.dropdown.show),
.dataTables_wrapper .table tbody td:has(.dropdown.show) {
    position: relative;
    z-index: 1055;
}

.dataTables_wrapper .dropdown {
    position: relative;
}

.dataTables_wrapper .dropdown-menu {
    z-index: 1060;
    border: 1px solid var(--dt-line-soft);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.dataTables_wrapper .dropdown-menu.show {
    z-index: 1065;
}

.dataTables_wrapper table.dataTable tbody tr:hover > *,
.dataTables_wrapper .table-hover tbody tr:hover > * {
    --bs-table-accent-bg: #fff6f6;
    background-color: #fff6f6;
    color: var(--dt-ink);
}

.dataTables_wrapper table.dataTable tbody tr:hover td:first-child,
.dataTables_wrapper .table-hover tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 var(--dt-accent);
}

.dataTables_wrapper table.dataTable.no-footer {
    border-bottom: 1px solid var(--dt-line-soft) !important;
}

.dataTables_wrapper table.dataTable thead .sorting,
.dataTables_wrapper table.dataTable thead .sorting_asc,
.dataTables_wrapper table.dataTable thead .sorting_desc {
    cursor: pointer;
}

.dataTables_wrapper table.dataTable thead .sorting_asc,
.dataTables_wrapper table.dataTable thead .sorting_desc {
    color: #ffffff;
}

.dataTables_wrapper .dataTables_empty {
    padding: 3rem 1rem !important;
    color: var(--dt-muted) !important;
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
}

.dataTables_wrapper .dataTables_processing {
    border: 1px solid var(--dt-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--dt-ink);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
    font-weight: 900;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 0 !important;
}

.dataTables_wrapper .pagination {
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0;
}

.dataTables_wrapper .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 8px !important;
    background: transparent;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: none;
}

.dataTables_wrapper .page-link:hover {
    border-color: var(--dt-line);
    background: var(--dt-control);
    color: var(--dt-accent-strong);
}

.dataTables_wrapper .page-item.active .page-link {
    border-color: var(--dt-accent);
    background: var(--dt-accent);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(237, 28, 36, 0.24);
}

.dataTables_wrapper .page-item.disabled .page-link {
    background: transparent;
    color: #cbd5e1;
}

html[data-bs-theme="dark"] .dataTables_wrapper {
    --dt-head: #0b1220;
    --dt-head-border: #263244;
    --dt-head-text: #f8fafc;
    --dt-ink: #f8fafc;
    --dt-body: #dbe4ef;
    --dt-muted: #94a3b8;
    --dt-line: #334155;
    --dt-line-soft: #263244;
    --dt-panel: #111827;
    --dt-subtle: #172033;
    --dt-control: #1f2937;
    --dt-accent-soft: rgba(237, 28, 36, 0.18);
    --dt-focus: rgba(237, 28, 36, 0.22);
}

html[data-bs-theme="dark"] .dataTables_wrapper > .row:first-child {
    border-color: var(--dt-line-soft);
    background: linear-gradient(180deg, #141d2b 0%, #111827 100%);
}

html[data-bs-theme="dark"] .dataTables_wrapper table.dataTable,
html[data-bs-theme="dark"] .dataTables_wrapper .table {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

html[data-bs-theme="dark"] .dataTables_wrapper table.dataTable thead th,
html[data-bs-theme="dark"] .dataTables_wrapper .table thead th {
    border-bottom-color: var(--dt-head-border) !important;
    background: var(--dt-head);
    color: var(--dt-head-text);
}

html[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody td,
html[data-bs-theme="dark"] .dataTables_wrapper .table tbody td,
html[data-bs-theme="dark"] .dataTables_wrapper .table-striped > tbody > tr:nth-of-type(odd) > * {
    color: #dbe4ef;
}

html[data-bs-theme="dark"] .dataTables_wrapper table.dataTable tbody tr:hover > *,
html[data-bs-theme="dark"] .dataTables_wrapper .table-hover tbody tr:hover > * {
    --bs-table-accent-bg: rgba(237, 28, 36, 0.16);
    background-color: rgba(237, 28, 36, 0.16);
}

html[data-bs-theme="dark"] .dataTables_wrapper .form-control:focus,
html[data-bs-theme="dark"] .dataTables_wrapper .form-select:focus {
    background-color: #111827;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing {
    background: rgba(17, 24, 39, 0.96);
}

@media (max-width: 767.98px) {
    .table-responsive:has(> .dataTables_wrapper) {
        overflow-x: auto;
        overflow-y: visible;
    }

    .dataTables_wrapper > .row:first-child {
        padding: 0.75rem;
    }

    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter label {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: left;
    }

    .dataTables_wrapper .dataTables_filter .form-control,
    .dataTables_wrapper .form-select {
        width: 100%;
    }

    .dataTables_wrapper table.dataTable th,
    .dataTables_wrapper table.dataTable td,
    .dataTables_wrapper .table th,
    .dataTables_wrapper .table td {
        padding: 0.8rem;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: left;
    }

    .dataTables_wrapper .pagination {
        justify-content: flex-start;
        margin-top: 0.65rem;
    }
}

.complaint-show-page {
    --complaint-primary: #ba1e1e;
    --complaint-primary-fixed: #fd5046;
    --complaint-on-surface: #2d3335;
    --complaint-on-surface-variant: #5a6062;
    --complaint-outline: #adb3b5;
    --complaint-surface: #f8f9fa;
    --complaint-surface-container-low: #f1f4f5;
    --complaint-surface-container-lowest: #ffffff;
    --complaint-surface-container-high: #e5e9eb;
    --complaint-shadow: 0 12px 32px rgba(25, 28, 30, 0.04);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--complaint-on-surface);
}

.complaint-show-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.complaint-show-title {
    margin: 0;
    color: var(--complaint-on-surface);
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
}

.complaint-show-title span {
    display: inline-block;
    margin-left: 0.45rem;
    color: var(--complaint-on-surface-variant);
    font-weight: 500;
}

.complaint-show-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0;
    color: var(--complaint-on-surface-variant);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.complaint-show-back:hover {
    color: var(--complaint-primary);
}

.complaint-show-back svg,
.complaint-show-card__head svg,
.complaint-chat-head svg,
.complaint-chat-form button svg,
.complaint-attachment-item svg,
.complaint-chat-empty svg {
    width: 18px;
    height: 18px;
}

.complaint-show-alert {
    border: 0;
    border-radius: 10px;
}

.complaint-show-card,
.complaint-chat-card {
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-radius: 10px;
    background: var(--complaint-surface-container-lowest);
    box-shadow: var(--complaint-shadow);
}

.complaint-show-card__head,
.complaint-chat-head {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(173, 179, 181, 0.2);
    background: var(--complaint-surface-container-low);
}

.complaint-show-card__head h2,
.complaint-chat-head h2 {
    margin: 0;
    color: var(--complaint-on-surface);
    font-size: 0.88rem;
    font-weight: 800;
}

.complaint-show-card__head--actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.complaint-show-card__head--inline,
.complaint-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.complaint-show-card__head--inline > div,
.complaint-chat-head > div {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.complaint-show-card__head--inline span,
.complaint-chat-head span {
    color: var(--complaint-on-surface-variant);
    font-size: 0.78rem;
    font-weight: 700;
}

.complaint-show-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.complaint-show-field {
    min-width: 0;
}

.complaint-show-field--full {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(173, 179, 181, 0.18);
}

.complaint-show-field > span,
.complaint-chat-form label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--complaint-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.complaint-show-field strong {
    color: var(--complaint-on-surface);
    font-size: 0.96rem;
    font-weight: 800;
}

.complaint-show-field p {
    margin: 0;
    color: var(--complaint-on-surface-variant);
    font-size: 0.92rem;
    line-height: 1.7;
}

.complaint-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.complaint-status-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.complaint-status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.complaint-status-pill--resolved {
    border: 1px solid #bbf7d0;
    background: #dcfce7;
    color: #15803d;
}

.complaint-status-pill--resolved i {
    background: #22c55e;
}

.complaint-status-pill--pending {
    border: 1px solid #fde68a;
    background: #fef3c7;
    color: #b45309;
}

.complaint-status-pill--pending i {
    background: #f59e0b;
}

.complaint-status-action-form {
    margin: 0;
}

.complaint-status-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border: 0;
    border-radius: 8px;
    background: var(--complaint-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(186, 30, 30, 0.14);
}

.complaint-status-action-btn:hover {
    background: var(--complaint-primary-fixed);
}

.complaint-attachments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.9rem;
    padding: 1rem;
}

.complaint-attachment-item {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-radius: 10px;
    background: var(--complaint-surface-container-low);
    color: var(--complaint-on-surface-variant);
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.complaint-attachment-item:hover {
    border-color: rgba(186, 30, 30, 0.38);
    box-shadow: 0 12px 24px rgba(186, 30, 30, 0.1);
    transform: translateY(-1px);
}

.complaint-attachment-item img {
    width: 100%;
    max-height: 92px;
    object-fit: cover;
    border-radius: 10px;
}

.complaint-attachment-item__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(186, 30, 30, 0.08);
    color: var(--complaint-primary);
}

.complaint-attachment-item__name {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.complaint-chat-card {
    display: flex;
    min-height: 500px;
    flex-direction: column;
}

.complaint-chat-thread {
    display: flex;
    min-height: 330px;
    max-height: 400px;
    flex: 1;
    flex-direction: column;
    gap: 1.15rem;
    overflow-y: auto;
    padding: 1rem;
    background: var(--complaint-surface);
    scrollbar-color: var(--complaint-outline) transparent;
    scrollbar-width: thin;
}

.complaint-chat-thread::-webkit-scrollbar {
    width: 6px;
}

.complaint-chat-thread::-webkit-scrollbar-track {
    background: transparent;
}

.complaint-chat-thread::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--complaint-outline);
}

.complaint-chat-message {
    display: flex;
    max-width: min(78%, 680px);
    flex-direction: column;
    gap: 0.35rem;
}

.complaint-chat-message--right {
    align-self: flex-end;
    align-items: flex-end;
}

.complaint-chat-message--left {
    align-self: flex-start;
    align-items: flex-start;
}

.complaint-chat-bubble {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(25, 28, 30, 0.06);
}

.complaint-chat-message--right .complaint-chat-bubble {
    border-top-right-radius: 4px;
    background: var(--complaint-primary);
    color: #fff;
}

.complaint-chat-message--left .complaint-chat-bubble {
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-top-left-radius: 4px;
    background: var(--complaint-surface-container-lowest);
    color: var(--complaint-on-surface);
}

.complaint-chat-bubble p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.complaint-chat-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.25rem;
    color: var(--complaint-on-surface-variant);
    font-size: 0.72rem;
}

.complaint-chat-meta strong {
    color: var(--complaint-on-surface);
    font-size: 0.72rem;
    font-weight: 900;
}

.complaint-chat-message--right .complaint-chat-meta strong {
    color: var(--complaint-on-surface-variant);
}

.complaint-chat-empty {
    display: flex;
    height: 100%;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--complaint-on-surface-variant);
    font-size: 0.88rem;
    font-weight: 700;
}

.complaint-chat-form {
    padding: 1rem;
    border-top: 1px solid rgba(173, 179, 181, 0.2);
    background: var(--complaint-surface-container-lowest);
}

.complaint-chat-input {
    position: relative;
}

.complaint-chat-input textarea {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    padding: 0.95rem 3.4rem 0.95rem 1rem;
    border: 1px solid rgba(173, 179, 181, 0.32);
    border-radius: 10px;
    background: var(--complaint-surface-container-lowest);
    color: var(--complaint-on-surface);
    font-size: 0.9rem;
    line-height: 1.55;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.complaint-chat-input textarea:focus {
    border-color: rgba(186, 30, 30, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(186, 30, 30, 0.12);
}

.complaint-chat-form button {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: var(--complaint-primary);
    color: #fff;
    box-shadow: 0 10px 18px rgba(186, 30, 30, 0.2);
}

.complaint-chat-form button:hover {
    background: var(--complaint-primary-fixed);
}

.statistics-filter-card {
    --stats-primary: #ba1e1e;
    --stats-primary-fixed: #fd5046;
    --stats-on-surface: #2d3335;
    --stats-on-surface-variant: #5a6062;
    --stats-outline: #adb3b5;
    --stats-surface-low: #f1f4f5;
    --stats-surface-lowest: #ffffff;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-radius: 10px;
    background: var(--stats-surface-lowest);
    box-shadow: 0 12px 32px rgba(25, 28, 30, 0.04);
}

.statistics-filter-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(173, 179, 181, 0.18);
}

.statistics-filter-card__head h1 {
    margin: 0;
    color: var(--stats-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.statistics-filter-card__kicker {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--stats-primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.statistics-filter-card__count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(186, 30, 30, 0.08);
    color: var(--stats-primary);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.statistics-filter-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(220px, 1fr) auto;
    align-items: end;
    gap: 0.85rem;
}

.statistics-filter-field {
    min-width: 0;
}

.statistics-filter-card .form-label {
    margin-bottom: 0.35rem;
    color: var(--stats-on-surface-variant);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.statistics-filter-card .form-control,
.statistics-filter-card .form-select,
.statistics-filter-card .select2-container--default .select2-selection--single,
.statistics-filter-card .select2-container--default .select2-selection--multiple {
    min-height: 42px;
    border-color: rgba(173, 179, 181, 0.32) !important;
    border-radius: 8px !important;
    background: var(--stats-surface-low) !important;
    color: var(--stats-on-surface);
    font-size: 0.82rem;
    box-shadow: none !important;
}

.statistics-filter-card .form-control,
.statistics-filter-card .form-select {
    padding: 0.65rem 0.75rem;
}

.statistics-filter-card .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

.statistics-filter-card .statistics-filter-commercial-select + .select2-container .select2-selection--single {
    height: 42px;
    min-height: 42px;
}

.statistics-filter-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0.75rem;
    color: var(--stats-on-surface);
    line-height: 40px;
}

.statistics-filter-card .statistics-filter-commercial-select + .select2-container .select2-selection__arrow {
    height: 40px;
}

.statistics-filter-card .select2-container--default .select2-selection--multiple {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.45rem;
}

.statistics-filter-card .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(186, 30, 30, 0.1);
    color: var(--stats-primary);
    font-size: 0.72rem;
    font-weight: 700;
}

.statistics-filter-card .input-group .form-control {
    border-right: 0;
    border-radius: 8px 0 0 8px !important;
}

.statistics-filter-card .input-group .btn {
    min-height: 42px;
    border-color: rgba(173, 179, 181, 0.32);
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: var(--stats-surface-low);
    color: var(--stats-on-surface-variant);
}

.statistics-filter-card .form-control:focus,
.statistics-filter-card .form-select:focus,
.statistics-filter-card .select2-container--focus .select2-selection {
    border-color: rgba(186, 30, 30, 0.55) !important;
    box-shadow: 0 0 0 0.2rem rgba(186, 30, 30, 0.1) !important;
}

.statistics-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.statistics-filter-submit,
.statistics-filter-clear {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.statistics-filter-submit {
    padding: 0 1rem;
    border: 0;
    background: var(--stats-primary);
    color: #fff;
    box-shadow: 0 10px 18px rgba(186, 30, 30, 0.16);
}

.statistics-filter-submit:hover {
    background: var(--stats-primary-fixed);
}

.statistics-filter-clear {
    padding: 0 0.35rem;
    color: var(--stats-on-surface-variant);
    text-decoration: none;
}

.statistics-filter-clear:hover {
    color: var(--stats-primary);
}

.responsive-index-toolbar,
.property-index-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5rem;
}

.responsive-index-filterbar > .gap-2,
.property-index-filterbar > .gap-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.responsive-index-actions,
.property-index-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.responsive-index-actions .btn,
.property-index-actions .btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 !important;
}

.responsive-index-icon-btn,
.property-index-icon-btn {
    width: 42px;
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 767.98px) {
    .responsive-index-toolbar,
    .property-index-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .responsive-index-filterbar > .gap-2,
    .responsive-index-actions,
    .property-index-filterbar > .gap-2,
    .property-index-actions {
        width: 100%;
        justify-content: stretch;
    }

    .responsive-index-filterbar > .gap-2 .btn,
    .responsive-index-actions .btn,
    .property-index-filterbar > .gap-2 .btn,
    .property-index-actions .btn {
        flex: 1 1 0;
        min-width: 0;
    }

.responsive-index-import-btn,
    .property-index-import-btn {
        flex: 999 1 auto !important;
    }
}

.client-profile-page {
    --client-primary: #ba1e1e;
    --client-primary-fixed: #fd5046;
    --client-dark: #2d3335;
    --client-muted: #5a6062;
    --client-outline: #adb3b5;
    --client-surface: #f8f9fa;
    --client-surface-low: #f1f4f5;
    --client-surface-lowest: #ffffff;
    --client-shadow: 0 12px 32px rgba(25, 28, 30, 0.05);
    color: var(--client-dark);
}

.client-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 10px;
    background: #000;
    color: #fff;
    box-shadow: var(--client-shadow);
}

.client-profile-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.client-profile-avatar {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.15rem;
    font-weight: 900;
}

.client-profile-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.client-profile-title-row h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
}

.client-profile-title-row span {
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
}

.client-profile-badges,
.client-profile-contact-actions,
.client-profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.client-profile-badges {
    margin-top: 0.55rem;
}

.client-profile-badges span {
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    background: var(--client-badge-color, rgba(255, 255, 255, 0.14));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.client-profile-hero-actions {
    justify-content: flex-end;
}

.client-profile-action,
.client-profile-contact-actions a,
.client-profile-contact-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 38px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.client-profile-action {
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.client-profile-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.client-profile-action--primary {
    background: rgba(255, 255, 255, 0.16);
}

.client-profile-contact-actions {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.client-profile-contact-actions a,
.client-profile-contact-actions button {
    padding: 0 0.9rem;
    border: 0;
    background: #fff;
    color: var(--client-dark);
}

.client-profile-contact-actions a:hover,
.client-profile-contact-actions button:hover {
    color: var(--client-primary);
}

.client-profile-hero svg,
.client-profile-card svg,
.client-profile-stat svg {
    width: 18px;
    height: 18px;
}

.client-profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-profile-stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-radius: 10px;
    background: var(--client-surface-lowest);
    box-shadow: var(--client-shadow);
}

.client-profile-stat--accent {
    border-left: 4px solid var(--client-primary);
}

.client-profile-stat > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(186, 30, 30, 0.08);
    color: var(--client-primary);
}

.client-profile-stat p,
.client-profile-fields span,
.client-profile-side-list span,
.client-profile-note span {
    margin: 0 0 0.25rem;
    color: var(--client-muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-profile-stat strong {
    display: block;
    overflow: hidden;
    color: var(--client-dark);
    font-size: 0.95rem;
    font-weight: 900;
    text-overflow: ellipsis;
}

.client-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 1rem;
}

.client-profile-main,
.client-profile-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1rem;
}

.client-profile-card {
    overflow: hidden;
    border: 1px solid rgba(173, 179, 181, 0.28);
    border-radius: 10px;
    background: var(--client-surface-lowest);
    box-shadow: var(--client-shadow);
}

.client-profile-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(173, 179, 181, 0.18);
    background: var(--client-surface-low);
}

.client-profile-card__head h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--client-dark);
    font-size: 0.9rem;
    font-weight: 900;
}

.client-profile-card__head span {
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    background: rgba(173, 179, 181, 0.18);
    color: var(--client-muted);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.client-profile-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
    padding: 1rem;
}

.client-profile-fields p,
.client-profile-side-list p,
.client-profile-note p,
.client-profile-side-list a {
    margin: 0;
    color: var(--client-dark);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.client-profile-side-list a {
    color: var(--client-primary);
    text-decoration: none;
}

.client-profile-field--wide {
    grid-column: 1 / -1;
}

.client-profile-empty {
    color: #98a1a9 !important;
    font-style: italic;
    font-weight: 600 !important;
}

.client-profile-timeline,
.client-profile-visits,
.client-profile-commercials,
.client-profile-side-list {
    padding: 1rem;
}

.client-profile-timeline article,
.client-profile-visits article,
.client-profile-commercials article {
    display: flex;
    gap: 0.9rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(173, 179, 181, 0.18);
}

.client-profile-timeline article:last-child,
.client-profile-visits article:last-child,
.client-profile-commercials article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.client-profile-timeline__badge {
    align-self: flex-start;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--timeline-color, var(--client-primary));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;
}

.client-profile-timeline__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.client-profile-timeline__top strong,
.client-profile-visits strong,
.client-profile-commercials strong {
    color: var(--client-dark);
    font-size: 0.88rem;
    font-weight: 900;
}

.client-profile-timeline__top span,
.client-profile-timeline p,
.client-profile-visits p,
.client-profile-commercials p {
    margin: 0;
    color: var(--client-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.client-profile-timeline em {
    display: inline-flex;
    margin-left: 0.45rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--client-surface-low);
    color: var(--client-muted);
    font-style: normal;
    font-weight: 800;
}

.client-profile-visits article {
    justify-content: space-between;
    align-items: flex-start;
}

.client-profile-visits a {
    flex: 0 0 auto;
    padding: 0.32rem 0.65rem;
    border: 1px solid rgba(173, 179, 181, 0.36);
    border-radius: 8px;
    color: var(--client-muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
}

.client-profile-commercials article {
    align-items: center;
}

.client-profile-commercials article > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(186, 30, 30, 0.08);
    color: var(--client-primary);
    font-weight: 900;
}

.client-profile-note {
    margin: 0 1rem 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(173, 179, 181, 0.18);
}

.client-profile-side-list {
    display: grid;
    gap: 1rem;
}

@media (max-width: 1199.98px) {
    .client-profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .client-profile-hero {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .client-profile-identity {
        align-items: flex-start;
    }

    .client-profile-hero-actions {
        justify-content: stretch;
    }

    .client-profile-action,
    .client-profile-contact-actions a,
    .client-profile-contact-actions button {
        flex: 1 1 0;
    }

    .client-profile-stats,
    .client-profile-fields {
        grid-template-columns: 1fr;
    }

    .client-profile-field--wide {
        grid-column: auto;
    }

    .client-profile-timeline article {
        flex-direction: column;
    }

    .client-profile-timeline__top {
        flex-direction: column;
        gap: 0.2rem;
    }

    .client-profile-card__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 1199.98px) {
    .statistics-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .statistics-filter-field--project,
    .statistics-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .statistics-filter-card {
        padding: 0.85rem;
    }

    .statistics-filter-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .statistics-filter-form {
        grid-template-columns: 1fr;
    }

    .statistics-filter-actions,
    .statistics-filter-field--project {
        grid-column: auto;
    }

    .statistics-filter-submit,
    .statistics-filter-clear {
        flex: 1;
    }
}

@media (max-width: 767.98px) {
    .complaint-show-page {
        padding: 0;
    }

    .complaint-show-header {
        flex-direction: column;
    }

    .complaint-show-title span {
        display: block;
        margin: 0.35rem 0 0;
    }

    .complaint-show-details {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .complaint-chat-card {
        min-height: 520px;
    }

    .complaint-chat-message {
        max-width: 92%;
    }

    .complaint-chat-head,
    .complaint-show-card__head--inline {
        align-items: flex-start;
        flex-direction: column;
    }
}

.notification-dropdown {
    width: min(360px, calc(100vw - 1.5rem));
}

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

.notification-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    white-space: normal;
    border-bottom: 1px solid #edf0f2;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-dot {
    width: 0.55rem;
    height: 0.55rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #b00020;
}

.notification-content,
.notification-title,
.notification-body,
.notification-time {
    display: block;
    min-width: 0;
}

.notification-title {
    color: #191c1d;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.25;
}

.notification-body {
    margin-top: 0.2rem;
    color: #64707a;
    font-size: 0.75rem;
    line-height: 1.25;
}

.notification-time {
    margin-top: 0.35rem;
    color: #98a1a9;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
}

.property-view {
    --pv-primary: var(--entry-primary);
    --pv-primary-fixed: var(--entry-primary-fixed);
    --pv-on-surface: var(--entry-on-surface);
    --pv-on-surface-variant: var(--entry-on-surface-variant);
    --pv-outline: var(--entry-outline-variant);
    --pv-surface: var(--entry-surface);
    --pv-surface-container: var(--entry-surface-container);
    --pv-surface-low: var(--entry-surface-container-low);
    --pv-surface-lowest: var(--entry-surface-container-lowest);
    --pv-surface-high: var(--entry-surface-container-high);
    --pv-shadow: 0 12px 32px rgba(25, 28, 30, 0.04);
    --pv-shadow-strong: 0 18px 40px rgba(25, 28, 30, 0.06);
    color: var(--pv-on-surface);
    font-family: 'Inter', sans-serif;
}

.property-view h1,
.property-view h2,
.property-view h3,
.property-view__topnav a {
    font-family: 'Manrope', sans-serif;
}

.property-view__canvas {
    display: grid;
    gap: 2.5rem;
}

.property-view__topbar {
    min-height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.property-view__search {
    position: relative;
    width: 100%;
    max-width: 20rem;
}

.property-view__search svg {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pv-on-surface-variant);
    pointer-events: none;
}

.property-view__search input {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 999px;
    background: var(--pv-surface-high);
    color: var(--pv-on-surface);
    font-size: 0.875rem;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
}

.property-view__topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.property-view__topnav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.property-view__hero,
.property-view__hero__ {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--pv-surface-low);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.property-view__hero-copy {
    display: grid;
    gap: 0.55rem;
}

.property-view__hero-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.property-view__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-view__badge--available {
    background: rgba(90, 96, 98, 0.14);
    color: var(--pv-on-surface-variant);
}

.property-view__badge--sold {
    background: rgba(186, 30, 30, 0.12);
    color: var(--pv-primary);
}

.property-view__badge--blocked {
    background: var(--pv-primary);
    color: #fff;
}

.property-view__hero-top span:last-child {
    color: rgba(90, 96, 98, 0.75);
    font-size: 0.78rem;
    font-weight: 600;
}

.property-view__hero-title {
    margin: 0;
    color: var(--pv-on-surface);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.property-view__hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.82rem;
}

.property-view__hero-price {
    text-align: right;
}

.property-view__hero-price p {
    margin: 0;
}

.property-view__hero-price p:first-child {
    color: var(--pv-on-surface-variant);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.property-view__hero-price p:last-child {
    color: var(--pv-primary-fixed);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    font-weight: 900;
    line-height: 1;
}

.property-view__hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.property-view__hero-stat {
    min-width: 9rem;
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(173, 179, 181, 0.2);
    box-shadow: var(--pv-shadow);
}

.property-view__hero-stat p {
    margin: 0;
}

.property-view__hero-stat p:first-child {
    margin-bottom: 0.4rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-view__hero-stat p:last-child {
    color: var(--pv-on-surface);
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.property-view__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
}

.property-view__grid--project {
    align-items: start;
}

.property-view__column {
    display: grid;
    gap: 2rem;
}

.property-view__card,
.property-view__soft-section,
.property-view__map {
    border-radius: 0.75rem;
    box-shadow: var(--pv-shadow);
}

.property-view__card {
    background: var(--pv-surface-lowest);
    padding: 2rem;
}

.property-view__soft-section {
    background: var(--pv-surface-low);
    overflow: hidden;
}

.property-view__soft-section--tabs {
    margin-top: 0;
}

.property-view__soft-section-inner {
    padding: 2rem;
}

.property-view__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.property-view__section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--pv-on-surface);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.property-view__section-title::before {
    content: '';
    width: 0.28rem;
    height: 1.1rem;
    border-radius: 999px;
    background: var(--pv-primary);
    display: inline-block;
}

.property-view__edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--pv-primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

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

.property-view__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.property-view__details-groups {
    display: grid;
    gap: 1.5rem;
}

.property-view__group {
    display: grid;
    gap: 1rem;
}

.property-view__group + .property-view__group {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(173, 179, 181, 0.35);
}

.property-view__group-title {
    margin: 0;
    color: var(--pv-on-surface);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.property-view__group-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.property-view__metric {
    display: grid;
    gap: 0.2rem;
}

.property-view__metric-label {
    color: var(--pv-on-surface-variant);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-view__metric-value {
    color: var(--pv-on-surface);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.property-view__table-wrap {
    background: var(--pv-surface-lowest);
    border-radius: 0.5rem;
    overflow: auto;
}

.property-view__table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    text-align: left;
}

.property-view__table thead {
    background: var(--pv-surface-high);
}

.property-view__table th {
    padding: 1rem 1.5rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.property-view__table td {
    padding: 1.25rem 1.5rem;
    color: var(--pv-on-surface-variant);
    border-top: 1px solid var(--pv-surface-low);
    font-size: 0.82rem;
}

.property-view__table td:first-child {
    color: var(--pv-on-surface);
    font-weight: 800;
}

.property-view__table td:last-child {
    font-weight: 800;
}

.property-view__table tbody tr:hover {
    background: rgba(186, 30, 30, 0.04);
}

.property-view__timeline {
    display: grid;
    gap: 1rem;
}

.property-view__timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.property-view__timeline-dot {
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: var(--pv-primary);
    box-shadow: 0 0 0 6px rgba(186, 30, 30, 0.10);
}

.property-view__timeline-card {
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background: var(--pv-surface-lowest);
    border: 1px solid rgba(173, 179, 181, 0.25);
}

.property-view__timeline-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.property-view__timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(186, 30, 30, 0.08);
    color: var(--pv-primary);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-view__timeline-date {
    color: var(--pv-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 700;
}

.property-view__timeline-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
    margin-bottom: 0.4rem;
}

.property-view__timeline-title strong {
    color: var(--pv-on-surface);
    font-size: 0.86rem;
    font-weight: 800;
}

.property-view__timeline-title span {
    color: var(--pv-on-surface-variant);
    font-size: 0.78rem;
    font-weight: 700;
}

.property-view__timeline-comment,
.property-view__timeline-meta {
    color: var(--pv-on-surface-variant);
    font-size: 0.78rem;
    line-height: 1.5;
}

.property-view__timeline-empty {
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background: var(--pv-surface-lowest);
    border: 1px dashed rgba(173, 179, 181, 0.5);
    color: var(--pv-on-surface-variant);
    font-weight: 700;
}

.property-view__commercial {
    display: grid;
    gap: 2rem;
}

.property-view__commercial-list {
    display: grid;
    gap: 1.5rem;
}

.property-view__commercial-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--pv-surface-low);
}

.property-view__commercial-row span:first-child,
.property-view__notes-label {
    color: var(--pv-on-surface-variant);
    font-size: 0.82rem;
    font-weight: 600;
}

.property-view__commercial-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.property-view__commercial-badge--available {
    background: rgba(90, 96, 98, 0.14);
    color: var(--pv-on-surface-variant);
}

.property-view__commercial-badge--sold {
    background: rgba(186, 30, 30, 0.12);
    color: var(--pv-primary);
}

.property-view__commercial-badge--blocked {
    background: var(--pv-primary);
    color: #fff;
}

.property-view__commercial-state {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pv-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.property-view__commercial-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
}

.property-view__notes {
    display: grid;
    gap: 0.75rem;
}

.property-view__notes-box {
    padding: 1rem;
    border-radius: 0.5rem;
    background: var(--pv-surface-low);
    color: var(--pv-on-surface-variant);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
}

.property-view__cta {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.82rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: none;
    background: var(--pv-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(186, 30, 30, 0.16);
}

.property-view__map {
    position: relative;
    min-height: 16rem;
    overflow: hidden;
    background: linear-gradient(135deg, #dbe2e5 0%, #eef2f4 35%, #d2dadf 100%);
}

.property-view__map--project {
    min-height: 20rem;
}

.property-view__map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.property-view__map-pin {
    position: absolute;
    top: 34%;
    left: 57%;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: var(--pv-primary);
    box-shadow: 0 0 0 8px rgba(186, 30, 30, 0.18);
    z-index: 1;
}

.property-view__map-copy {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    color: #fff;
}

.property-view__map-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(45, 51, 53, 0) 0%, rgba(45, 51, 53, 0.72) 100%);
}

.property-view__map-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.9rem;
}

.property-view__map-subtitle {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
}

.property-view__map-btn {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.property-view__map-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.property-view__map-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    color: var(--pv-on-surface-variant);
    font-weight: 700;
    z-index: 1;
}

.property-view__document-list {
    display: grid;
    gap: 0.75rem;
}

.property-view__document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
    background: var(--pv-surface-low);
    color: var(--pv-on-surface);
    text-decoration: none;
}

.property-view__document-item:hover {
    background: var(--pv-surface-high);
    color: var(--pv-primary);
}

.property-view__document-main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.property-view__document-name {
    font-weight: 800;
    color: inherit;
    word-break: break-word;
}

.property-view__document-meta {
    flex-shrink: 0;
    color: var(--pv-on-surface-variant);
    font-size: 0.8rem;
    font-weight: 700;
}

.property-view__tabs {
    margin-bottom: 2rem;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.property-view__tabs .nav-item {
    /* margin-bottom: -1px; */
    flex-shrink: 0;
}

.property-view__tabs .nav-link {
    border: none;
    border-bottom: 4px solid transparent;
    border-radius: 0;
    padding: 0 0.5rem 1rem;
    margin-right: 0;
    background: transparent;
    color: var(--pv-on-surface-variant);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.property-view__tabs .nav-link:hover,
.property-view__tabs .nav-link:focus {
    border-color: transparent;
    color: var(--pv-primary);
}

.property-view__tabs .nav-link.active {
    border: none;
    border-bottom: 4px solid var(--pv-primary);
    background: transparent !important;
    color: var(--pv-primary);
    font-weight: 800;
}

.property-view__tab-content {
    min-width: 0;
}

.property-view__tab-head {
    margin-bottom: 1.25rem;
}

.property-view__datatable-wrap {
    padding: 0 1rem 1rem;
}

.property-view__datatable-wrap .table-responsive {
    padding-top: 0 !important;
}

.property-view__datatable-wrap table {
    width: 100% !important;
}

.property-view__card--project-kpis {
    padding: 1.75rem;
}

.property-view__project-kpis {
    display: grid;
    gap: 1rem;
}

.property-view__project-kpi {
    padding: 1.25rem 1.25rem 1.1rem;
    border-radius: 0.75rem;
    background: var(--pv-surface-lowest);
    border-left: 4px solid var(--pv-primary);
    box-shadow: var(--pv-shadow);
}

.property-view__project-kpi-label,
.property-view__project-kpi-value,
.property-view__project-kpi-meta {
    margin: 0;
}

.property-view__project-kpi-label {
    margin-bottom: 0.35rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-view__project-kpi-value {
    color: var(--pv-on-surface);
    font-family: 'Manrope', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
}

.property-view__project-kpi-meta {
    margin-top: 0.25rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.82rem;
    font-weight: 700;
}

.property-view__project-kpi--primary {
    border-left-color: var(--pv-primary);
}

.property-view__project-kpi--accent {
    border-left-color: var(--pv-primary-fixed);
}

.property-view__project-kpi--neutral {
    border-left-color: var(--pv-on-surface-variant);
}

.property-view__project-kpi-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.9rem;
    color: var(--pv-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-view__project-kpi-progress {
    width: 100%;
    height: 0.45rem;
    margin-top: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pv-surface-high);
}

.property-view__project-kpi-progress-bar {
    height: 100%;
    border-radius: inherit;
}

.property-view__project-kpi-progress-bar--primary {
    background: var(--pv-primary);
}

.property-view__project-kpi-progress-bar--accent {
    background: var(--pv-primary-fixed);
}

.property-view__project-kpi-progress-bar--neutral {
    background: var(--pv-on-surface-variant);
}

/* Project show compact readability layer. */
.property-view--project {
    font-size: 0.875rem;
}

.property-view--project .property-view__canvas {
    gap: 1.5rem;
}

.property-view--project .row.g-4 {
    --bs-gutter-y: 1.25rem;
}

.property-view--project .property-view__hero {
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
}

.property-view--project .property-view__hero-copy {
    gap: 0.4rem;
}

.property-view--project .property-view__hero-top {
    gap: 0.55rem;
}

.property-view--project .property-view__badge {
    padding: 0.3rem 0.65rem;
    font-size: 0.68rem;
}

.property-view--project .property-view__hero-top span:last-child {
    font-size: 0.8rem;
}

.property-view--project .property-view__hero-title {
    max-width: 52rem;
    font-size: 1.7rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.property-view--project .property-view__hero-location {
    font-size: 0.85rem;
    line-height: 1.5;
}

.property-view--project .property-view__hero-stats {
    gap: 0.75rem;
}

.property-view--project .property-view__hero-stat {
    min-width: 7.5rem;
    padding: 0.75rem 0.85rem;
}

.property-view--project .property-view__hero-stat p:first-child {
    margin-bottom: 0.25rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
}

.property-view--project .property-view__hero-stat p:last-child {
    font-size: 0.95rem;
    line-height: 1.25;
}

.property-view--project .property-view__card,
.property-view--project .property-view__soft-section-inner {
    padding: 1.35rem;
}

.property-view--project .property-view__card--project-kpis {
    padding: 1.35rem;
}

.property-view--project .property-view__section-head {
    margin-bottom: 1.2rem;
}

.property-view--project .property-view__section-title {
    gap: 0.55rem;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0;
}

.property-view--project .property-view__section-title::before {
    width: 0.28rem;
    height: 1.15rem;
}

.property-view--project .property-view__edit-link {
    font-size: 0.82rem;
}

.property-view--project .property-view__details-groups {
    gap: 1.05rem;
}

.property-view--project .property-view__group {
    gap: 0.75rem;
}

.property-view--project .property-view__group + .property-view__group {
    padding-top: 1.05rem;
}

.property-view--project .property-view__group-title {
    font-size: 0.84rem;
}

.property-view--project .property-view__group-items {
    gap: 0.8rem 1rem;
}

.property-view--project .property-view__metric {
    gap: 0.15rem;
}

.property-view--project .property-view__metric-label {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
}

.property-view--project .property-view__metric-value {
    font-size: 0.88rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.property-view--project .property-view__project-kpi {
    padding: 1rem;
}

.property-view--project .property-view__project-kpi-label {
    margin-bottom: 0.25rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
}

.property-view--project .property-view__project-kpi-value {
    font-size: 1.25rem;
    line-height: 1.25;
}

.property-view--project .property-view__project-kpi-meta {
    font-size: 0.78rem;
}

.property-view--project .property-view__project-kpi-progress-head {
    margin-top: 0.75rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
}

.property-view--project .property-view__project-kpi-progress {
    height: 0.35rem;
    margin-top: 0.5rem;
}

.property-view--project .property-view__tabs {
    margin-bottom: 1.25rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(173, 179, 181, 0.22);
}

.property-view--project .property-view__tabs .nav-link {
    padding: 0 0.45rem 0.7rem;
    font-size: 0.85rem;
}

.property-view--project .property-view__soft-section--tabs {
    background: var(--pv-surface-lowest);
}

.property-view--project .property-view__soft-section--tabs .property-view__soft-section-inner {
    padding: 1.25rem;
}

.property-view--project .property-view__tab-head {
    margin-bottom: 1rem;
}

.property-view--project .property-view__datatable-wrap {
    padding: 0 0.75rem 0.75rem;
}

.property-view--project .property-view__table th,
.property-view--project .property-view__datatable-wrap .table th {
    padding: 0.7rem 0.85rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
}

.property-view--project .property-view__table td,
.property-view--project .property-view__datatable-wrap .table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.45;
}

.property-view--project .property-view__datatable-wrap .dataTables_wrapper,
.property-view--project .property-view__datatable-wrap .dataTables_length,
.property-view--project .property-view__datatable-wrap .dataTables_filter,
.property-view--project .property-view__datatable-wrap .dataTables_info,
.property-view--project .property-view__datatable-wrap .dataTables_paginate,
.property-view--project .property-view__datatable-wrap .dt-buttons {
    font-size: 0.8rem;
}

.property-view--project .property-view__datatable-wrap .form-control,
.property-view--project .property-view__datatable-wrap .form-select,
.property-view--project .property-view__datatable-wrap .btn,
.property-view--project .property-view__datatable-wrap .dt-button {
    font-size: 0.8rem;
}

.property-view--project .property-view__map--project {
    min-height: 16rem;
}

.property-view--project .property-view__map-title {
    font-size: 0.9rem;
}

.property-view--project .property-view__map-subtitle,
.property-view--project .property-view__map-btn,
.property-view--project .property-view__map-empty {
    font-size: 0.8rem;
}

.property-view--project .card {
    border-radius: 0.75rem;
}

.property-view--project .card-body {
    padding: 1.1rem;
}

.property-view--project .card-header {
    padding: 0.8rem 1rem;
}

.property-view--project .card-title {
    font-size: 1rem;
    line-height: 1.3;
}

.property-view--project .btn {
    font-size: 0.82rem;
}

.property-view--project .modal-title {
    font-size: 1rem;
}

.property-view--project .form-group label,
.property-view--project .form-control {
    font-size: 0.85rem;
}

.property-view__footer {
    padding-top: 2rem;
    border-top: 1px solid var(--pv-surface-high);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.property-view__footer-meta {
    color: var(--pv-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.property-view__footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--pv-on-surface-variant);
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.property-view__footer-btn:hover {
    background: var(--pv-surface-high);
}

@media (max-width: 1199.98px) {
    .property-view__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .property-view__canvas {
        padding: 1.5rem;
    }

    .property-view__topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .property-view__topbar-right {
        margin-left: 0;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .property-view__topnav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .property-view__hero-price {
        text-align: left;
    }

    .property-view__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

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

@media (max-width: 575.98px) {
    .property-view__canvas {
        padding: 1rem 0;
    }

    .property-view__hero,
    .property-view__hero__,
    .property-view__card,
    .property-view__soft-section-inner {
        padding: 1.25rem;
    }

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

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

    .property-view__hero-stats {
        justify-content: stretch;
    }

    .property-view__hero-stat {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .property-view--project .property-view__canvas {
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .property-view--project .property-view__hero,
    .property-view--project .property-view__card,
    .property-view--project .property-view__soft-section-inner {
        padding: 1rem;
    }

    .property-view--project .property-view__hero-title {
        font-size: 1.35rem;
    }

    .property-view--project .property-view__section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .property-view--project .property-view__section-title {
        font-size: 0.95rem;
    }

    .property-view--project .property-view__project-kpi-value {
        font-size: 1.15rem;
    }

    .property-view--project .card-body {
        padding: 0.9rem;
    }

    .property-view--project .card-header {
        padding: 0.75rem 0.85rem;
    }
}

.card {
    background-color: white;
}

.card-header-style {
    color: white;
    margin-inline: -8px;
    background-color: #bb2820 !important;
}

#group-phones {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

#group-emails {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.repeater-item {
    position: relative;
}

.repeater-item .btn-delete {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}


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

.prospect-stat-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 120px;
    isolation: isolate;
    animation: card-rise 0.6s ease forwards;
    opacity: 0;
}

.prospect-stat-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--accent-soft, rgba(237, 28, 36, 0.2)) 0%, transparent 70%);
    z-index: 0;
}

.prospect-stat-card::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 42px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent, #ed1c24), rgba(15, 23, 42, 0.1));
    z-index: 0;
}

.prospect-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.prospect-stat-card .card-body {
    position: relative;
    z-index: 1;
    padding: 22px 22px 28px;
}

.prospect-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: rgba(15, 23, 42, 0.04);
    padding: 6px 10px;
    border-radius: 999px;
}

.prospect-stat-label span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #ed1c24);
    display: inline-block;
}

.prospect-stat-value {
    margin-top: 14px;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.prospect-stat-hint {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

@keyframes card-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .prospect-stat-card {
        animation: none;
        opacity: 1;
    }

    .prospect-stat-card:hover {
        transform: none;
    }
}

:root {
    --entry-primary: #ba1e1e;
    --entry-primary-fixed: #fd5046;
    --entry-on-surface: #2d3335;
    --entry-on-surface-variant: #5a6062;
    --entry-outline-variant: #adb3b5;
    --entry-surface: #f8f9fa;
    --entry-surface-container: #ebeef0;
    --entry-surface-container-low: #f1f4f5;
    --entry-surface-container-lowest: #ffffff;
    --entry-surface-container-high: #e5e9eb;
    --entry-surface-container-highest: #dee3e6;
}

.page-breadcrumb {
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.page-breadcrumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: var(--entry-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-breadcrumb-trail > * {
    display: inline-flex;
    align-items: center;
}

.page-breadcrumb-trail > * + *::before {
    content: "/";
    margin-right: 0.45rem;
    color: var(--entry-on-surface-variant);
}

.page-breadcrumb-trail a {
    color: var(--entry-on-surface-variant);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

.page-breadcrumb-trail a:hover {
    color: var(--entry-primary);
}

.page-breadcrumb-trail > span:last-child {
    color: var(--entry-primary) !important;
}

.client-entry-page {
    color: var(--entry-on-surface);
    font-family: "Inter", sans-serif;
}

.client-entry-page .grid-margin {
    margin-bottom: 0;
}

.client-entry-page .client-form-shell {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.client-entry-page .client-form-shell__body {
    /* max-width: auto; */
    margin: 0 80px;
    padding: 1.5rem 1rem;
}

.client-entry-page .client-form-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.client-entry-page .client-form-page-kicker {
    display: inline-block;
    margin-bottom: 0.25rem;
    color: var(--entry-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.client-entry-page .client-form-page-title {
    margin: 0;
    color: var(--entry-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0;
}

.client-entry-page .client-form-page-code {
    min-width: 170px;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    background: var(--entry-surface-container-highest);
    text-align: left;
}

.client-entry-page .client-form-page-code span {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--entry-on-surface-variant);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-entry-page .client-form-page-code strong {
    color: var(--entry-primary);
    font-family: "Manrope", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
}

.client-entry-page .client-form {
    row-gap: 0;
}

.client-entry-page .client-form-intro {
    margin: 0 0 1.75rem;
    padding: 1.25rem;
    border-radius: 8px;
    background: var(--entry-surface-container-low);
}

.client-entry-page .client-form-intro > [class*="col-"] {
    margin-bottom: 0;
}

.client-entry-page .client-choice-group {
    display: flex;
    gap: 0.75rem;
}

.client-entry-page .client-choice-group--compact {
    gap: 0.5rem;
}

.client-entry-page .client-form-section {
    margin-bottom: 1.75rem !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.client-entry-page .client-form-section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.client-entry-page .client-form-section-heading::before,
.client-entry-page .client-form-section-heading::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: rgba(173, 179, 181, 0.2);
}

.client-entry-page .client-form-section-heading--start::before {
    flex: 0 0 auto;
    width: 0;
}

.client-entry-page .client-form-section-heading span {
    color: var(--entry-on-surface-variant);
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.client-entry-page .client-form-section .card-body {
    padding: 0;
}

.client-entry-page .form-label {
    margin-bottom: 0.35rem;
    margin-left: 0.15rem;
    color: var(--entry-on-surface-variant);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-entry-page .form-control,
.client-entry-page .form-select,
.client-entry-page .select2-container--default .select2-selection--single,
.client-entry-page .input-group-text {
    min-height: 46px;
    border: 0;
    border-radius: 8px !important;
    background: var(--entry-surface-container-low);
    box-shadow: none;
}

.client-entry-page .form-control,
.client-entry-page .form-select {
    padding: 0.75rem 0.85rem;
    color: var(--entry-on-surface);
    font-size: 0.82rem;
    font-weight: 400;
}

.client-entry-page .form-control:focus,
.client-entry-page .form-select:focus,
.client-entry-page .select2-container--default.select2-container--focus .select2-selection--single,
.client-entry-page .select2-container--default.select2-container--open .select2-selection--single {
    background: var(--entry-surface-container-low);
    box-shadow: 0 0 0 0.25rem rgba(186, 30, 30, 0.12);
}

.client-entry-page .flatpickr-date .form-control {
    border-right: 0;
    border-radius: 8px 0 0 8px !important;
}

.client-entry-page .flatpickr-date .input-group-text {
    border-left: 0;
    border-radius: 0 8px 8px 0 !important;
    color: var(--entry-on-surface-variant);
}

.client-entry-page .select2-container {
    width: 100% !important;
}

.client-entry-page .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 0.85rem;
}

.client-entry-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    color: var(--entry-on-surface);
    line-height: 46px;
    padding-right: 2rem;
}

.client-entry-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 10px;
}

.client-entry-page .form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    flex: 1 1 0;
    margin: 0;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--entry-surface-container-lowest);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.client-entry-page .form-check-inline:has(.form-check-input:checked) {
    border-color: var(--entry-primary);
    background: rgba(186, 30, 30, 0.05);
}

.client-entry-page .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.client-entry-page .form-check-label {
    color: var(--entry-on-surface);
    font-size: 0.8rem;
    font-weight: 500;
}

.client-entry-page .client-choice-card {
    min-height: 46px;
    padding: 0.7rem 0.9rem;
}

.client-entry-page .client-choice-card--compact {
    min-height: 44px;
    padding: 0.7rem;
}

.client-entry-page .client-form-three-up > [class*="col-"] {
    margin-bottom: 0;
}

.client-entry-page .invalid-feedback {
    font-size: 0.7rem;
}

.client-entry-page .client-form-section--soft .card-body,
.client-entry-page .client-form-section--panel .card-body {
    padding: 1.25rem;
    border-radius: 10px;
    background: var(--entry-surface-container-lowest);
}

.client-entry-page .client-form-section--soft .card-body {
    background: var(--entry-surface-container-low);
}

.client-entry-page .client-form-section--social .form-control {
    background: var(--entry-surface-container-lowest);
}

.client-entry-page .client-form-section--contact .card-body {
    padding: 0;
}

.client-entry-page .client-form-bento {
    align-items: start;
    margin-bottom: 1.5rem;
}

.client-entry-page .client-form-actions {
    margin-top: 0;
}

.client-entry-page .client-form-actions__buttons {
    justify-content: flex-end;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(173, 179, 181, 0.2);
}

.client-entry-page .client-form-submit,
.client-entry-page .client-form-reset {
    min-width: 150px;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: none;
}

.client-entry-page .client-form-submit {
    color: #fff;
    background: linear-gradient(90deg, var(--entry-primary), var(--entry-primary-fixed));
}

.client-entry-page .client-form-reset {
    background: var(--entry-surface-container);
    color: var(--entry-on-surface-variant);
}

.client-entry-page .client-form-submit:hover,
.client-entry-page .client-form-reset:hover {
    box-shadow: 0 10px 22px rgba(186, 30, 30, 0.12);
}

.client-entry-page .company-info .col-md-4,
.client-entry-page .individual-info .col-md-4,
.client-entry-page .individual-info .col-md-6,
.client-entry-page .client-form-section .col-md-3,
.client-entry-page .client-form-section .col-md-12,
.client-entry-page .client-form-section .col-md-6 {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .client-entry-page .client-form-shell__body {
         margin: 0px;
        padding: 1.25rem 0.75rem;
    }

    .client-entry-page .client-form-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-entry-page .client-form-intro {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .client-entry-page .client-form-page-title {
        font-size: 1.35rem;
    }

    .client-entry-page .client-form-intro,
    .client-entry-page .client-form-section--soft .card-body,
    .client-entry-page .client-form-section--panel .card-body {
        padding: 1rem;
    }

    .client-entry-page .client-form-actions__buttons {
        justify-content: stretch;
    }

    .client-entry-page .form-check-inline,
    .client-entry-page .client-form-submit,
    .client-entry-page .client-form-reset {
        width: 100%;
    }

    .client-entry-page .client-choice-group {
        flex-direction: column;
    }
}

.offer-entry-page {
    font-family: "Inter", sans-serif;
    color: var(--entry-on-surface);
    overflow-x: clip;
}

.offer-entry-shell {
    /* margin: 0 80px; */
    padding: 2rem 1rem 6rem;
}

.offer-entry-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.offer-entry-breadcrumb {
    margin-bottom: 0.5rem;
    color: var(--entry-on-surface-variant);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.offer-entry-breadcrumb span {
    color: var(--entry-primary);
}

.offer-entry-title {
    margin: 0;
    color: var(--entry-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.offer-entry-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.offer-entry-reference {
    text-align: right;
}

.offer-entry-reference span {
    display: block;
    color: var(--entry-on-surface-variant);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-entry-reference strong {
    color: var(--entry-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.offer-entry-form {
    row-gap: 0;
    min-width: 0;
}

.offer-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 2rem;
}

.offer-main-column,
.offer-side-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.offer-panel {
    padding: 2rem;
    border-radius: 16px;
    background: var(--entry-surface-container-lowest);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.offer-panel-accent {
    border-top: 4px solid var(--entry-primary);
}

.offer-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.offer-panel-heading span {
    width: 32px;
    height: 2px;
    background: var(--entry-primary);
}

.offer-panel-heading h3,
.offer-side-heading {
    margin: 0;
    color: var(--entry-primary);
    font-family: "Manrope", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-side-heading {
    color: var(--entry-on-surface);
    margin-bottom: 1.25rem;
}

.offer-panel-heading-between {
    justify-content: space-between;
}

.offer-panel-heading-start {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.offer-panel-body {
    min-width: 0;
}

.offer-two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.offer-three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.offer-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.offer-field {
    min-width: 0;
}

.offer-entry-page .input-group {
    flex-wrap: nowrap;
}

.offer-field-full {
    grid-column: 1 / -1;
}

.offer-entry-page .form-label {
    margin-bottom: 0.45rem;
    margin-left: 0.2rem;
    color: var(--entry-on-surface-variant);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.offer-entry-page .form-control,
.offer-entry-page .form-select,
.offer-entry-page .select2-container--default .select2-selection--single,
.offer-entry-page .select2-container--default .select2-selection--multiple,
.offer-entry-page .input-group-text,
.offer-entry-page textarea,
.offer-entry-page .dropify-wrapper {
    border: 0;
    border-radius: 10px !important;
    background: var(--entry-surface-container-low);
    box-shadow: none;
}

.offer-entry-page .form-control,
.offer-entry-page .form-select,
.offer-entry-page .select2-container--default .select2-selection--single,
.offer-entry-page .select2-container--default .select2-selection--multiple {
    min-height: 48px;
    padding: 0.85rem 1rem;
    color: var(--entry-on-surface);
    font-size: 0.92rem;
}

.offer-entry-page .form-control:focus,
.offer-entry-page .form-select:focus,
.offer-entry-page textarea:focus,
.offer-entry-page .select2-container--default.select2-container--focus .select2-selection--single,
.offer-entry-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.offer-entry-page .select2-container--default.select2-container--open .select2-selection--single {
    background: var(--entry-surface-container-low);
    box-shadow: 0 0 0 0.25rem rgba(186, 30, 30, 0.12);
}

.offer-entry-page .was-validated .form-select:invalid,
.offer-entry-page .was-validated .form-select:valid,
.offer-entry-page .form-select.is-invalid {
    border-color: #ff3366;
    padding-right: 1rem;
    background-image: none !important;
    background-repeat: no-repeat !important;
}

.offer-entry-page .was-validated .form-control:invalid,
.offer-entry-page .was-validated .form-control:valid,
.offer-entry-page .form-control.is-invalid,
.offer-entry-page .was-validated textarea.form-control:invalid,
.offer-entry-page .was-validated textarea.form-control:valid,
.offer-entry-page textarea.form-control.is-invalid {
    border-color: #ff3366;
    padding-right: 1rem;
    background-image: none !important;
    background-repeat: no-repeat !important;
}

.offer-entry-page .was-validated .form-select:invalid:focus,
.offer-entry-page .was-validated .form-select:valid:focus,
.offer-entry-page .form-select.is-invalid:focus {
    border-color: #ff3366;
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.12);
}

.offer-entry-page .was-validated .form-control:invalid:focus,
.offer-entry-page .was-validated .form-control:valid:focus,
.offer-entry-page .form-control.is-invalid:focus,
.offer-entry-page .was-validated textarea.form-control:invalid:focus,
.offer-entry-page .was-validated textarea.form-control:valid:focus,
.offer-entry-page textarea.form-control.is-invalid:focus {
    border-color: #ff3366;
    box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.12);
}

.offer-entry-page .was-validated .select2-container--default .select2-search--dropdown .select2-search__field:invalid,
.offer-entry-page .was-validated .select2-container--default .select2-search--dropdown .select2-search__field:valid,
.offer-entry-page .select2-container--default .select2-search--dropdown .was-validated .select2-search__field:invalid,
.offer-entry-page .select2-container--default .select2-search--dropdown .was-validated .select2-search__field:valid,
.offer-entry-page .select2-container--default .select2-search--dropdown .is-invalid.select2-search__field,
.offer-entry-page .was-validated .select2-container--default .select2-search--dropdown textarea.select2-search__field:invalid,
.offer-entry-page .was-validated .select2-container--default .select2-search--dropdown textarea.select2-search__field:valid,
.offer-entry-page .select2-container--default .select2-search--dropdown .was-validated textarea.select2-search__field:invalid,
.offer-entry-page .select2-container--default .select2-search--dropdown .was-validated textarea.select2-search__field:valid,
.offer-entry-page .select2-container--default .select2-search--dropdown textarea.is-invalid.select2-search__field,
.offer-entry-page .select2-container .select2-search--inline .select2-search__field {
    padding-right: 0 !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
}

.offer-entry-page .select2-container {
    width: 100% !important;
}

.offer-entry-page .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 1rem;
}

.offer-entry-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 2rem;
    line-height: 48px;
    color: var(--entry-on-surface);
}

.offer-entry-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
    right: 10px;
}

.offer-entry-page .select2-container--default .select2-selection--multiple {
    min-height: 48px;
    padding: 0.35rem 0.5rem;
}

.offer-entry-page .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
}

.offer-entry-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 0;
    max-width: 100%;
    white-space: normal;
}

.offer-entry-page .flatpickr-date .form-control {
    border-radius: 10px 0 0 10px !important;
}

.offer-entry-page .flatpickr-date .input-group-text {
    border-radius: 0 10px 10px 0 !important;
    color: var(--entry-on-surface-variant);
}

.offer-inline-action {
    border: 0;
    border-radius: 999px;
    background: rgba(186, 30, 30, 0.08);
    color: var(--entry-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-table-wrap,
.offer-compact-table {
    overflow: auto;
}

.offer-entry-page .table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
}

.offer-entry-page .table thead th {
    border-bottom-width: 1px;
    color: var(--entry-on-surface-variant);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.offer-entry-page .table td,
.offer-entry-page .table th {
    vertical-align: top;
}

.offer-entry-page .table-bordered > :not(caption) > * {
    border-color: rgba(173, 179, 181, 0.25);
}

.offer-price-caption {
    margin-top: 0.5rem;
    color: var(--entry-on-surface-variant);
    font-size: 0.76rem;
}

.offer-recap-card {
    min-height: 120px;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--entry-primary), var(--entry-primary-fixed));
    color: #fff;
}

.offer-recap-card h3 {
    margin: 0 0 0.75rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-recap-card ul {
    margin: 0;
    padding-left: 1rem;
}

.offer-recap-card li {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
}

.offer-textarea {
    min-height: 160px;
    resize: vertical;
}

.offer-entry-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0 0;
}

.offer-submit-btn,
.offer-reset-btn {
    min-width: 160px;
    padding: 0.95rem 1.4rem;
    border: 0;
    border-radius: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}

.offer-submit-btn {
    background: linear-gradient(90deg, var(--entry-primary), var(--entry-primary-fixed));
}

.offer-reset-btn {
    background: var(--entry-surface-container);
    color: var(--entry-on-surface-variant);
}

@media (max-width: 1199.98px) {
    .offer-entry-grid {
        grid-template-columns: 1fr;
    }

    .offer-side-column {
        order: -1;
    }
}

@media (max-width: 767.98px) {
    .offer-entry-shell {
        padding: 1.5rem 0.75rem 5rem;
    }

    .offer-entry-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .offer-two-col-grid {
        grid-template-columns: 1fr;
    }

    .offer-three-col-grid {
        grid-template-columns: 1fr;
    }

    .offer-panel {
        padding: 1.25rem;
    }

    .offer-panel-heading-between {
        align-items: flex-start;
        flex-direction: column;
    }

    .offer-entry-reference {
        text-align: left;
    }

    .offer-entry-page .table {
        min-width: 560px;
    }

    .offer-entry-page .table td,
    .offer-entry-page .table th {
        min-width: 120px;
    }

    .offer-entry-page .table td:last-child,
    .offer-entry-page .table th:last-child {
        min-width: 72px;
    }

    .offer-entry-page .flatpickr-date .form-control,
    .offer-entry-page .flatpickr-date .input-group-text {
        min-height: 48px;
    }

    .offer-entry-actions {
        position: static;
        flex-direction: column;
        padding-top: 1.25rem;
        background: transparent;
    }

    .offer-submit-btn,
    .offer-reset-btn {
        width: 100%;
    }
}

.announcement-entry-page {
    color: var(--entry-on-surface);
    font-family: "Inter", sans-serif;
}

.announcement-entry-shell {
    margin: 0 80px;
    padding: 1rem 1rem 5rem;
}

.announcement-entry-header {
    margin-bottom: 2rem;
}

.announcement-entry-title {
    margin: 0;
    color: var(--entry-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.announcement-entry-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.announcement-panel {
    position: relative;
    padding: 2rem;
    border-radius: 16px;
    background: var(--entry-surface-container-lowest);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.announcement-panel-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.announcement-panel-bar-primary {
    background: var(--entry-primary);
}

.announcement-panel-bar-secondary {
    background: #51616a;
}

.announcement-panel-bar-tertiary {
    background: #7b5828;
}

.announcement-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.announcement-panel-head h3 {
    margin: 0;
    color: var(--entry-on-surface);
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.announcement-visibility-toggle {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.announcement-visibility-toggle span {
    color: var(--entry-on-surface-variant);
    font-size: 0.92rem;
    font-weight: 500;
}

.announcement-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.announcement-grid-media {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
}

.announcement-field {
    min-width: 0;
}

.announcement-field-full {
    grid-column: 1 / -1;
}

.announcement-entry-page .form-label {
    margin-bottom: 0.5rem;
    color: var(--entry-on-surface-variant);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.announcement-entry-page .form-control,
.announcement-entry-page .form-select,
.announcement-entry-page .dropzone,
.announcement-entry-page .tox-tinymce {
    border: 0;
    border-radius: 12px !important;
    background: var(--entry-surface-container-low);
    box-shadow: none;
}

.announcement-entry-page .form-control,
.announcement-entry-page .form-select {
    min-height: 54px;
    padding: 1rem;
    color: var(--entry-on-surface);
    font-size: 0.92rem;
}

.announcement-entry-page .form-control:focus,
.announcement-entry-page .form-select:focus {
    background: var(--entry-surface-container-low);
    box-shadow: 0 0 0 0.25rem rgba(186, 30, 30, 0.12);
}

.announcement-entry-page .dropzone {
    min-height: 160px;
    padding: 1.5rem;
    border: 2px dashed rgba(173, 179, 181, 0.5);
}

.announcement-entry-page .tox-tinymce {
    overflow: hidden;
}

.announcement-editor {
    min-height: 220px;
}

.announcement-entry-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.announcement-submit-btn,
.announcement-reset-btn {
    min-width: 180px;
    padding: 0.95rem 1.4rem;
    border: 0;
    border-radius: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}

.announcement-submit-btn {
    background: linear-gradient(90deg, var(--entry-primary), var(--entry-primary-fixed));
}

.announcement-reset-btn {
    background: var(--entry-surface-container);
    color: var(--entry-on-surface-variant);
}

@media (max-width: 991.98px) {
    .announcement-grid-general,
    .announcement-grid-location,
    .announcement-grid-media {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .announcement-entry-shell {
         margin: 0px;
        padding: 0.5rem 0.75rem 4rem;
    }

    .announcement-panel {
        padding: 1.35rem;
    }

    .announcement-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .announcement-entry-actions {
        flex-direction: column;
    }

    .announcement-submit-btn,
    .announcement-reset-btn {
        width: 100%;
    }
}

/* ****************************** costum css ********************************************* */
