body {
    background: #f5f7fb;
}

.page-content {
    padding-top: calc(72px + 1.25rem);
}

.page-title-head {
    margin-bottom: 1.5rem;
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-meta-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.page-meta-chip,
.app-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
}

.page-meta-chip {
    background: #fff;
    border: 1px solid rgba(111, 124, 144, 0.16);
    color: #4f5d75;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.page-meta-chip i {
    color: var(--bs-primary);
}

.topbar-search-form {
    min-width: 320px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(111, 124, 144, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #6f7c90;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.topbar-search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font-size: 0.92rem;
}

.topbar-search-form input[readonly] {
    cursor: default;
}

.dropdown-header {
    background: #f8fafc;
}

.sidenav-menu-inner {
    height: calc(100% - 72px);
    overflow-y: auto;
    padding-bottom: 1rem;
}

.app-alert {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.radius-10 {
    border-radius: 1rem !important;
}

.card.radius-10,
.offer-item-card,
.pdf-preview-frame {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: auto -20px -20px auto;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.metric-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    font-size: 1.35rem;
}

.metric-card-primary {
    background: linear-gradient(135deg, #465dff, #6d8bff);
    color: #fff;
}

.metric-card-success {
    background: linear-gradient(135deg, #08b086, #42d39b);
    color: #fff;
}

.metric-card-warning {
    background: linear-gradient(135deg, #f7b84b, #f9d66f);
    color: #1f2937;
}

.metric-card-info {
    background: linear-gradient(135deg, #43c1ff, #667eea);
    color: #fff;
}

.dashboard-shell {
    align-items: flex-start;
}

.dashboard-filter-row,
.dashboard-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-filter-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #64748b;
    font-weight: 600;
}

.dashboard-filter-note i {
    color: var(--bs-primary);
}

.dashboard-date-chip {
    width: auto;
    min-width: 210px;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-date-chip .form-control {
    background: #fff;
}

.dashboard-card,
.dashboard-kpi-card {
    border: 1px solid rgba(111, 124, 144, 0.12);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.dashboard-kpi-card {
    min-height: 100%;
}

.dashboard-kpi-card .card-body {
    padding: 1.15rem 1.1rem;
}

.dashboard-kpi-label {
    color: #8a969c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.dashboard-kpi-main {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.dashboard-kpi-main h3 {
    min-width: 0;
    color: #313a46;
    font-size: 1.65rem;
    line-height: 1.15;
}

.dashboard-kpi-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dashboard-kpi-trend {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #8a969c;
    font-size: 0.8rem;
}

.dashboard-kpi-trend span:first-child {
    font-weight: 700;
}

.dashboard-overview-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(248, 250, 252, 0.95);
    border-top: 1px solid rgba(111, 124, 144, 0.08);
    border-bottom: 1px solid rgba(111, 124, 144, 0.08);
}

.dashboard-overview-stat {
    padding: 0 1rem;
    text-align: center;
    border-right: 1px solid rgba(111, 124, 144, 0.08);
}

.dashboard-overview-stat:last-child {
    border-right: 0;
}

.dashboard-apex-chart {
    min-height: 335px;
}

.dashboard-radial-chart {
    min-height: 280px;
}

.dashboard-source-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
}

.dashboard-sidebar {
    display: grid;
    gap: 1rem;
}

.dashboard-help-alert {
    margin-bottom: 0;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.dashboard-cta-card {
    overflow: hidden;
    border: 0;
    background: linear-gradient(135deg, #465dff 0%, #5f74ff 55%, #708cff 100%);
}

.dashboard-cta-card .card-body {
    background-image: radial-gradient(circle at right bottom, rgba(255, 255, 255, 0.14), transparent 42%);
    background-repeat: no-repeat;
}

.dashboard-activity-scroll {
    max-height: 370px;
    overflow: auto;
}

.dashboard-side-offer {
    padding: 0.15rem 0;
}

.dashboard-side-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.dashboard-portfolio-table td,
.dashboard-offer-table td {
    vertical-align: middle;
}
.status-muted {
    background: #eef2f7;
    color: #526071;
}

.status-warning {
    background: rgba(247, 184, 75, 0.18);
    color: #b96a00;
}

.status-info {
    background: rgba(var(--bs-info-rgb), 0.14);
    color: #1286c5;
}

.status-success {
    background: rgba(var(--bs-success-rgb), 0.14);
    color: var(--bs-success);
}

.status-danger {
    background: rgba(var(--bs-danger-rgb), 0.14);
    color: var(--bs-danger);
}

.status-secondary {
    background: rgba(var(--bs-secondary-rgb), 0.14);
    color: var(--bs-secondary);
}

.form-section-card {
    border: 1px solid rgba(111, 124, 144, 0.14);
    overflow: hidden;
}

.form-section-primary {
    border-top: 4px solid var(--bs-primary);
}

.form-section-success {
    border-top: 4px solid var(--bs-success);
}

.form-section-warning {
    border-top: 4px solid #f7b84b;
}

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

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.form-section-title h5 {
    font-size: 1rem;
}

.form-section-title p {
    font-size: 0.84rem;
}

.form-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-section-primary .form-section-icon {
    background: rgba(var(--bs-primary-rgb), 0.14);
    color: var(--bs-primary);
}

.form-section-success .form-section-icon {
    background: rgba(var(--bs-success-rgb), 0.16);
    color: var(--bs-success);
}

.form-section-warning .form-section-icon {
    background: rgba(247, 184, 75, 0.18);
    color: #d47d00;
}

.login-meta,
.auth-demo-credentials {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(111, 124, 144, 0.24);
    background: #f8fafc;
    color: #526071;
}

.auth-divider {
    position: relative;
    margin-bottom: 1.25rem;
    color: #7b8798;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 88px);
    height: 1px;
    background: rgba(111, 124, 144, 0.18);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.summary-block {
    display: grid;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(111, 124, 144, 0.12);
}

.summary-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.compact-field .form-label {
    margin-bottom: 0.38rem;
    color: #6f7c90;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.compact-field .input-group-text,
.compact-field .form-control,
.compact-field .form-select {
    min-height: 2.3rem;
    font-size: 0.86rem;
}

.compact-field .input-group-text {
    background: #f8fafc;
    border-color: rgba(111, 124, 144, 0.16);
    color: #6f7c90;
    padding-inline: 0.7rem;
}

.compact-field .form-control,
.compact-field .form-select {
    border-color: rgba(111, 124, 144, 0.16);
    padding-inline: 0.72rem;
}

.compact-field .form-control:focus,
.compact-field .form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.35);
    box-shadow: 0 0 0 0.18rem rgba(var(--bs-primary-rgb), 0.12);
}

.offer-items-grid,
.terms-grid {
    display: grid;
    gap: 1rem;
}

.offer-item-card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(111, 124, 144, 0.12);
    background: #fff;
}

.offer-item-grid-header {
    display: none;
    margin-bottom: 0.7rem;
    padding-inline: 0.35rem;
    color: #8090a3;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.compact-item-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.98));
    padding: 0.85rem;
}

.offer-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    align-items: end;
}

.compact-item-card .compact-field .form-label {
    margin-bottom: 0.3rem;
}

.compact-field-action .btn {
    min-height: 2.3rem;
}

.offer-sheet-card .card-body {
    background: linear-gradient(180deg, rgba(70, 93, 255, 0.02), rgba(8, 176, 134, 0.03));
}

.offer-sheet-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0 1rem 1rem;
}

.offer-sheet-actions-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    align-items: center;
}

.offer-sheet-search {
    min-width: 280px;
}

.offer-sheet-search input {
    padding-left: 2rem;
}

.offer-sheet-search i {
    color: #98a2b3;
    pointer-events: none;
}

.offer-sheet-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.offer-sheet-chip-primary {
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
}

.offer-sheet-chip-info {
    background: rgba(var(--bs-info-rgb), 0.14);
    color: #1286c5;
}

.offer-sheet-chip-success {
    background: rgba(var(--bs-success-rgb), 0.14);
    color: var(--bs-success);
}

.offer-sheet-chip-warning {
    background: rgba(247, 184, 75, 0.18);
    color: #b96a00;
}

.offer-sheet-wrap {
    padding: 0 1rem 1rem;
}

.offer-sheet-table {
    min-width: 1380px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(111, 124, 144, 0.14);
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.offer-sheet-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.85rem 0.7rem;
    border-bottom: 1px solid rgba(111, 124, 144, 0.16);
    color: #344054;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sheet-col-index {
    width: 58px;
    background: #f8fafc;
    text-align: center;
}

.sheet-col-primary {
    background: #f8fafc;
}

.sheet-col-info {
    background: #f8fafc;
}

.sheet-col-success {
    background: #f8fafc;
}

.sheet-col-warning {
    background: #f8fafc;
}

.sheet-col-action {
    width: 72px;
    background: #f8fafc;
    text-align: center;
}

.sheet-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sheet-heading i {
    font-size: 0.95rem;
}

.offer-sheet-table tbody td {
    padding: 0.45rem;
    border-bottom: 1px solid rgba(111, 124, 144, 0.1);
    border-right: 1px solid rgba(111, 124, 144, 0.08);
    background: #fff;
}

.offer-sheet-table tbody tr:nth-child(even) td {
    background: rgba(248, 250, 252, 0.9);
}

.offer-sheet-table tbody tr:hover td {
    background: rgba(70, 93, 255, 0.035);
}

.offer-sheet-table tbody tr:last-child td {
    border-bottom: 0;
}

.offer-sheet-table tbody td:last-child,
.offer-sheet-table thead th:last-child {
    border-right: 0;
}

.offer-sheet-index,
.offer-sheet-actions {
    text-align: center;
    vertical-align: middle;
}

.row-index-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
    background: #eef2ff;
    color: #465dff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(70, 93, 255, 0.12);
}

.sheet-input {
    min-height: 2.2rem;
    border: 1px solid rgba(111, 124, 144, 0.14);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    border-radius: 0.7rem;
}

.sheet-input:focus {
    background: #fff;
    border-color: rgba(var(--bs-primary-rgb), 0.35);
    box-shadow: 0 0 0 0.18rem rgba(var(--bs-primary-rgb), 0.1);
}

.offer-sheet-actions .btn {
    min-width: 44px;
    min-height: 2.2rem;
}

.offer-product-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.offer-product-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #eef2ff;
    color: #465dff;
    flex-shrink: 0;
}

.offer-product-cell .sheet-input {
    min-width: 180px;
}

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

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

.pdf-preview-frame {
    width: 100%;
    min-height: 760px;
    border: 1px solid rgba(111, 124, 144, 0.16);
    border-radius: 1rem;
    background: #fff;
}

.btn-light-primary,
.btn-light-secondary,
.btn-light-danger {
    border-width: 1px;
}

.btn-light-primary {
    background: rgba(var(--bs-primary-rgb), 0.12);
    border-color: rgba(var(--bs-primary-rgb), 0.18);
    color: var(--bs-primary);
}

.btn-light-primary:hover {
    background: rgba(var(--bs-primary-rgb), 0.18);
    color: var(--bs-primary);
}

.btn-light-secondary {
    background: rgba(111, 124, 144, 0.12);
    border-color: rgba(111, 124, 144, 0.18);
    color: #526071;
}

.btn-light-secondary:hover {
    background: rgba(111, 124, 144, 0.18);
    color: #344054;
}

.btn-light-danger {
    background: rgba(var(--bs-danger-rgb), 0.1);
    border-color: rgba(var(--bs-danger-rgb), 0.18);
    color: var(--bs-danger);
}

.btn-light-danger:hover {
    background: rgba(var(--bs-danger-rgb), 0.16);
    color: var(--bs-danger);
}

.bg-light-primary {
    background: rgba(var(--bs-primary-rgb), 0.12) !important;
}

.bg-light-success {
    background: rgba(var(--bs-success-rgb), 0.12) !important;
}

.bg-light-danger {
    background: rgba(var(--bs-danger-rgb), 0.12) !important;
}

.bg-light-info {
    background: rgba(var(--bs-info-rgb), 0.14) !important;
}

.bg-light-secondary {
    background: rgba(111, 124, 144, 0.12) !important;
}

.font-13 {
    font-size: 0.8125rem;
}

.offer-list-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.offer-list-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    padding-inline: 0.82rem;
    font-weight: 700;
}

