.new-request-body {
    display: flex;
}

.new-request-sidebar {
    width: 320px;
    height: 100%;
    position: fixed;
    padding-top: 32px;
    padding-right: 24px;
    padding-bottom: 32px;
    padding-left: 24px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.new-request-content {
    margin-left: 320px;
}

.new-request-body > :nth-child(2) {
    flex: 1;
    padding: 80px;
    padding-bottom: 160px;
}

.hotel-selection-container {
    padding: 0!important;
}

.hotel-selection-container .new-request-content {
    margin-left: 368px;
}

.new-request-sidebar-item {
    gap: 14px;
    display: flex;
    align-items: center;
}

.new-request-sidebar-item-icon {
    border: 1px solid var(--gray-600);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    color: var(--gray-600);
    position: relative;
}

.new-request-sidebar-item.active .new-request-sidebar-item-icon {
    border-color: var(--green-400);
    background: var(--green-400);
    color: white;
}

.new-request-sidebar-item.active .new-request-sidebar-item-content > div:first-child {
    color: var(--green-400);
}

.new-request-sidebar-item:not(:last-child) .new-request-sidebar-item-icon::after {
    content: '';
    position: absolute;
    top: 112%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gray-300);
    width: 2px;
    height: 24px;
}

.new-request-sidebar-item-content {
    flex: 1;
    gap: 4px;
}

.new-request-sidebar-item-content > div:first-child {
    color: var(--gray-800);
}

.new-request-sidebar-item-content > div:last-child {
    color: var(--gray-500);
}

.new-request-sidebar-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.new-request-sidebar-item.disabled .new-request-sidebar-item-icon {
    border-color: var(--gray-400);
    background: var(--gray-200);
    color: var(--gray-400);
}

.new-request-sidebar-item.disabled .new-request-sidebar-item-content > div:first-child {
    color: var(--gray-400);
}

.new-request-sidebar-item.disabled .new-request-sidebar-item-content > div:last-child {
    color: var(--gray-400);
}

.new-request-form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 52px;
}

.new-request-form-section-title {
    color: var(--black);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-selection-container .new-request-form-section {
    margin-bottom: 0;
}

.view-switch {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    cursor: pointer;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    box-sizing: border-box;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: -19px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 10px 8px 10px;
    background: #F7F7F7;
    border: 1px solid #E5E5E5;
    border-radius: 72px;
    transition: 0.3s;
}

.slider::before {
    content: '';
    position: absolute;
    width: 65px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #54998F;
    border-radius: 72px;
    transition: transform 0.3s ease;
    z-index: 1;
    left: 10px;
}

.switch input:checked ~ .slider::before {
    transform: translateX(65px);
}

.slider-label {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
    width: 65px;
    height: 40px;
    font-family: 'Lufga';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #292929;
    border-radius: 72px;
    transition: opacity 0.2s ease;
    z-index: 2;
    flex: none;
    order: 0;
    flex-grow: 0;
    background: transparent;
    border: none;
    opacity: 0.6;
}

.switch input:not(:checked) ~ .slider .grid-view,
.switch input:checked ~ .slider .map-view {
    opacity: 1;
}

.selected-hotel-overlay {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    max-width: 309px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    overflow: hidden;
}

.new-request-form-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-request-form-section-description {
    color: var(--gray-500);
}

.new-request-form > form {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.room-selection-tile {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    cursor: pointer;
    background-color: var(--white);
}

.room-selection-tile:has(input:checked) {
    border-color: var(--green-400);
}

.room-selection-tile-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-selection-tile-label {
    color: var(--gray-800);
}

.room-selection-tile-description {
    color: var(--gray-500);
}

.custom-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.custom-radio:checked {
    border-color: var(--green-400);
    background: var(--green-400);
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox:checked {
    border-color: var(--green-400);
    background: var(--green-400);
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.logistic_tile_wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.logistic_tile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 24px 24px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    transition: all 0.2s ease;
}

.logistic_tile.has-error {
    border-color: #DC2626;
}

.logistic_tile_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logistic_tile_content .icon {
    height: 48px;
}

.logistic_tile_content legend {
    font-size: 24px;
    line-height: 100%;
    font-weight: 400;
    color: var(--gray-800);
    padding: 0;
    margin: 0;
    float: none;
    width: auto;
}

.logistic_tile_choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logistic_tile_choices label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
}


.response-deadline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.response-deadline-tile {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    cursor: pointer;
    background-color: var(--white);
    min-height: 100px;
    transition: all 0.2s ease;
}

.response-deadline-tile:has(input:checked) {
    border-color: var(--green-400);
}

.response-deadline-tile.has-error {
    border-color: #DC2626;
}


.response-deadline-tile-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}

.response-deadline-tile-label {
    text-align: left;
}

.response-deadline-tile-description {
    text-align: left;
}

.hotel_tile {
    height: 100%;
    display: flex;
}

.hotel_tile_container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    width: 100%;
}

.hotel_tile .hotel_tile_container > .hotel_tile_content {
    margin-bottom: 24px;
}

.hotel_tile .hotel_tile_container > .selection_button,
.hotel_tile .hotel_tile_container > .selection-status-container {
    margin-bottom: 8px;
}

