body{
    background-color: white!important;
}
.mob-version{
    display: none!important;
}

.search-div {
    /*height:40px ;*/
    border: 1px solid grey;
    border-radius: 8px;
    margin: 0 10px;
    align-items: start;
}
.form-label {
    margin-bottom: 0 !important;
    padding: 0;
    color: grey;

}
.form-control{
    color: black!important;
 }
.form-control::placeholder{
    color:#495057 ;
}
.form-control:focus {
    box-shadow: none;
}
.form-select {
    width: 100%;
    height: 38px !important;
    border-radius: 4px !important;
    border-color: #ced4da!important;
    color: gray !important;
    padding: .375rem 0.37rem;
    margin-left: 5px;
}
.form-select:focus-visible{
    outline: none!important;
}
.form-select:focus{
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.form-select option[value=""] {
    color: gray!important;
}

.form-select:valid {
    color: black; /* цвет текста после выбора */
}

.search-div {
    /*height:40px ;*/
    border: 1px solid grey;
    border-radius: 8px;
    margin: 0 10px;
    align-items: start;
}
.search-div .form-control{
    margin-left: 4px;
}


.form-label {
    margin-bottom: 0 !important;
    padding: 0 .75rem;
    color: grey;
}

a, .breadcrumb-item {
    color: grey
}

.data-row .nav-tabs {
    border-bottom: none;

}

.date-tabs .nav-link.active {
    background-color: #2d84bb;
    color: white;
    font-weight: bold;

}

.date-tabs .nav-link {
    border-radius: 8px;
    border: 1px solid #b7b7b7;
    margin: 0 5px;
}

.data-div {
    border: 1px solid #b7b7b7 !important;
    border-radius: 8px !important;
}

a {
    text-decoration: none;
}

.trip-card {
    border-left: 5px solid #2d84bb;
}

.btn-success {
    background-color: #2d84bb;
    border-color: #2d84bb;
}

.text-danger {
    color: #2d84bb !important;
}

.date-tabs .nav-link {
    color: black;
}

.data-passenger, .passenger-contact {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.form-label-small {
    font-size: 0.85rem;
    color: #6c757d;
}

.seatsWrap {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: column;

}

.seatsAndMap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;

}

.bookAndPay {
    display: flex;
    justify-content: space-between;
}

/*book*/

.divCard {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid inherit;
}

.payTicket {
    border: 1px solid #c6c2c2;
    border-radius: 8px;
}

.pay {
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    height: 60vh
}

.payTicket {
    height: 80px;
}

#passengers:focus-visible, #passengers {
    border: none;
    outline: none;
}


.col-md-1-5 {
    flex: 0 0 15%;
    max-width: 15%;
}

.col-md-1-4 {
    flex: 0 0 11%;
    max-width: 11%;
    margin: 0 10px;
}


/*beket*/
/* Вся полоса прокрутки */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Трек (фон за ползунком) */
::-webkit-scrollbar-track {
    background: #ffffff;
}

/* Сам ползунок */
::-webkit-scrollbar-thumb {
    background: #2d84bb;
    border-radius: 4px;
}

/* При наведении */
::-webkit-scrollbar-thumb:hover {
    background: #2b7bb1;
}

#flight-results {
    width: 100%;
}

.wrapTicket {
    position: relative;
    flex: 1 1 100%;
    margin-right: -1px;
    margin-left: -1px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 100%;
}

.style-text-banner {
    margin-top: 105px;
    margin-bottom: 30px;
}

.ticket-forms {
    position: relative;
    gap: 10px;
    width: 100%;
}

.div {
    display: block;
    unicode-bidi: isolate;
}

.style-arrow {
    position: absolute;
    top: calc(50% - 8px);
    right: 13px;
    z-index: 1;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transform: scaleX(-1);
    transition: transform 150ms;
}

.ticket_form {
    position: relative;
    display: inline-block;
    min-height: 56px;
    font-size: 16px;
    cursor: text;
    transition: 0.15s ease-in-out;
    width: 100%;
    color: white;
}

.ticket_form input {
    padding: 26px 30px 10px 12px;
    font-size: 16px;
    text-overflow: ellipsis;
    border: none;
    /*border-radius: initial;*/
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    outline: none;
    appearance: none;
    width: 100%;
}

.ticket_formDate {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 10px;
}

.label-ticket {
    left: 12px;
    z-index: 1;
    max-width: calc(100% - 40px);
    margin: 0;
    overflow-x: hidden;
    font-size: 16px;
    color: rgb(180, 171, 171);
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transition: 0.15s ease-in-out;
    transform: translateY(-2px);
}
.swap-icon {
    position: absolute;
    top: calc(50% - 6px);
    right: 15px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer !important;
    transform: scaleX(-1);
    transition: transform 150ms;
    color: #f9354d;
    background-color: white;
    padding-right: 8px;
}


