:root {
    --app-input-font-size: 0.92rem;
    --app-input-padding-y: 0.52rem;
    --app-input-padding-x: 0.78rem;
    --app-input-radius: 0.75rem;
    --app-input-min-height: 2.45rem;
}

.section-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.section-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.section-header i {
    margin-right: 0.5rem;
}

.card {
    border-radius: 12px;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

.form-control,
.form-select {
    border-radius: var(--app-input-radius);
    font-size: var(--app-input-font-size);
}

input.form-control,
input.form-control-lg,
select.form-select,
select.form-select-lg {
    min-height: var(--app-input-min-height);
    padding: var(--app-input-padding-y) var(--app-input-padding-x);
}

textarea.form-control,
textarea.form-control-lg {
    padding: var(--app-input-padding-y) var(--app-input-padding-x);
}

.form-select,
.form-select-lg {
    padding-right: 2.35rem;
}

.app-select-wrapper {
    position: relative;
}

.app-select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.9rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    background-color: #343a40;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* stylelint-disable-next-line property-no-unknown */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.app-select-wrapper--disabled::after {
    opacity: 0.45;
}

.app-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: var(--app-input-min-height);
    padding: var(--app-input-padding-y) var(--app-input-padding-x);
    padding-right: 2.35rem;
    border-radius: var(--app-input-radius);
    font-size: var(--app-input-font-size);
    background-color: rgba(255, 255, 255, 0.96);
    background-image: none !important;
}

.filter-sort-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.filter-panel .app-select {
    background-color: rgba(255, 255, 255, 0.96);
    background-image: none !important;
}

.filter-sort-row > div {
    min-width: 0;
    width: 100%;
}

.detail-item.detail-item--completed {
    border: 3px solid rgba(25, 135, 84, 0.7);
    background: linear-gradient(180deg, rgba(25, 135, 84, 0.12), rgba(255, 255, 255, 0.96));
    box-shadow: 0 0 0 0.12rem rgba(25, 135, 84, 0.12);
}

.detail-item.detail-item--completed .detail-label,
.detail-item.detail-item--completed .detail-value {
    color: #14532d;
    font-weight: 600;
}

.detail-item.detail-item--current {
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.12), rgba(255, 255, 255, 0.98));
}