.hotel_tile:has(input:checked) {
    border-color: var(--green-400);
}

.hotel_tile_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hotel-logo {
    width: 100%;
    height: 209px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.hotel-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-checkbox {
    position: absolute;
    top: 12px;
    right: 12px;
}

.hotel-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hotel-name-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotel-name-stars .h5 {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.hotel-name-stars .h5:hover {
    text-decoration: none;
    color: inherit;
}

.hotel-stars {
    display: flex;
    gap: 4px;
}

.hotel-amenities {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotel-amenity {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.details_button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    width: 100%;
    height: 56px;
    background: #FBFDFD;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    font-family: 'Lufga';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #424242;
    cursor: pointer;
    text-decoration: none;
    justify-content: center;
    transition: all 0.2s ease;
}

.details_button:hover {
    background: var(--green-50);
    border-color: var(--green-300);
}

.selection_button {
    height: 48px;
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 0;
}

.selection_button:hover {
    opacity: 0.9;
}

@keyframes expandToFull {
    0% {
        width: 132px;
        margin-left: auto;
    }
    99% {
        width: 100%;
        margin-left: auto;
    }
    100% {
        width: 100%;
        margin-left: 0;
    }
}

@keyframes expandToFixed {
    0% {
        width: 132px;
    }
    100% {
        width: 270px;
    }
}

@keyframes shrinkToButton {
    0% {
        width: 100%;
    }
    1% {
        width: 100%;
    }
    100% {
        width: 132px;
    }
}

@keyframes shrinkFromFixed {
    0% {
        width: 270px;
    }
    100% {
        width: 132px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.selection_button.add {
    width: 100%;
    background-color: #428A81;
    color: white;
}

.selection_button.add.animate {
    animation: expandToFull 0.2s ease;
}

.selection_button.remove {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 32px;
    gap: 10px;
    width: 132px;
    height: 48px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid #FF3B30;
    border-radius: 16px;
    flex: none;
    order: 1;
    flex-grow: 0;
    font-family: 'Lufga';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #FF3B30;
    cursor: pointer;
    margin-bottom: 0;
}

.selection_button.remove.animate {
    animation: shrinkToButton 0.2s ease;
}

.selection_button.remove:hover {
    background: rgba(255, 59, 48, 0.15);
}

.selection-status-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin-bottom: 0;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.selection-status {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    height: 24px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.selection-status.animate {
    animation: slideInFromLeft 0.2s ease;
}

.selection-status span {
    height: 24px;
    font-family: 'Lufga';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    color: var(--green-400);
    flex: none;
    order: 0;
    flex-grow: 0;
}

.selection-status .check-icon {
    width: 24px;
    height: 24px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(309px, 1fr));
    gap: 24px;
    padding: 48px;
    margin-bottom: 52px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-stars {
    display: flex;
    gap: 4px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-category {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-category-title {
    font-family: 'Lufga';
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: var(--black);
}

.recap-tile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 32px 32px 32px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
}

.room-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.room-assignment-warning {
    color: #FF3B30;
}

.room-assignment-warning span {
    font-weight: 500;
}

.room-assignment-success {
    color: var(--green-400);
}

.room-assignment-success span {
    font-weight: 500;
}

.room-total-separator {
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}

.recap-tile-hidden {
    visibility: hidden;
}

.room-configuration-type-header {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
}

.new-request-finished-image {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90%;
    background-image: url("../images/new_request/finished-L1sSQ1V.png");
    background-size: cover;
    background-size: 100% 100%;
    z-index: -1;
}

.new-request-finished-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 0;
}

.new-request-finished-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.new-request-finished-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-request-finished-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.paper-plane-icon {
    display: inline;
    width: 64px;
    height: 64px;
    vertical-align: middle;
    margin-left: 16px;
}

.no-hotels-message {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    gap: 24px;
    margin-bottom: 48px;
}

.no-hotels-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    flex: 1;
}

.no-hotels-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
}

.no-hotels-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-hotels-icon img {
    width: auto;
    height: auto;
    max-width: 200px;
}

.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.confirmation-modal-overlay.show {
    display: flex;
}

.confirmation-modal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 40px 40px;
    gap: 24px;
    position: relative;
    width: 666px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
}

.confirmation-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 16px;
    width: 100%;
}

.confirmation-modal-icon {
    width: 71px;
    height: 52px;
    flex: none;
}

.confirmation-modal-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 100%;
}

.confirmation-modal-title {
    width: 100%;
    text-align: center;
    color: var(--gray-800);
}

.confirmation-modal-description {
    width: 100%;
    text-align: center;
    color: var(--gray-500);
}

.confirmation-modal-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
}

.confirmation-modal-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    gap: 10px;
    flex: 1;
    height: 56px;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
}

.confirmation-modal-button.secondary {
    background: var(--green-25);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.confirmation-modal-button.secondary:hover {
    background: var(--green-50);
}

.confirmation-modal-button.primary {
    background: var(--green-500);
    border: none;
    color: var(--white);
}

.confirmation-modal-button.primary:hover {
    background: var(--green-600);
}