.swap-icon.rotated {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.user-icon, .calendar-icon {
    position: absolute;
    top: calc(50% - 6px);
    right: 15px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer !important;
    transform: scaleX(-1);
    transition: transform 150ms;
    color: #f9354d;
    pointer-events: none;
    background-color: white;
    padding-right: 8px;
}
.calendar-icon.reserve{
    position: absolute;
    top: calc(50% - 2px)!important;
    right: 20px;
    color: black!important;
    z-index: 0!important;
}
.passenger-selector {
    position: relative;
    width: 100%;
    height: 62px;
}

.passenger-dropdown{
    display: none;
    position: absolute;
    top: 62px;
    right: 0;
    width: 180px;
    border-radius: 4px;
    border: none;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    background-color: white;
}

.passenger-selector.active .passenger-dropdown {
    display: block;
}

.counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    margin-top: 5px;
}

.counter button {
    width: 25px;
    height: 25px;
    background: #2d84bb;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.counter span {
    width: 20px;
    text-align: center;
}

ul.list-group {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
    width: 100%;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.28);


}

ul.list-group li {
    padding: 8px 12px;
    cursor: pointer;
}

.list-group-item {
    border: none;
}

.searchBtn {
    height: 62px;
    width: 100%
}

.searchBtn:active, .searchBtn:focus-visible, .searchBtn:focus, .searchBtn:hover {
    background-color: #2d84bb !important;
    border-color: #2d84bb !important;
    box-shadow: 0 4px 10px rgba(45, 132, 187, 0.5) !important;

}
.flatpickr-calendar.animate.open{
    animation: none!important;
}
.flatpickr-calendar {
    margin-top: 2px!important;
    border-radius: 4px!important;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.28)!important;
    font-family: 'Segoe UI', sans-serif!important;
}
.flatpickr-current-month span.cur-month{
    font-weight: unset!important;
    color: black;
}
.flatpickr-day.flatpickr-disabled,  .flatpickr-day.flatpickr-disabled:hover{
    color: rgba(57, 57, 57, 0.4)!important;
}
.custom-date-input {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
    position: relative;
    background-color: #fff;
    transition: border 0.2s ease-in-out;
}

.custom-date-input:focus {
    outline: none;
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}
.card-body.ticket {
    /*width: 970px;*/
    width: 87%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: auto;
    height: auto;
    gap: 110px;
}


