:root {
    --brand: #147a55;
    --brand-dark: #073b4c;
    --brand-hover: #106b4b;
    --brand-accent: #0b6e99;
    --brand-rgb: 20, 122, 85;
    --brand-soft: rgba(var(--brand-rgb), 0.1);
    --ink: #10212b;
    --muted: #61717c;
    --line: #dce8ee;
    --panel: #ffffff;
    --page: #f3f8fb;
    --surface-muted: #f5f9fb;
    --header: #09263a;
    --sidebar: #071c2c;
    --shadow: 0 12px 30px rgba(7, 28, 44, 0.08);
    --radius: 16px;
    --sidebar-width: 250px;
    --header-height: 72px;
    --footer-height: 58px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 0;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(var(--brand-rgb), 0.12), transparent 34rem),
        linear-gradient(135deg, #f7fbfd 0%, #eaf3f7 100%);
    color: var(--ink);
    font-family: 'Poppins', Arial, sans-serif;
}

a {
    text-decoration: none;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: rgba(9, 38, 58, 0.96);
    backdrop-filter: blur(14px);
    color: #fff;
    box-shadow: 0 8px 22px rgba(7, 28, 44, 0.2);
}

.header-left,
.header-user,
.sidebar-brand-row {
    display: flex;
    align-items: center;
}

.header-left {
    gap: 0.85rem;
    min-width: 0;
}

.header-title {
    font-size: clamp(1.05rem, 2.4vw, 1.55rem);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.2;
}

.header-user {
    gap: 0.55rem;
    flex-shrink: 0;
    font-weight: 500;
}

.sidebar-toggle,
.sidebar-close {
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.content-wrapper {
    flex: 1;
    display: flex;
    min-height: 0;
}

.sidebar {
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    z-index: 1030;
    width: var(--sidebar-width);
    overflow-y: auto;
    padding: 1.2rem 1rem;
    background:
        linear-gradient(180deg, rgba(var(--brand-rgb), 0.32), transparent 18rem),
        var(--sidebar);
    color: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
}

.sidebar-brand-row {
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar .navbar-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.78rem 0.85rem;
    margin: 0.15rem 0;
    border-radius: 12px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar .nav-link i {
    width: 18px;
    text-align: center;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-accent));
    box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.28);
}

.sidebar .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: calc(100% - 1rem);
    margin: 0.15rem 0 0.65rem 0.5rem;
    padding: 0.35rem;
    border: 0;
    border-radius: 12px;
    background: #0d2a3f;
    box-shadow: none;
}

.sidebar .dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    white-space: normal;
}

.sidebar .dropdown-item:hover,
.sidebar .dropdown-item.active {
    color: #fff;
    background: var(--brand);
}

.logout-link {
    margin-top: 0.75rem !important;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1025;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
}

body:not(.sidebar-open) .sidebar-backdrop {
    display: none !important;
    pointer-events: none;
}

.main-content {
    flex: 1;
    min-width: 0;
    margin-left: var(--sidebar-width);
    padding: 1.5rem 1.5rem calc(1.5rem + var(--footer-height));
}

.app-container {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 1.45rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(7, 28, 44, 0.05);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.main-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: var(--sidebar-width);
    z-index: 1035;
    min-height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--header);
    color: #fff;
    font-size: 0.92rem;
}

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

.page-title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.page-subtitle {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.toolbar .form-control,
.toolbar .form-select {
    min-width: min(100%, 260px);
}

.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dashboard-action {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(var(--brand-rgb), 0.14);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.dashboard-action i {
    color: var(--brand);
}

.dashboard-action:hover {
    border-color: rgba(var(--brand-rgb), 0.42);
    color: var(--brand-dark);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.orders-toolbar .form-control {
    flex: 1 1 360px;
}

.orders-toolbar .form-select {
    flex: 0 1 240px;
}

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

.stat-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid rgba(var(--brand-rgb), 0.1);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
        radial-gradient(circle at top right, rgba(var(--brand-rgb), 0.2), transparent 9rem);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card a {
    position: relative;
    z-index: 1;
    display: block;
    color: inherit;
    text-decoration: none;
}

.stat-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    bottom: -52px;
    border-radius: 999px;
    background: rgba(var(--brand-rgb), 0.1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.13);
}

.stat-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.95rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-accent));
    color: #fff;
    box-shadow: 0 10px 20px rgba(var(--brand-rgb), 0.24);
    font-size: 1.35rem;
}