.btn-action-view,
.btn-action-edit,
.btn-action-delete {
    border-width: 1px;
}

.btn-action-view {
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-color: rgba(var(--bs-primary-rgb), 0.18);
    color: var(--bs-primary);
}

.btn-action-view:hover {
    background: rgba(var(--bs-primary-rgb), 0.16);
    color: var(--bs-primary);
}

.btn-action-edit {
    background: rgba(var(--bs-success-rgb), 0.12);
    border-color: rgba(var(--bs-success-rgb), 0.2);
    color: #0f9b6d;
}

.btn-action-edit:hover {
    background: rgba(var(--bs-success-rgb), 0.18);
    color: #0b7f59;
}

.btn-action-delete {
    background: rgba(var(--bs-danger-rgb), 0.12);
    border-color: rgba(var(--bs-danger-rgb), 0.2);
    color: var(--bs-danger);
}

.btn-action-delete:hover {
    background: rgba(var(--bs-danger-rgb), 0.18);
    color: #c92a2a;
}

.report-brand-card {
    border: 1px solid rgba(111, 124, 144, 0.12);
}

.report-brand-logo {
    max-height: 150px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.settings-shell {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 1.5rem;
}

.settings-side-stack {
    display: grid;
    gap: 1.5rem;
}

.settings-logo-card,
.settings-company-card,
.settings-section-card {
    border: 1px solid rgba(111, 124, 144, 0.14);
}

.settings-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.98));
    border: 1px dashed rgba(111, 124, 144, 0.2);
}