@media (max-width: 767.98px) {
    .filter-sort-row {
        grid-template-columns: 1fr;
    }
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.btn-primary {
    font-weight: 600;
    border-radius: 8px;
}

.form-label {
    color: #495057;
    margin-bottom: 0.4rem;
}

.fw-semibold {
    font-weight: 600;
}

.form-actions,
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.form-actions .btn,
.action-buttons .btn {
    width: auto;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max-content;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.details-panel {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.12);
}

.details-panel__header {
    padding: 0.9rem 1.1rem;
}

.details-panel__header--centered {
    text-align: center;
}

.details-panel__body,
.details-body {
    padding: 0.75rem 0.85rem 0.85rem !important;
}

.detail-grid {
    row-gap: 0.55rem;
}

.detail-item {
    height: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.detail-item--centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-label {
    margin-bottom: 0.15rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.75rem;
    font-weight: 600;
}

.detail-value {
    font-size: 0.9rem;
    line-height: 1.3;
    word-break: break-word;
}

.detail-section {
    margin-bottom: 0.75rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section .section-header {
    margin-bottom: 0.6rem;
}

.detail-section .section-header h5 {
    font-size: 0.95rem;
}

.detail-actions {
    justify-content: center;
    margin-top: 0.75rem;
}

.country-flag {
    overflow: hidden;
}

.country-flag svg,
.country-flag img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
}

.country-flag-md {
    width: 88px;
    height: 58px;
}

.country-flag-sm {
    width: 42px;
    height: 28px;
}

.results-panel {
    margin-top: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), #ffffff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.results-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(77, 171, 247, 0.04));
}

.results-panel__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.results-panel__body {
    padding: 0.55rem 0.7rem 0.7rem;
}

.results-card-list {
    display: grid;
    gap: 0.55rem;
}

.result-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.result-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem 0.45rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.result-card__title-group {
    min-width: 0;
}

.result-card__title {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.result-card__subtitle {
    margin-top: 0.15rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.78rem;
    line-height: 1.25;
    word-break: break-word;
}

.result-card__body {
    padding: 0.6rem 0.75rem 0.75rem;
}

.result-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem 0.6rem;
}

.result-card__grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.result-card__item {
    min-width: 0;
    padding: 0.45rem 0.55rem;
    border-radius: 0.65rem;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.result-card__item--wide {
    grid-column: 1 / -1;
}

.result-card__item--flag {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-card__label {
    margin-bottom: 0.14rem;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.result-card__value {
    font-size: 0.84rem;
    line-height: 1.25;
    color: #0f172a;
    word-break: break-word;
}

.result-card__value--flag {
    display: flex;
    align-items: center;
    min-height: 1.4rem;
}

.results-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 0.3rem;
}

.results-table thead th {
    padding: 0 0.45rem 0.15rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: normal;
    line-height: 1.15;
}

.results-table tbody td {
    padding: 0.45rem 0.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    vertical-align: middle;
    font-size: 0.84rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.results-table tbody td:first-child {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.results-table tbody td:last-child {
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.results-table tbody tr {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.results-table__actions {
    width: 1%;
    white-space: nowrap;
}

.results-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: inherit;
    text-decoration: none;
}

.results-sort-link:hover {
    color: #0d6efd;
}

.results-sort-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 0.68rem;
    line-height: 1;
}

.results-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.2rem;
    justify-content: flex-end;
}

.results-actions--payment-split .results-action--payment {
    margin-right: 0.45rem;
}

.results-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border-radius: 0.55rem;
    border: 1px solid rgba(13, 110, 253, 0.16);
    background: rgba(13, 110, 253, 0.06);
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.2s ease;
}

.results-action::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.results-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.results-action--edit::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20h9' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20h9' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.results-action--details {
    border-color: rgba(25, 135, 84, 0.16);
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
}

.results-action--details::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 12s3.8-6.5 10.5-6.5S22.5 12 22.5 12 18.7 18.5 12 18.5 1.5 12 1.5 12Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.5 12s3.8-6.5 10.5-6.5S22.5 12 22.5 12 18.7 18.5 12 18.5 1.5 12 1.5 12Z' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}

.results-action--details:hover {
    color: #146c43;
    box-shadow: 0 6px 14px rgba(25, 135, 84, 0.14);
}

.results-action--delete {
    border-color: rgba(220, 53, 69, 0.16);
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.results-action--delete::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M8 6V4.5A1.5 1.5 0 0 1 9.5 3h5A1.5 1.5 0 0 1 16 4.5V6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19 6l-1 13a2 2 0 0 1-2 1.85H8a2 2 0 0 1-2-1.85L5 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10 10.5v6M14 10.5v6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M8 6V4.5A1.5 1.5 0 0 1 9.5 3h5A1.5 1.5 0 0 1 16 4.5V6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19 6l-1 13a2 2 0 0 1-2 1.85H8a2 2 0 0 1-2-1.85L5 6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10 10.5v6M14 10.5v6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.results-action--delete:hover {
    color: #b02a37;
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.14);
}

.results-action--payment {
    border-color: rgba(255, 193, 7, 0.22);
    background: rgba(255, 193, 7, 0.1);
    color: #b7791f;
}

.results-action--payment::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 5.5c0-1.38 1.34-2.5 3-2.5s3 1.12 3 2.5-1.34 2.5-3 2.5-3-1.12-3-2.5Z' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3Cpath d='M2.5 14.5h5.2c1.1 0 1.95.86 3.1.86h2.25c.86 0 1.55.69 1.55 1.55s-.69 1.55-1.55 1.55H9.9' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.5 19.5h4.8l4.15 1.8c.43.18.92.23 1.38.13l6.22-1.34a1.63 1.63 0 0 0 1.27-1.6 1.62 1.62 0 0 0-1.96-1.58l-4.35.94' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.5 13.1v7.15' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 5.5c0-1.38 1.34-2.5 3-2.5s3 1.12 3 2.5-1.34 2.5-3 2.5-3-1.12-3-2.5Z' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3Cpath d='M2.5 14.5h5.2c1.1 0 1.95.86 3.1.86h2.25c.86 0 1.55.69 1.55 1.55s-.69 1.55-1.55 1.55H9.9' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.5 19.5h4.8l4.15 1.8c.43.18.92.23 1.38.13l6.22-1.34a1.63 1.63 0 0 0 1.27-1.6 1.62 1.62 0 0 0-1.96-1.58l-4.35.94' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.5 13.1v7.15' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.results-action--payment:hover {
    color: #9a6b12;
    box-shadow: 0 6px 14px rgba(255, 193, 7, 0.16);
}

.results-action--payment-active {
    border-color: rgba(25, 135, 84, 0.2);
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.results-action--payment-active:hover {
    color: #146c43;
    box-shadow: 0 6px 14px rgba(25, 135, 84, 0.14);
}

.results-empty {
    text-align: center;
    color: var(--bs-secondary-color, #6c757d);
}

.filter-panel {
    border: 1px solid rgba(13, 110, 253, 0.14);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.04), rgba(255, 255, 255, 0.98));
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    overflow: visible;
}

.filter-panel__header {
    padding: 1rem 1.25rem 0.35rem;
}

.filter-panel__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
}

.filter-panel__body {
    position: relative;
    z-index: 2;
    padding: 0.85rem 1.25rem 1.25rem;
}

.filter-panel .dropdown-menu {
    z-index: 1080;
}

.filter-grid {
    display: grid;
    gap: 1rem;
}

.filter-grid--three-up {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.filter-grid--sort {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.filter-sort-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 0.75rem;
    width: 100%;
}

.filter-sort-row--full {
    grid-column: 1 / -1;
}

.filter-field--sort-column,
.filter-field--compact {
    min-width: 0;
}

.filter-field--sort-column {
    position: relative;
}

.filter-field--sort-column::after {
    content: "";
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    width: 0.85rem;
    height: 0.85rem;
    background-color: #64748b;
    pointer-events: none;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.filter-panel .form-control,
.filter-panel .form-select {
    min-height: var(--app-input-min-height);
    padding: var(--app-input-padding-y) var(--app-input-padding-x);
    border-radius: var(--app-input-radius);
    border-color: rgba(15, 23, 42, 0.12);
    background-color: rgba(255, 255, 255, 0.96);
}

.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
    border-color: rgba(13, 110, 253, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.sort-column-select {
    width: auto;
    min-width: 0;
    max-width: 100%;
    field-sizing: content;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.35rem !important;
    background-image: none !important;
}

.sort-direction-dropdown {
    position: relative;
    width: fit-content;
}

.sort-direction-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--app-input-min-height);
    min-width: 3.5rem;
    width: auto;
    padding: var(--app-input-padding-y) 0.7rem;
    border-radius: var(--app-input-radius);
}

.sort-direction-toggle::after {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    margin-left: auto;
    border: 0;
    background-color: #64748b;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.sort-direction-menu {
    min-width: 3.5rem;
}

.sort-direction-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
}

.sort-direction-icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #0d6efd;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.sort-direction-icon--asc {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 4 5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m12 4-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 20V5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 4 5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m12 4-5 5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 20V5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sort-direction-icon--desc {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 20 5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m12 20-5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 4v15' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 20 5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m12 20-5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 4v15' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.filter-field--compact {
    width: fit-content;
    min-width: 0;
}

@media (max-width: 767.98px) {
    .filter-sort-row {
        grid-template-columns: 1fr;
    }
}

.filter-field--compact .form-label {
    display: block;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.paging-panel {
    display: grid;
    gap: 0.75rem;
    align-items: center;
}

.paging-panel__summary,
.paging-panel__status {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.92rem;
}

.paging-panel__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.paging-panel__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.paging-panel__link:hover {
    border-color: rgba(13, 110, 253, 0.35);
    color: #0a58ca;
}

.paging-panel__link.active {
    border-color: transparent;
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    color: #fff;
}

.paging-panel__link.disabled {
    pointer-events: none;
    opacity: 0.45;
}

@media (min-width: 992px) {
    .paging-panel {
        grid-template-columns: 1fr auto auto;
    }

    .paging-panel__nav {
        justify-content: center;
    }

    .paging-panel__status {
        text-align: right;
    }
}
