.authorization {
    height: calc(100vh - 174px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.authorization__content {
    width: 320px;
}
.ml_auto {
    margin-left: auto;
}
.error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
.notice-container {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.flyer {
    position: fixed;
    width: 400px;
    left: 50%;
    top: -50%;
    margin-left: -200px;
    transition: top 0.5s;
    opacity: 0.8;
    z-index: 9999;
}
.flyer div {
    box-shadow: 1px 2px 4px gray;
}
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.room_type_block input {
    margin: 5px 0 10px;
}
.room_type_block{
    position: relative;
}
.delete-button-room-type{
    position: absolute;
    right: -30px;
    top: 8px;
}
.transport-toggle {
    margin-right: 15px;
    cursor: pointer;
}
.chevron-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}
.transport-toggle.open .chevron-icon {
    transform: rotate(180deg);
}
.details-grid {
    display: flex;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    padding: 15px;
}

.details-column {
    flex: 1;
    padding: 0 10px;
    min-width: 0;
}

.details-header {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.details-content {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}
.list-item .subtitle-inner.hidden {
    display: none;
}
.zero-opacity {
    opacity: 0;
}

/* Стили для модального окна квот */
.input-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.input-group {
    flex: 0 0 200px;
}

.calendar-group {
    flex: 1;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.number-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

.number-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.calendar {
    position: relative;
}

.date-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: white;
}

.date-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.date-field:hover {
    border-color: #0073aa;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .input-group {
        flex: none;
        width: 100%;
    }
    
    .calendar-group {
        flex: none;
        width: 100%;
    }
}

.drag-handle {
    display: block;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: grab;
    color: #6c757d;
    border-radius: 4px;
    transition: all 0.2s ease;
    /* flex-shrink: 0; */
    position: absolute;
    left: 10px;
    top: 45px;
}

.drag-handle:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Sortable container */
.js-sortable-room-types {
    position: relative;
}

/* Dragging states */
.sortable-item.dragging {
    opacity: 0.5;
    background-color: #f8f9fa;
}

.drag-ghost {
    background-color: #ffffff;
    border: 2px dashed #007bff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: rotate(2deg);
}

.sort-placeholder {
    background-color: #e3f2fd;
    border: 2px dashed #2196f3;
    border-radius: 8px;
    margin: 5px 0;
    opacity: 0.7;
    transition: all 0.2s ease;
}

/* Body state when dragging */
body.dragging-active {
    cursor: grabbing;
    user-select: none;
}

body.dragging-active * {
    cursor: grabbing !important;
}

/* Sort indicators */
.sort-indicator {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    position: relative;
    animation: slideDown 0.3s ease;
}

.sort-indicator.saving {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.sort-indicator.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.sort-indicator.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

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

/* Sort notice */
.sort-notice {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-notice::before {
    content: "ⓘ";
    font-size: 16px;
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .drag-handle {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }

    .sort-notice {
        font-size: 14px;
        padding: 8px;
    }

    .sortable-item {
        margin-bottom: 5px;
    }
}

/* Accessibility */
.drag-handle:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Animation for smooth transitions */
.sortable-item {
    transition: all 0.2s ease;
}

.sortable-item:not(.dragging):hover {
    background-color: #f8f9fa;
}

/* Loading animation for saving indicator */
.sort-indicator.saving::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #856404;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.list-item.sortable-item {
    padding: 24px 24px 24px 35px;
    position: relative;
}
a.rooms_tabel::before {
    display: block;
    content: "";
    position: relative;
    width: 21px;
    border-bottom: solid 1px #000;
    top: -9px;
    rotate: 35deg;
    right: -15px;
}
a.rooms_tabel::after {
    display: block;
    content: "";
    position: relative;
    width: 22px;
    border-bottom: solid 1px #000;
    top: -30px;
    rotate: -35deg;
    left: -3px;
}
a.rooms_tabel {
    display: block;
    background: #000;
    color: #fff;
    padding: 3px;
    text-align: center;
    border-radius: 3px;
    width: 40px;
    font-size: 10px;
    height: 25px;
    font-family: 'Roboto';
}
a.rooms_tabel span{
    display: block;
    margin-top: -3px;
}
.italic_underline_dotted{
    font-style: italic;
    text-decoration: underline dotted;
}
.c_pointer{
    cursor: pointer;
}
.group-controls {
    display: flex;
    gap: 5px;
}
.button_orange {
    color: #ff9500;
    border: 1px solid #ff9500;
    background: rgba(255, 149, 0, 0.03);
}
.button_orange .delete-button:before{
    background-color: #ff9500;
}
.head-filter__item .search-field {
    padding-left: 2.375rem;
}

.head-filter__item .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}