.settings-logo-preview img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
}

.settings-logo-note {
    color: #64748b;
    font-size: 0.82rem;
}

.settings-form-stack {
    display: grid;
    gap: 1.5rem;
}

.settings-section-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.settings-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 1rem;
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.settings-section-head h5 {
    margin-bottom: 0.25rem;
}

.settings-section-head p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.86rem;
}

.settings-company-list {
    display: grid;
    gap: 0.85rem;
}

.settings-company-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(111, 124, 144, 0.12);
}

.settings-company-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.settings-company-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.8rem;
    background: rgba(var(--bs-info-rgb), 0.14);
    color: #1286c5;
    flex-shrink: 0;
}

.settings-company-row strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.settings-company-row span {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.customer-entry-layout .card {
    border: 1px solid rgba(111, 124, 144, 0.14);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.customer-entry-layout .card-header {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 1rem 1.25rem;
}

.customer-entry-layout .card-body {
    padding: 1.25rem;
}

.customer-field-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: #334155;
}

.customer-field-label i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.5rem;
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: var(--bs-primary);
    font-size: 0.92rem;
}

.customer-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.customer-entry-layout .input-group-text {
    color: #64748b;
    background: #f8fafc;
    border-color: var(--bs-border-color);
}

.customer-entry-layout .form-control,
.customer-entry-layout .form-select {
    min-height: 2.8rem;
}

