/* Empty on purpose: all styles provided by Bootstrap via importmap. */

/* Compact Table Styles */
.table-sm th,
.table-sm td {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.table-sm .btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.table-sm .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.table-sm .text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Compact card headers */
.card-header.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.card-body.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Smaller form controls in compact mode */
.table-sm .form-control,
.table-sm .form-select {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* Compact pagination */
.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Custom container widths */
.container-90 {
    max-width: 90% !important;
}

.container-80 {
    max-width: 80% !important;
}

.container-85 {
    max-width: 85% !important;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.btn-group .btn {
    margin-right: 2px;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

.btn-group form {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top;
}

.btn-group form .btn {
    margin-right: -1px;
    border-radius: 0;
}

.btn-group > a:not(:first-child),
.btn-group > form:not(:first-child) .btn,
.btn-group > button:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.btn-group > a:not(:last-child),
.btn-group > form:not(:last-child) .btn,
.btn-group > button:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.text-danger.small {
    font-size: 0.875em;
    color: #dc3545 !important;
}

/* Flash Messages Styles */
.position-fixed .alert {
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.position-fixed .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.position-fixed .alert-danger,
.position-fixed .alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.position-fixed .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.position-fixed .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-close {
    filter: none;
}

.avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 32px;
    font-weight: 600;
}

.form-label.fw-bold {
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.form-control-plaintext {
    padding: 0.375rem 0;
    margin-bottom: 0;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

/* Symfony UX Autocomplete Bootstrap Styles */
.autocomplete-wrapper {
    position: relative;
}

/* Tom Select wrapper */
.autocomplete-wrapper .ts-wrapper {
    position: relative;
}

/* Control (input container) */
.autocomplete-wrapper .ts-wrapper.multi .ts-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.125rem 0.25rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control.has-items {
    padding: 0.125rem 0.25rem;
}

/* Selected items (badges) - Bootstrap badge style */
.autocomplete-wrapper .ts-wrapper.multi .ts-control .item {
    display: inline-flex;
    align-items: center;
    margin: 0.125rem;
    padding: 0.25rem 0.5rem;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    border: none;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control .item.active {
    background-color: #0a58ca;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control .item .remove {
    margin-left: 0.375rem;
    padding: 0;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    font-weight: 400;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.15s ease-in-out;
    border-radius: 50%;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control .item .remove:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Input field */
.autocomplete-wrapper .ts-wrapper.multi .ts-control input {
    border: none;
    padding: 0.25rem 0;
    margin: 0.125rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background: transparent;
    min-width: 100px;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control input:focus {
    outline: none;
    box-shadow: none;
}

.autocomplete-wrapper .ts-wrapper.multi .ts-control input::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Dropdown */
.autocomplete-wrapper .ts-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
    margin-top: 0.25rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.autocomplete-wrapper .ts-dropdown .option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease-in-out;
}

.autocomplete-wrapper .ts-dropdown .option:last-child {
    border-bottom: none;
}

.autocomplete-wrapper .ts-dropdown .option:hover,
.autocomplete-wrapper .ts-dropdown .option.active {
    background-color: #f8f9fa;
    color: #212529;
}

.autocomplete-wrapper .ts-dropdown .option.selected {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

.autocomplete-wrapper .ts-dropdown .no-results {
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    font-style: italic;
}

/* Loading state */
.autocomplete-wrapper .ts-wrapper.loading .ts-control::after {
    border-color: #0d6efd transparent transparent transparent;
}

/* Disabled state */
.autocomplete-wrapper .ts-wrapper.disabled .ts-control {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
}

.autocomplete-wrapper .ts-wrapper.disabled .ts-control input {
    cursor: not-allowed;
}

/* Focus state */
.autocomplete-wrapper .ts-wrapper.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Invalid state */
.autocomplete-wrapper.is-invalid .ts-wrapper .ts-control {
    border-color: #dc3545;
}

.autocomplete-wrapper.is-invalid .ts-wrapper.focus .ts-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Autocomplete в фильтрах - стиль как у select */
.autocomplete-filter .ts-wrapper.multi .ts-control {
    min-height: calc(1.5em + 0.5rem + 2px);
    max-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 2rem 0.25rem 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.125rem;
    overflow: hidden;
    width: 100%;
}

.autocomplete-filter .ts-wrapper.multi .ts-control.has-items {
    padding: 0.125rem 2rem 0.125rem 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.autocomplete-filter .ts-wrapper.multi .ts-control.has-items::-webkit-scrollbar {
    height: 0;
    display: none;
}

/* Badges выбранных элементов - стиль badge bg-secondary */
.autocomplete-filter .ts-wrapper.multi .ts-control .item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0.0625rem !important;
    padding: 0.125rem 0.375rem !important;
    background-color: #6c757d !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 0.25rem !important;
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.autocomplete-filter .ts-wrapper.multi .ts-control .item.active {
    background-color: #5c636a !important;
    background-image: none !important;
}

.autocomplete-filter .ts-wrapper.multi .ts-control .item .remove {
    margin-left: 0.25rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    width: 12px !important;
    height: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.8 !important;
    transition: opacity 0.15s ease-in-out !important;
    border-radius: 50% !important;
}

.autocomplete-filter .ts-wrapper.multi .ts-control .item .remove:hover {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.autocomplete-filter .ts-wrapper.multi.direction-report-multi-summary .ts-control {
    gap: 0;
    overflow: hidden;
}

.autocomplete-filter .ts-wrapper.multi.direction-report-multi-summary .ts-control .item,
.autocomplete-filter .ts-wrapper.multi.direction-report-multi-summary .ts-control .remove,
.autocomplete-filter .ts-wrapper.multi.direction-report-multi-summary .ts-control .ts-item {
    display: none !important;
}

.autocomplete-filter .ts-wrapper.multi.direction-report-multi-summary .ts-control input {
    min-width: 1px !important;
    width: 1px !important;
    flex: 0 0 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.direction-report-multi-summary-label {
    display: block;
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    padding-right: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #212529;
    line-height: 1.5;
}

/* Компактные badges для таблицы */
.badge-sm {
    font-size: 0.65rem;
    padding: 0.125rem 0.25rem;
    line-height: 1.2;
}

/* Статистика в одну строку */
.col-stats .d-flex {
    flex-wrap: nowrap !important;
    overflow: visible;
}

.col-stats .badge {
    flex-shrink: 0;
}

/* Меню действий с группами */
.group-actions-menu {
    min-width: 250px;
}

.direction-report-checkbox-multiselect {
    position: relative;
}

.direction-report-checkbox-multiselect__toggle {
    position: relative;
    width: 100%;
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.375rem 3.9rem 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background: #fff;
    color: #212529;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.5;
}

.direction-report-checkbox-multiselect__toggle::after {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    width: 0.8rem;
    height: 0.8rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    transform: translateY(-50%);
}

.direction-report-checkbox-multiselect__quick-clear {
    position: absolute;
    top: 50%;
    right: 2.05rem;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #eef2f7;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-50%);
}

.direction-report-checkbox-multiselect__quick-clear:hover {
    background: #e2e8f0;
    color: #334155;
}

.direction-report-checkbox-multiselect.is-loading .direction-report-checkbox-multiselect__toggle::after {
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid #cbd5e1;
    border-top-color: #0d6efd;
    border-radius: 50%;
    background: none;
    animation: direction-report-spinner 0.7s linear infinite;
}

.direction-report-checkbox-multiselect__summary {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.direction-report-checkbox-multiselect__summary.is-placeholder {
    color: #6c757d;
}

.direction-report-checkbox-multiselect__dropdown {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    z-index: 1050;
    display: none;
    padding: 0.5rem;
    border: 1px solid #dbe3ea;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.12);
}

.direction-report-checkbox-multiselect.is-open .direction-report-checkbox-multiselect__dropdown {
    display: block;
}

.direction-report-checkbox-multiselect.is-invalid .direction-report-checkbox-multiselect__toggle {
    border-color: #dc3545;
}

.direction-report-checkbox-multiselect__search {
    margin-bottom: 0.5rem;
}

.direction-report-checkbox-multiselect__clear {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.375rem 0.5rem;
    border: 0;
    border-radius: 0.375rem;
    background: #f3f6fa;
    color: #0d6efd;
    text-align: left;
    font-size: 0.875rem;
}

.direction-report-checkbox-multiselect__options {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    max-height: 220px;
    overflow-y: auto;
}

.direction-report-checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.direction-report-checkbox-option:hover {
    background: #f8fafc;
}

.direction-report-checkbox-option__text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    color: #334155;
}

.direction-report-checkbox-multiselect__empty {
    padding: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

@keyframes direction-report-spinner {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.group-action-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 1rem !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    transition: background-color 0.15s ease-in-out;
}

.group-action-item:hover {
    background-color: #f8f9fa !important;
}

.group-action-item.active {
    background-color: #0d6efd !important;
    color: #fff !important;
}

.group-action-item.active:hover {
    background-color: #0b5ed7 !important;
}

.group-actions-menu .dropdown-divider {
    margin: 0.25rem 0;
}

.autocomplete-filter .ts-wrapper.multi .ts-control input {
    font-size: 0.875rem;
    padding: 0;
    margin: 0;
    width: auto;
    min-width: 50px;
    cursor: pointer;
    color: #212529;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    height: auto;
    line-height: 1.5;
    flex: 1;
}

.autocomplete-filter .ts-wrapper.multi .ts-control input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.autocomplete-filter .ts-wrapper.multi .ts-control input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.autocomplete-filter .ts-wrapper.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Autocomplete single select в фильтрах - стиль как у form-select form-select-sm */
.autocomplete-filter .ts-wrapper.single .ts-control {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 2rem 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Убираем стрелку tom-select для single select, оставляем только Bootstrap стрелку */
.autocomplete-filter .ts-wrapper.single .ts-control::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Также скрываем стрелку через псевдоэлемент, если она там есть */
.autocomplete-filter .ts-wrapper.single .ts-control::before {
    display: none !important;
    content: none !important;
}

.autocomplete-filter .ts-wrapper.single .ts-control input {
    font-size: 0.875rem;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: pointer;
    color: #212529;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    height: auto;
    line-height: 1.5;
}

.direction-report-delta {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 12rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.direction-report-delta a {
    text-decoration: none;
}

.direction-report-results-table {
    table-layout: fixed;
    width: 100%;
}

.direction-report-results-table__col-destination {
    width: 16%;
}

.direction-report-results-table__col-dates {
    width: 11%;
}

.direction-report-results-table__col-room-meal {
    width: 18%;
}

.direction-report-results-table__col-collected {
    width: 11%;
}

.direction-report-results-table__col-search {
    width: 24%;
}

.direction-report-results-table__col-price {
    width: 10%;
}

.direction-report-results-table__col-delta {
    width: 10%;
}

.direction-report-results-table__cell {
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.direction-report-results-table__cell--nowrap {
    white-space: nowrap;
}

.direction-report-subgroup-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem auto;
    align-items: center;
    gap: 0.75rem;
}

.direction-report-subgroup-title {
    min-width: 0;
}

.direction-report-subgroup-count {
    text-align: left;
    white-space: nowrap;
}

.direction-report-subgroup-price {
    justify-self: end;
    white-space: nowrap;
}

.direction-report-delta-line {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .direction-report-results-table {
        table-layout: auto;
    }

    .direction-report-results-table__cell--nowrap {
        white-space: normal;
    }

    .direction-report-subgroup-header {
        grid-template-columns: minmax(0, 1fr);
    }

    .direction-report-subgroup-count,
    .direction-report-subgroup-price {
        text-align: left;
        justify-self: start;
    }
}

.direction-report-delta-cheaper-1 {
    background: #eef9f1;
    border-color: #b9e4c4;
    color: #1f6b36;
}

.direction-report-delta-cheaper-2 {
    background: #dff4e5;
    border-color: #8fd0a2;
    color: #165228;
}

.direction-report-delta-cheaper-3 {
    background: #ccefd8;
    border-color: #59b97a;
    color: #0f3d1d;
}

.direction-report-delta-expensive-1 {
    background: #fff1f1;
    border-color: #f0c2c2;
    color: #9b1c1c;
}

.direction-report-delta-expensive-2 {
    background: #ffe2e2;
    border-color: #e79a9a;
    color: #7f1414;
}

.direction-report-delta-expensive-3 {
    background: #ffd6d6;
    border-color: #dd6767;
    color: #651010;
}

.direction-report-delta-neutral {
    background: #f5f6f8;
    border-color: #d9dde3;
    color: #4b5563;
}

.direction-report-delta-reference {
    background: #eef4ff;
    border-color: #bfd3ff;
    color: #214fba;
}

.direction-report-delta-na {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

.autocomplete-filter .ts-wrapper.single .ts-control input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.autocomplete-filter .ts-wrapper.single .ts-control input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.autocomplete-filter .ts-wrapper.single.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.master-select-autocomplete .ts-wrapper.form-select,
.master-select-autocomplete .ts-wrapper.single.form-select {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    height: auto;
    min-height: 0;
}

.master-select-autocomplete .ts-wrapper.form-select:focus,
.master-select-autocomplete .ts-wrapper.single.form-select:focus {
    box-shadow: none;
}

.master-select-autocomplete .ts-wrapper.single .ts-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: text;
    display: flex;
    align-items: center;
    width: 100%;
}

.master-select-autocomplete .ts-wrapper.single .ts-control::after,
.master-select-autocomplete .ts-wrapper.single .ts-control::before {
    display: none !important;
    content: none !important;
    border: none !important;
}

.master-select-autocomplete .ts-wrapper.single .ts-control input {
    font-size: 1rem;
    padding: 0;
    margin: 0;
    width: 100%;
    cursor: text;
    color: #212529;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    height: auto;
    line-height: 1.5;
}

.master-select-autocomplete .ts-wrapper.single .ts-control .item {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #212529;
    border: none;
    box-shadow: none;
    text-shadow: none;
}

.master-select-autocomplete .ts-wrapper.single.focus .ts-control {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.autocomplete-filter .ts-wrapper.single .ts-control .item {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #212529;
    border: none;
    box-shadow: none;
    text-shadow: none;
}

/* Hotel Stars Picker */
.hotel-stars-picker {
    display: inline-flex;
    gap: 0.25rem;
}

.hotel-stars-picker__star {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: #c6c6c6;
    cursor: pointer;
}

.hotel-stars-picker__star.is-active {
    color: #f0ad1e;
}

.direction-report-placement-table {
    min-width: 48rem;
    width: 100%;
    table-layout: fixed;
}

.direction-report-placement-table__col-placement {
    width: 26rem;
}

.direction-report-placement-table__col-operator {
    width: 10.5rem;
}

.direction-report-placement-table th,
.direction-report-placement-table td {
    vertical-align: top;
    padding: 0.45rem 0.55rem;
    line-height: 1.2;
}

.direction-report-placement-table__placement {
    background: #fff;
}

.direction-report-placement-table__toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.direction-report-placement-table__toggle-icon {
    position: relative;
    flex: 0 0 0.75rem;
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.2rem;
}

.direction-report-placement-table__toggle-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.direction-report-placement-table__toggle.is-expanded .direction-report-placement-table__toggle-icon::before {
    transform: rotate(45deg);
}

.direction-report-placement-table__toggle-content {
    min-width: 0;
}

.direction-report-placement-table__title {
    margin-bottom: 0.15rem;
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.direction-report-placement-table__meta {
    color: #6b7280;
    font-size: 0.79rem;
    line-height: 1.15;
}

.direction-report-placement-table__price {
    display: inline-block;
    padding: 0.28rem 0.48rem;
    border-radius: 0.45rem;
    background: #eef6ff;
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    line-height: 1.1;
    max-width: 100%;
    white-space: nowrap;
}

.direction-report-placement-table__price:hover {
    background: #dbeafe;
    color: #0a58ca;
}

.direction-report-placement-table__price--reference {
    background: #e9f2ff;
    border-color: #bfd6ff;
    color: #0a58ca;
}

.direction-report-placement-table__price--positive {
    color: #166534;
}

.direction-report-placement-table__price--negative {
    color: #991b1b;
}

.direction-report-placement-table__delta-inline {
    margin-left: 0.08rem;
    font-size: 0.78em;
    font-weight: 600;
    white-space: nowrap;
}

.direction-report-placement-table__delta-inline--positive {
    color: #166534;
}

.direction-report-placement-table__delta-inline--negative {
    color: #991b1b;
}

.direction-report-placement-table__offers-inline {
    margin-left: 0.08rem;
    font-size: 0.82em;
    font-weight: 600;
    opacity: 0.78;
    white-space: nowrap;
}

.direction-report-placement-table__price--positive-up_to_2 {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.direction-report-placement-table__price--positive-up_to_5 {
    background: #dcfce7;
    border-color: #86efac;
}

.direction-report-placement-table__price--positive-up_to_10 {
    background: #bbf7d0;
    border-color: #4ade80;
}

.direction-report-placement-table__price--positive-over_10 {
    background: #86efac;
    border-color: #22c55e;
}

.direction-report-placement-table__price--negative-up_to_2 {
    background: #fff7ed;
    border-color: #fed7aa;
}

.direction-report-placement-table__price--negative-up_to_5 {
    background: #ffedd5;
    border-color: #fdba74;
}

.direction-report-placement-table__price--negative-up_to_10 {
    background: #fee2e2;
    border-color: #fca5a5;
}

.direction-report-placement-table__price--negative-over_10 {
    background: #fca5a5;
    border-color: #f87171;
}

.direction-report-placement-table__price--positive-up_to_2:hover,
.direction-report-placement-table__price--positive-up_to_5:hover,
.direction-report-placement-table__price--positive-up_to_10:hover,
.direction-report-placement-table__price--positive-over_10:hover {
    color: #14532d;
}

.direction-report-placement-table__price--negative-up_to_2:hover,
.direction-report-placement-table__price--negative-up_to_5:hover,
.direction-report-placement-table__price--negative-up_to_10:hover,
.direction-report-placement-table__price--negative-over_10:hover {
    color: #7f1d1d;
}

.direction-report-placement-table__summary-row > * {
    border-bottom-width: 0;
}

.direction-report-placement-table__detail-row > th,
.direction-report-placement-table__detail-row > td {
    background: #fafcff;
}

.direction-report-placement-table__detail-row .direction-report-placement-table__title {
    font-size: 0.88rem;
}

.direction-report-placement-table__detail-row .direction-report-placement-table__meta {
    font-size: 0.75rem;
}

.direction-report-placement-table__placement--detail {
    padding-left: 2rem;
}

.direction-report-view-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.direction-report-view-switch__label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
}

.direction-report-submit-spinner {
    width: 0.9rem;
    height: 0.9rem;
}