.stat-label {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.96rem;
}

.stat-value {
    margin: 0.35rem 0 0;
    color: var(--brand);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 700;
}

.dashboard-section-header {
    margin: 1.25rem 0 0.75rem;
}

.dashboard-section-header h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

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

.sms-stat-card {
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.sms-stat-card a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    color: inherit;
}

.sms-stat-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
}

.sms-stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.sms-stat-card strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--ink);
    font-size: 1.35rem;
}

.sms-stat-danger .sms-stat-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.sms-stat-warning .sms-stat-icon {
    background: rgba(255, 193, 7, 0.18);
    color: #856404;
}

.sms-stat-success .sms-stat-icon {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    border: 0;
    border-radius: 10px;
    padding: 0.62rem 1rem;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-hover));
    box-shadow: 0 8px 18px rgba(var(--brand-rgb), 0.24);
}

.btn-custom-outline {
    color: var(--brand);
    border-color: var(--brand);
}

.btn-custom-outline:hover,
.btn-check:checked + .btn-custom-outline,
.btn-check:active + .btn-custom-outline,
.btn-custom-outline.active,
.btn-custom-outline:active {
    color: #fff;
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-group-responsive,
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.form-control,
.form-select {
    min-height: 42px;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(var(--brand-rgb), 0.16);
}

.select2-container {
    width: 100% !important;
    z-index: 1060 !important;
}

.select2-dropdown {
    z-index: 1061 !important;
}

.select2-container .select2-selection--single {
    min-height: 42px;
    border-radius: 10px !important;
    border-color: var(--line) !important;
    padding: 0.35rem 0.6rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 30px;
}

.select2-results__option--highlighted,
.select2-results__option--selected {
    background-color: var(--brand) !important;
    color: #fff !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table.table {
    margin: 1rem 0;
    border-color: var(--line);
    vertical-align: middle;
}

.table thead th {
    background: var(--surface-muted);
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}

.table td,
.table th {
    padding: 0.85rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
}

.orders-mobile {
    display: none;
}

.orders-desktop {
    overflow: visible;
    padding-bottom: 1rem;
}

.orders-table {
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    margin-top: 0.75rem;
    min-width: 900px;
}

.orders-table thead th {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.orders-table tbody tr {
    position: relative;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.orders-table tbody td {
    position: relative;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.orders-table tbody tr.dropdown-open td {
    z-index: 20;
}

.orders-table tbody td:first-child {
    border-left: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 16px 0 0 16px;
}

.orders-table tbody td:last-child {
    border-right: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 0 16px 16px 0;
}

.orders-action-column {
    position: sticky;
    right: 0;
    z-index: 3;
    width: 180px;
    min-width: 180px;
    background: #fff;
}

.orders-table tbody tr.dropdown-open .orders-action-column {
    z-index: 60;
}

.orders-table thead .orders-action-column {
    background: rgba(255, 255, 255, 0.96);
}

.order-money-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.25rem 0.75rem;
    min-width: 150px;
    font-size: 0.86rem;
}

.order-money-grid span {
    color: var(--muted);
}

.order-money-grid strong {
    color: #202020;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.status-pending,
.payment-part-paid {
    background: #fff3cd;
    color: #8a5a00;
}

.status-in-progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-completed,
.payment-paid {
    background: #dcfce7;
    color: #15803d;
}

.status-pickup {
    background: #d1fae5;
    color: #065f46;
}

.payment-unpaid {
    background: #fee2e2;
    color: #b91c1c;
}

.payment-overpaid {
    background: #ede9fe;
    color: #6d28d9;
}

.order-items-list,
.order-card-items div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.order-item-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.55rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #2b2b2b;
    font-size: 0.82rem;
    font-weight: 600;
}

.order-item-pill span {
    color: var(--muted);
    font-weight: 500;
}

.order-action-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.35rem;
    min-width: 170px;
}

.action-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 12px;
}

.order-action-row .dropdown-menu {
    min-width: 220px;
    z-index: 1200;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.order-action-row .dropdown-toggle::after {
    display: none;
}

.order-action-row .btn {
    white-space: nowrap;
}

.order-action-row .dropdown-item {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
}

.order-action-row .dropdown-item:hover {
    background: #f4f5f7;
}

.order-card {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.order-card.dropdown-open {
    z-index: 30;
}

.order-card + .order-card {
    margin-top: 1rem;
}

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

.order-card-id {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-card h3 {
    margin: 0.2rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.order-card p {
    margin: 0.2rem 0 0;
    color: var(--muted);
}

.order-card-financials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.order-card-financials div,
.order-card-meta div,
.order-card-items {
    padding: 0.75rem;
    border-radius: 14px;
    background: #f8f9fb;
}

.order-card-financials span,
.order-card-meta span,
.order-card-items > span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-card-financials strong,
.order-card-meta strong {
    display: block;
    margin-top: 0.25rem;
}

.order-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.order-card-items {
    margin-bottom: 0.9rem;
}

.empty-state {
    padding: 1.2rem;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.modal-content {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.modal.page-modal-host {
    z-index: 1060;
}

.modal-backdrop {
    z-index: 1050;
}

.modal-header,
.modal-footer {
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 1.25rem;
}

.order-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 2rem));
}

.order-modal-header {
    align-items: flex-start;
    border: 0;
    background:
        radial-gradient(circle at right top, rgba(255, 255, 255, 0.14), transparent 16rem),
        linear-gradient(135deg, var(--header) 0%, var(--brand-dark) 100%);
    color: #fff;
}

.modal-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.modal-title-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.order-modal .modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-subtitle {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.order-modal .btn-close {
    margin-top: 0.1rem;
}

.order-modal .modal-body {
    background: var(--page);
}

.order-modal-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.modal-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 220px;
    color: var(--muted);
    text-align: left;
}

.modal-loading-state strong,
.modal-loading-state span {
    display: block;
}

.modal-loading-state strong {
    color: var(--ink);
}

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

.form-section {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff 0%, var(--surface-muted) 100%);
}

.form-section-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.form-section-header p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.form-section-header-inline {
    align-items: center;
}

.section-eyebrow {
    display: inline-flex;
    margin-bottom: 0.25rem;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-section-body {
    padding: 1rem;
}

.order-type-toggle .btn {
    min-width: 132px;
}

.order-item-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.85rem;
    padding: 0.9rem;
    margin-bottom: 0.75rem !important;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfbfb;
}

.order-item-row:last-child {
    margin-bottom: 0 !important;
}

.order-item-line-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
}

.order-item-line-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(110px, 0.35fr) minmax(150px, 0.45fr);
    gap: 0.75rem;
    min-width: 0;
}

.order-item-field {
    min-width: 0;
}

.order-item-field .form-label {
    margin-bottom: 0.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.order-item-row .remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
}

.remove-item-text {
    display: none;
}

.total-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.total-preview span,
.total-preview p {
    color: var(--muted);
    font-size: 0.82rem;
}

.total-preview span,
.total-preview strong {
    display: block;
}

.total-preview strong {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.total-preview p {
    max-width: 260px;
    margin: 0;
    text-align: right;
}

.pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pagination .page-link {
    color: var(--brand);
    border-radius: 10px;
}

.pagination .page-item.disabled .page-link {
    color: var(--muted);
}

.sms-tabs-wrapper,
.sms-settings-stack {
    display: grid;
    gap: 1rem;
}

.sms-settings-tabs {
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
}

.sms-settings-tabs .nav-item {
    flex: 0 0 auto;
}

.sms-settings-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #2f2f2f;
    font-weight: 600;
    padding: 0.65rem 1rem;
}

.sms-settings-tabs .nav-link:hover,
.sms-settings-tabs .nav-link:focus {
    border-color: rgba(var(--brand-rgb), 0.38);
    color: var(--brand);
}

.sms-settings-tabs .nav-link.active {
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.22);
}