.customer-entry-layout textarea.form-control {
    min-height: auto;
}

.customer-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, rgba(var(--bs-info-rgb), 0.08) 100%);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.customer-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: rgba(var(--bs-primary-rgb), 0.14);
    color: var(--bs-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.customer-info-list {
    display: grid;
    gap: 0.75rem;
}

.customer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #64748b;
    font-size: 0.9rem;
}

.customer-info-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: rgba(var(--bs-success-rgb), 0.14);
    color: var(--bs-success);
    flex-shrink: 0;
}

.footer {
    background: transparent;
    border-top: 1px solid rgba(111, 124, 144, 0.12);
}

@media (min-width: 1200px) {
    .offer-item-grid,
    .offer-item-grid-header {
        grid-template-columns: minmax(110px, 1.3fr) minmax(140px, 1.6fr) minmax(105px, 1fr) minmax(105px, 1fr) minmax(76px, 0.72fr) minmax(72px, 0.64fr) minmax(105px, 0.95fr) minmax(84px, 0.72fr) minmax(84px, 0.72fr) 54px;
    }

    .offer-item-grid-header {
        display: grid;
    }

    .compact-item-card .compact-field .form-label {
        display: none;
    }
}

@media (max-width: 1199px) {
    .topbar-search-form {
        min-width: 240px;
    }

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

    .form-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .duo-grid,
    .triple-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-date-chip {
        min-width: 100%;
    }

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

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

    .page-meta-stack {
        justify-content: flex-start;
    }

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

@media (max-width: 767px) {
    .page-content {
        padding-top: calc(72px + 0.75rem);
    }

    .dashboard-filter-row,
    .dashboard-filter-actions,
    .dashboard-kpi-main,
    .dashboard-source-item {
        align-items: flex-start;
    }

    .dashboard-kpi-main {
        flex-direction: column;
    }

    .dashboard-filter-actions {
        width: 100%;
    }

    .dashboard-filter-actions > * {
        width: 100%;
    }

    .page-title-head {
        margin-bottom: 1rem;
    }
}