.card-bodyBottom {
    bottom: 0;
    left: 0;
    background-color: #d5d4d2;
    width: 100%;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.card-bodyBottom .card-text {
    font-size: 13px;
}
.card-text{
    gap: 75px;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin: 0 21px 25px 0;
}

.price .card-text {
    font-size: 29px
}

.price .card-text span {
    font-size: 18px
}

.price .btn {
    font-size: 20px
}
.point-card{
    color: #2d84bb;
    width: 164px;
}
.street-card{
    font-size: 12px;
    color: #6d6d6d;
    width: 148px;
}
.time-card{
    font-size: 31px;
    color: #2d84bb;
    font-weight: bold;
}

.style-input .search-ticket {
    height: 62px;
    width: 100%;
}

.divider {
    position: absolute;
    border-left: 2px dotted #c9c5c5;
    height: 91%;
    margin: 0 20px;
    right: 190px;
    z-index: 10;
    top: 0;
}

.rounded.info {
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.wrapBookScheme, .wrapReservation {
    height: auto;
}

.info-container {
    position: relative;
    max-width: 925px;
    width: 100%;
    padding: 0px 32px;
    margin: 0px auto;
}

.rounded.seat {
    margin: auto;
    width: 67%;
    height: auto;
}

.rounded.scheme {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.invisible {
    visibility: hidden;
}

#showSeatScheme {
    visibility: hidden;
    max-width: 920px;
    margin: 25px 65px 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seat-row {
    display: flex;
    flex-direction: row;
}



.seat-btn {
    width: 40px;
    height: 30px;
    margin: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.details-toggle-wrap{*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*}*/
.seatScheme{
    position: relative;
}
.steering-wheel-wrap{
    width: 40px;
    height: 40px;
    right: 20px;
    top: 45px
}
.steering-wheel{
    width: 40px;
    height: 40px;
    transform: rotate(90deg);
}
.steering-wheel.reserveImg{
    margin: 20px 5px 0 0;
}

.pointCardWrap{
    width: 100%;
}
.details-toggle {
    right: 50px;
    color: #2d84bb;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-bottom: 10px;
}

.details-toggle i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.details-toggle.active i {
    transform: rotate(180deg);
}

.details-toggle:focus-visible, .details-toggle:focus {
    outline: none;

}

.details-content {
    /*position: relative;*/
    max-height: 0;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.details-content.open {
    max-height: 500px;
}

.content-block {
    transition: transform 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
}

.hidden {
    max-height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
}
.btn-primary[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
/*modal*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: 99999999999999999;
}
.modal-content.requirements {
    padding: 20px 30px;
    border-radius: 8px;
    text-align: left;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}


.flatpickr-calendar {
    font-size: 13px;
    transform: scale(0.85);
    transform-origin: top left;
    color: white;
}

.flatpickr-day.today {
    border-color: #2d84bb;
}

.circle {
    width: 10px;
    height: 10px;
    background-color: #E53935;
    border-radius: 50%;
    z-index: 2;
}

.dotted-line {
    width: 1px;
    background: repeating-linear-gradient(
        to bottom,
        #aaa,
        #aaa 2px,
        transparent 2px,
        transparent 6px
    );
    flex-grow: 1;
}
.loader-container{
    position: absolute;
    top: 50%;
    left: 50%;
}
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
}
#scheme-wrapper .loader-container{
    top: 33%;
    left: 44%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container.one {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.input-error{
    border-color: red !important;
}
.customSelectWithSearch.input-error {
    border: 1px solid red !important;
}
.iti.input-error .iti__flag-container,
.iti.input-error input {
    border: 1px solid red !important;
}
.customSelectWithSearch.input-error {
    border: 1px solid red !important;
    border-radius: 6px;
}
.selectBlock.input-error {
    border: 1px solid red !important;
    border-radius: 6px;
}

.custom-container .select2-selection {
    background-color: #f0f8ff;
    border: 2px solid #992a8d;
    border-radius: 8px;
}
.select2-single:focus-visible{
    outline: none!important;
}
.select2-search__field:focus{
    outline: none!important;
}
.select2-selection__rendered:focus-visible{
    outline: none!important;
}
[id^="citizenship-"]+ .select2-container .select2-selection--single {
    height: 37px;
}
.select2-selection__rendered{
    margin: 3px;
    color: black!important;
    border-color: #ced4da!important;
}
.select2-selection__placeholder{
    color: black!important;
}
.select2-selection__arrow{
    top: 3px!important;
}
.iti{
    width: 100%;
    margin-top: 10px;
}
.form-control::placeholder{
    color: #0000004a;
}
.scheme {
    display: none;
}
.scheme.active {
    display: flex;
}
.customSelectWithSearch {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.selectBlock {
    border: 1px solid #ced4da;
    padding: 6px;
    padding-left: 12px;
    border-radius: 4px;
    cursor: pointer;
}

.wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-top: 4px;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}

.searchInput {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #000000;
    outline: none;
    box-sizing: border-box;
}

.searchSelectUl {
    list-style: none;
    margin: 0;
    padding: 0;
}

.searchSelectUl li {
    padding: 8px 10px;
    cursor: pointer;
    color: #000000;
}

.searchSelectUl li:hover {
    background: #ffffff;
}

.searchSelectUl li.selected {
    background: #007bff;
}

.rounded.info-flight{
    height: auto;
    width: 21%;
    position: fixed;
    right: 14%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.rounded.reserve-ticket, .info-contact{
    box-shadow:  0 0 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}
.reserveStatus{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dotted-line {
    width: 1px;
    background: repeating-linear-gradient(
        to bottom,
        #aaa,
        #aaa 2px,
        transparent 2px,
        transparent 6px
    );
    flex-grow: 1;
}

.dotted-line.flight {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #aaa,
        #aaa 2px,
        transparent 2px,
        transparent 6px
    );
    flex-grow: 1;
}
.stopover-modal {
    position: absolute;
    top: 0;
}

.stopover {
    display: flex;
    align-items: start;
    gap: 5px;
}

.stopover p {
    color: var(--text-2);
}

.countSeat span {
    color: rgb(50, 196, 83);
}
.stopover-icon path {
    fill: black; /* цвет для светлой темы */
}

.stopover-text {
    color: black;
}

.stopover-icon path {
    fill: black;
}

.stopover-text {
    color: black;
}

.points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    color: black;
    width: 55%;
}
.points h4 {
    font-size: 38px;
    color: #2d84bb;
}
.timeDate {
    display: flex;
    flex-direction: column;
    align-items: start;
    color: black;
}

.timeDate p {
    font-size: 24px;
    margin-bottom: 0;
}

.timeDate span {
    color: black;
}
.stopover-modal, .flight-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-size: 20px;
}
.stopoverModalWrap button, .flight-details-btn {
    display: flex;
    align-items: end;
    gap: 8px;
    color: #2d84bb;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.stopoverModalWrap button:focus-visible, .stopoverModalWrap button:focus {
 outline: none;
}
.stopover-modal-content {
    padding: 20px;
    border-radius: 10px;
    max-width: 750px;
    height: 580px;
    width: 100%;
}
.via-points-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    height: 580px;
    width: 100%;
}
.labelWrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;

}
.labelStopover {
    flex: 1;
}
.stopover-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.stopover-header input {
    margin-right: 8px;
    cursor: pointer;

}
.stopover-name {
    font-weight: 500;
}
.stopover-prices {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    margin-left: 24px;
}
.stopover-btn {
    background: #2E5ED5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    transition: background 0.3s;
}
button:disabled, [type=button]:disabled, [type=submit]:disabled, [type=reset]:disabled {
    cursor: not-allowed;
    background-color: #555;
    border-color: #555;
    color: #ccc;
}