.sms-settings-tab-content {
    min-width: 0;
}

.sms-section-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.sms-section-card .card-header {
    background: var(--surface-muted);
}

.sms-placeholder-help code {
    display: inline-block;
    margin: 0.12rem 0.1rem;
    color: #c50073;
}

.sms-outbox-table {
    min-width: 920px;
}

.sms-outbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.bulk-sms-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1rem;
}

.bulk-sms-panel {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.bulk-recipient-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.bulk-recipient-summary strong {
    color: var(--ink);
}

.bulk-placeholder-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.bulk-placeholder-row code {
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.78rem;
}

.bulk-sms-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.bulk-sms-panel .select2-container--default .select2-selection--multiple {
    position: relative;
    min-height: 42px;
    padding-right: 2rem;
    border-color: var(--line);
    border-radius: 10px;
}

.bulk-sms-panel .select2-container--default .select2-selection--multiple::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 0.8rem;
    transform: translateY(-50%);
    color: var(--muted);
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-size: 0.85rem;
    font-weight: 900;
    pointer-events: none;
}

.bulk-sms-panel .select2-container--open .select2-selection--multiple::after {
    content: "\f106";
}

#reportResult {
    margin-top: 1.25rem;
}

.report-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.report-card-header {
    padding: 1rem 1.25rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

.report-metric {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.report-metric:last-child {
    border-bottom: 0;
}

.report-metric strong {
    color: #252525;
}

.report-metric span {
    font-weight: 700;
}

.order-builder-header {
    align-items: flex-start;
}

body[data-page="order_builder"] .app-container {
    width: min(100%, 1320px);
    padding: 1rem;
}

body[data-page="order_builder"] .page-header {
    align-items: center;
    margin-bottom: 0.75rem;
}

body[data-page="order_builder"] .page-title {
    font-size: clamp(1.45rem, 2.3vw, 1.85rem);
}

body[data-page="order_builder"] .page-subtitle {
    margin-top: 0.15rem;
    font-size: 0.95rem;
}

body[data-page="order_builder"] .page-header .btn {
    margin-bottom: 0.35rem !important;
}

.order-builder-form {
    display: grid;
    gap: 0.75rem;
}

.builder-panel,
.builder-cart-panel {
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.builder-panel {
    padding: 0.75rem;
}

.builder-panel-title,
.builder-cart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
}

.builder-panel-title h2,
.builder-cart-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.builder-panel-title p,
.builder-cart-header p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.builder-customer-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.55rem 0.7rem;
    align-items: end;
}

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

.builder-field-wide {
    grid-column: span 2;
}

.builder-span-2 {
    grid-column: span 2;
}

.builder-span-3 {
    grid-column: span 3;
}

.builder-span-4 {
    grid-column: span 4;
}

.builder-span-5 {
    grid-column: span 5;
}

.builder-span-7 {
    grid-column: span 7;
}

.builder-field .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.customer-detail-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    align-self: stretch;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfbfb;
}

.customer-detail-card span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.customer-detail-card strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--ink);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.new-customer-fields {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.55rem 0.7rem;
}

.new-customer-fields .builder-field {
    grid-column: span 2;
}

.new-customer-fields .new-customer-address-field {
    grid-column: span 2;
}

body[data-page="order_builder"] .builder-field .form-control,
body[data-page="order_builder"] .builder-field .form-select,
body[data-page="order_builder"] .cart-discount-field .form-control,
body[data-page="order_builder"] .cart-pickup-field .form-control,
body[data-page="order_builder"] .cart-payment-field .form-control,
body[data-page="order_builder"] .cart-payment-field .form-select {
    min-height: 36px;
}

.builder-order-type-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
}

.builder-order-type-toggle .btn {
    min-width: 0;
    padding: 0.45rem 0.6rem;
}

.order-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 0.85rem;
    align-items: start;
}

.catalogue-toolbar {
    margin-bottom: 0.65rem;
}

.catalogue-count {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.45rem;
    max-height: max(320px, calc(100vh - 455px));
    overflow: auto;
    padding-right: 0.25rem;
}

.catalogue-item-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.15rem 0.45rem;
    align-content: center;
    min-height: 72px;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfbfb;
    color: var(--ink);
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalogue-item-card:hover {
    border-color: rgba(var(--brand-rgb), 0.42);
    box-shadow: 0 12px 24px rgba(var(--brand-rgb), 0.14);
    transform: translateY(-2px);
}

.catalogue-item-card-added {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16), 0 12px 24px rgba(22, 163, 74, 0.12) !important;
}

.catalogue-item-card strong {
    align-self: end;
    line-height: 1.25;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.catalogue-item-card span:not(.catalogue-item-icon) {
    grid-column: 2;
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.catalogue-item-card small {
    display: none;
    color: var(--muted);
}

.catalogue-item-icon {
    display: inline-flex;
    grid-row: span 2;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.85rem;
}

.builder-loading {
    grid-column: 1 / -1;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.builder-toast-region {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    right: 1rem;
    z-index: 3000;
    display: grid;
    gap: 0.5rem;
    pointer-events: none;
}

.builder-add-toast {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: min(340px, calc(100vw - 2rem));
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #14532d, #166534);
    color: #fff;
    box-shadow: 0 18px 38px rgba(20, 83, 45, 0.34);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.builder-add-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.builder-add-toast-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.8rem;
}

.builder-add-toast strong {
    display: block;
    color: #fff;
}

.builder-add-toast small {
    display: block;
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.builder-cart-panel {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
}

.cart-items {
    display: grid;
    gap: 0.4rem;
    max-height: 360px;
    overflow: auto;
    padding-right: 0.2rem;
}

.empty-cart {
    display: flex;
    min-height: 135px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
}

.empty-cart i {
    color: var(--brand);
    font-size: 1.6rem;
}

.empty-cart strong {
    color: var(--ink);
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.35rem 0.45rem;
    align-items: center;
    padding: 0.48rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfbfb;
}

.cart-item-main {
    grid-column: 1 / -1;
    min-width: 0;
}

.cart-item-main strong,
.cart-item-main span {
    display: block;
}

.cart-item-main strong {
    line-height: 1.25;
    font-size: 0.93rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.cart-item-main span {
    color: var(--muted);
    font-size: 0.78rem;
}

.cart-quantity {
    display: grid;
    grid-template-columns: 28px 46px 28px;
    gap: 0.2rem;
    align-items: center;
    width: max-content;
}

.cart-quantity .btn {
    width: 28px;
    height: 28px;
    padding: 0;
}

.cart-quantity .form-control {
    min-height: 28px;
    padding: 0.25rem;
    text-align: center;
}

.cart-item-total {
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.cart-item > .cart-action {
    width: 32px;
    height: 32px;
    padding: 0;
}

.cart-summary {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.cart-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-summary span,
.cart-summary p {
    color: var(--muted);
    font-size: 0.86rem;
}

.cart-summary strong {
    color: var(--ink);
}

.cart-summary-total {
    padding-top: 0.45rem;
    border-top: 1px solid var(--line);
}

.cart-summary-total strong {
    color: var(--brand-dark);
    font-size: 1.45rem;
}

.cart-summary p {
    margin: 0.25rem 0 0;
}

.cart-discount-field {
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.cart-discount-field .form-label,
.cart-pickup-field .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
    font-weight: 800;
}

.cart-pickup-field {
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.cart-payment-field {
    padding-top: 0.65rem;
    border-top: 1px solid var(--line);
}

.cart-payment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.cart-payment-heading span {
    font-size: 0.86rem;
    font-weight: 800;
}

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

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

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

    .orders-desktop {
        display: none;
    }

    .orders-mobile {
        display: block;
    }

    .builder-customer-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .builder-span-7,
    .builder-span-5,
    .builder-span-4,
    .builder-span-3 {
        grid-column: span 3;
    }

    .new-customer-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .new-customer-fields .builder-field,
    .new-customer-fields .new-customer-address-field {
        grid-column: span 1;
    }

    .builder-span-2 {
        grid-column: span 2;
    }

    .order-builder-layout {
        grid-template-columns: minmax(0, 1fr) 330px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 68px;
        --footer-height: 86px;
    }

    .sidebar-toggle,
    .sidebar-close {
        display: inline-flex;
    }

    .header-subtitle {
        display: none;
    }

    .sidebar {
        top: 0;
        bottom: auto;
        height: 100vh;
        padding-bottom: calc(var(--footer-height) + 1rem);
        transform: translateX(-105%);
        transition: transform 0.24s ease;
        box-shadow: 14px 0 38px rgba(0, 0, 0, 0.28);
    }

    body.sidebar-open .sidebar {
        z-index: 1045;
        transform: translateX(0);
    }

    body.sidebar-open .sidebar-backdrop {
        display: block;
        pointer-events: auto;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .main-content,
    .main-footer {
        margin-left: 0;
    }

    .main-content {
        padding: 1rem 1rem calc(1rem + var(--footer-height));
    }

    .app-container {
        padding: 1rem;
        border-radius: 14px;
    }

    .main-footer {
        left: 0;
        flex-direction: column;
        text-align: center;
    }

    .order-builder-layout {
        grid-template-columns: 1fr;
    }

    .builder-cart-panel {
        position: static;
    }

    .catalogue-grid,
    .cart-items {
        max-height: none;
    }

    .orders-desktop {
        display: none;
    }

    .orders-mobile {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .main-header {
        padding: 0.75rem 0.85rem;
    }

    .header-title {
        max-width: 58vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-user span {
        max-width: 24vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .main-content {
        padding: 0.75rem 0.75rem calc(0.75rem + var(--footer-height));
    }

    .app-container {
        padding: 0.85rem;
        box-shadow: none;
    }

    .page-header,
    .toolbar {
        display: block;
    }

    .page-header .btn,
    .toolbar .btn,
    .toolbar .form-control,
    .toolbar .form-select {
        width: 100%;
        margin-top: 0.65rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-actions,
    .dashboard-sms-grid {
        grid-template-columns: 1fr;
    }

    .builder-customer-grid {
        grid-template-columns: 1fr;
    }

    .builder-field-wide,
    .builder-span-2,
    .builder-span-3,
    .builder-span-4,
    .builder-span-5,
    .builder-span-7 {
        grid-column: auto;
    }

    .customer-detail-card,
    .new-customer-fields {
        grid-template-columns: 1fr;
    }

    .new-customer-fields .builder-field,
    .new-customer-fields .new-customer-address-field {
        grid-column: auto;
    }

    .order-builder-header .builder-save-order {
        width: 100%;
    }

    .builder-panel-title,
    .builder-cart-header {
        display: block;
    }

    .catalogue-count,
    .builder-cart-header .btn {
        margin-top: 0.65rem;
    }

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

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.35rem;
        padding: 0.55rem;
    }

    .cart-item-main {
        grid-column: 1 / -1;
    }

    .cart-item-main strong {
        font-size: 0.86rem;
    }

    .cart-item-main span {
        font-size: 0.72rem;
    }

    .cart-quantity {
        grid-template-columns: 30px 48px 30px;
        width: max-content;
        max-width: 100%;
    }

    .cart-quantity .btn {
        width: 30px;
        height: 30px;
    }

    .cart-quantity .form-control {
        width: 48px;
        min-height: 30px;
    }

    .cart-item-total {
        grid-column: 1;
        font-size: 0.86rem;
        text-align: left;
    }

    .cart-item > .cart-action {
        grid-column: 2;
        grid-row: 2 / span 2;
        width: 34px;
        height: 34px;
        align-self: center;
    }

    .cart-payment-grid {
        grid-template-columns: 1fr;
    }

    .builder-toast-region {
        top: calc(var(--header-height) + 0.7rem);
        left: 0.75rem;
        right: 0.75rem;
    }

    .builder-add-toast {
        width: 100%;
    }

    .bulk-sms-grid {
        grid-template-columns: 1fr;
    }

    .bulk-sms-footer {
        display: block;
    }

    .bulk-sms-footer .btn {
        width: 100%;
    }

    .bulk-sms-footer .d-flex {
        margin-top: 0.75rem;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .stat-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .modal-dialog {
        margin: 0;
        min-height: 100vh;
        max-width: none;
    }

    .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .modal-footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        background: #fff;
    }

    .modal-footer .btn {
        flex: 1;
    }

    .order-modal .modal-dialog {
        max-width: none;
    }

    .order-modal-header {
        padding: 0.95rem;
    }

    .modal-title-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .order-modal .modal-title {
        font-size: 1.1rem;
    }

    .modal-subtitle {
        font-size: 0.82rem;
    }

    .form-section-header,
    .form-section-header-inline {
        display: block;
    }

    .form-section-header .btn {
        width: 100%;
        margin-top: 0.75rem;
    }

    .form-section-body {
        padding: 0.85rem;
    }

    .order-item-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .order-item-line-icon {
        display: none;
    }

    .order-item-line-fields {
        grid-template-columns: 1fr;
    }

    .order-item-row .remove-item {
        width: 100%;
        height: 42px;
    }

    .remove-item-text {
        display: inline;
    }

    .total-preview {
        display: block;
    }

    .total-preview p {
        max-width: none;
        margin-top: 0.4rem;
        text-align: left;
    }

    .btn-group-responsive,
    .action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .orders-desktop {
        display: none;
    }

    .orders-mobile {
        display: block;
    }

    .order-action-row {
        display: flex;
        justify-content: flex-end;
        gap: 0.45rem;
    }

    .order-action-row > .btn,
    .order-action-row > .dropdown,
    .order-action-row .dropdown-toggle {
        width: 38px;
    }

    .order-card-financials,
    .order-card-meta {
        grid-template-columns: 1fr;
    }

    table.responsive-table-stack {
        border: 0;
        box-shadow: none;
    }

    table.responsive-table-stack thead {
        display: none;
    }

    table.responsive-table-stack,
    table.responsive-table-stack tbody,
    table.responsive-table-stack tr,
    table.responsive-table-stack td {
        display: block;
        width: 100%;
    }

    table.responsive-table-stack tr {
        margin-bottom: 0.9rem;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
        overflow: hidden;
    }

    table.responsive-table-stack td {
        min-height: 44px;
        padding: 0.75rem 0.9rem;
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    table.responsive-table-stack td:last-child {
        border-bottom: 0;
    }

    table.responsive-table-stack td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.25rem;
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .report-metric {
        display: block;
    }

    .report-metric span {
        display: block;
        margin-top: 0.25rem;
    }
}

@media (max-width: 420px) {
    .sidebar {
        width: min(86vw, var(--sidebar-width));
    }

    .catalogue-grid {
        grid-template-columns: 1fr;
    }

    .main-footer {
        font-size: 0.8rem;
    }
}
