.panel-title {
    /* font-family: 'Noto Sans', sans-serif; */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #416CD0;
    /* Цвет заголовка */
}

/* Common icon styles for panel titles */
.panel-title--with-icon {
    position: relative;
    padding-left: 30px;
    /* space for the icon */
    min-height: 32px;
}

.panel-title--with-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7%;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

.panel-title--with-plane::before {
    background-image: url('/images/images/shturman/plane_backgroung.png');
}
.panel-title--with-source::before {
    background-image: url('/images/images/shturman/check_list_icon.png');
}
.panel-title--with-contact-info::before {
    background-image: url('/images/images/shturman/contact_icon.png');
}
.panel-title--with-canceling-term::before {
    background-image: url('/images/images/shturman/canceling-term-icon.png');
}
.panel-title--with-person {
    margin-bottom: 30px;
}
.panel-title--with-person::before {
    background-image: url('/images/images/shturman/tourist-background.png');
}
.panel-title--with-credit-card::before {
    background-image: url('/images/images/shturman/wallet_icon.png');
}
.panel-title--with-price::before {
    background-image: url('/images/images/shturman/dollar_icon.png');
}


.tour-dates {
    background-color: #F8F8F9;
    border-radius: 5px;
    /* mobile default: stack */
    display: block;
}

.tour-date-period {
    position: relative;
    padding-left: 32px;
    /* space for the icon */
    min-height: 32px;
    margin-bottom: 8px;
    /* spacing when stacked on mobile */
}

.tour-date-period::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('/images/images/shturman/calendar-background.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.tour-date-duration {
    position: relative;
    padding-left: 32px;
    /* space for the icon */
    min-height: 32px;
}

.tour-date-duration::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('/images/images/shturman/hour-glas-background.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.info-container {
    border-left: #416CD0 1px solid;
    padding-left: 15px!important;
}
/* Styled label for tourist number */
.tourist-label {
    display: flex;
    /* block-level for margin auto centering */
    align-items: center;
    justify-content: center;
    /* center text horizontally */
    background-color: #416CD0;
    color: #ffffff;
    width: auto!important;
    /* specified width */
    height: 25px;
    /* specified height */
    border-radius: 5px;
    /* specified radius */
    font-size: 14px;
    /* specified size */
    font-weight: 500;
    /* specified weight */
    opacity: 1;
    /* specified opacity */
    margin: 0 auto;
    /* center on mobile */
}

/* Styled label for tourist number */
button.add_pass,
button.remove_pass {
    display: flex;
    /* block-level for margin auto centering */
    align-items: center;
    justify-content: center;
    /* center text horizontally */
    width: 210px;
    /* specified width */
    height: 40px;
    /* specified height */
    border-radius: 10px;
    /* specified radius */
    font-size: 14px;
    /* specified size */
    font-weight: 700;
    /* specified weight */
    opacity: 1;
    /* specified opacity */
    margin: 0 auto;
    /* center on mobile */
}

button.add_pass {
    background-color: #F15B28;
    color: #ffffff;
}

button.remove_pass {
    border-color: #F15B28;
    color: black;
}

/* md and up: place both items on one line */
@media (min-width: 768px) {
    .tour-dates {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .tour-date-period {
        margin-bottom: 0;
        /* remove mobile spacing */
    }
}

/* lg and up: align the tourist label to the left */
@media (min-width: 992px) {
    .tourist-label {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Two-button toggle group */
.my-btn-toggle-group {
    display: inline-flex;
    border: 1px solid #416CD0;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    /* full width on mobile */
}

.my-btn-toggle-group .btn-toggle {
    margin: 0;
    display: flex;
    /* center text vertically */
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #416CD0;
    border: 0;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.2;
    height: 37px;
    /* requested height */
    flex: 1 1 50%;
    /* equal width buttons on mobile */
}

.my-btn-toggle-group .btn-toggle+.btn-toggle {
    border-left: 1px solid #416CD0;
}

.my-btn-toggle-group .btn-toggle.active {
    background: #416CD0;
    color: #ffffff;
}

.my-btn-toggle-group .btn-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(65, 108, 208, 0.2);
}

/* md and up: allow intrinsic sizing */
@media (min-width: 768px) {
    .my-btn-toggle-group {
        width: auto;
    }

    .my-btn-toggle-group .btn-toggle {
        flex: 0 0 auto;
    }
}

/* Three-button options group */
.three-btn-options-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.three-btn-options-group .btn-option {
    width: 200px;
    height: 55px;
    border-radius: 10px;
    padding: 10px;
    background: #EDEDED;
    border: 1px solid #ccc;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 5px;
    padding-left: 30px;
}

.three-btn-options-group .btn-option:hover {
    background: #ddd;
}

.three-btn-options-group .btn-option.active {
    background: #416CD0;
    color: #ffffff;
    border-color: #416CD0;
}

.three-btn-options-group .btn-option:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(65, 108, 208, 0.2);
}

.three-btn-options-group .btn-option.disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.three-btn-options-group .btn-option.disabled:hover {
    background: #f8f9fa;
    color: #6c757d;
}

.btn-option-header {
    /* font-family: 'Noto Sans', sans-serif; */
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
}

.btn-option-desc {
    /* font-family: 'Noto Sans', sans-serif; */
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
}
.three-btn-options-group .btn-option .btn-option-header::before {
    content: "";
    position: absolute;
    transform: translate(-150%, 50%);
    width: 12px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
}
.cash-icon::before {
    background-image: url('/images/images/shturman/cash-icon.png');
}
.credit-card-icon::before {
    background-image: url('/images/images/shturman/credit-card-icon.png');
}
.bank-transfer-icon::before {
    background-image: url('/images/images/shturman/bank-transfer-icon.png');
}

/* Responsive adjustments for three-button group */
@media (max-width: 767px) {
    .three-btn-options-group {
        flex-direction: column;
    }

    .three-btn-options-group .btn-option {
        width: 100%;
    }
}

/* Payment sub-options styling */
.payment-sub-options {
    margin-top: 5px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.payment-sub-options.active {
    opacity: 1;
    max-height: 300px;
    /* Достаточная высота для всех опций */
    height: auto;
}

/* Контейнер для опций оплаты с плавной анимацией */
.payment-options-container {
    transition: all 0.3s ease;
    margin: 0 5px;
}

.payment-sub-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-sub-options li {
    margin-bottom: 10px;
}

.payment-sub-options label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* font-family: 'Noto Sans', sans-serif; */
    font-weight: 500;
}

.payment-sub-options label:hover {
    background: #e9ecef;
    border-color: #416CD0;
}

.payment-sub-options input[type="radio"] {
    margin-right: 10px;
    accent-color: #416CD0;
}

.payment-sub-options input[type="radio"]:checked+span {
    color: #416CD0;
    font-weight: 600;
}

.payment-sub-options input[type="radio"]:checked {
    accent-color: #416CD0;
}

.payment-sub-options label.selected {
    background: #f0f4ff;
    border-color: #416CD0;
}

.payment-sub-options label.selected span {
    color: #416CD0;
    font-weight: 600;
}

/* Price lines group responsive layout */
.price-lines-group {
    display: block;
    background-color: #F8F8F9;
    border-radius: 10px;
    padding: 10px;
}

.price_line {
    /* font-family: Noto Sans; */
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    padding: 10px;
}
.price_line .value {
    font-weight: 700;
    text-align: right;
    text-wrap: nowrap;
}
.total_price_line {
    /* font-family: 'Noto Sans', sans-serif; */
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    padding: 10px;
    margin-top: 10px;
}
.total_price_line .value {
    text-align: right;
    text-wrap: nowrap;
    color: #416CD0;
}

@media (min-width: 768px) {
    .price-lines-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .price_line,
    .total_price_line {
        width: calc(50% - 12px);
        margin-bottom: 0;
    }
}

.event-code-row {
    justify-content: center;
}

@media (min-width: 768px) {
    .event-code-row .col-md-6 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .event-code-row .col-12 {
        margin-bottom: 12px;
    }
}

.buttons-and-total .btn-event-code {
    background-color: #F15B28; 
    color: #fff; 
    font-weight: 700; 
    border-radius: 10px; 
    width: 100%; 
    max-width: 320px; 
    height: auto;
}

.order-source-section .form-check-inline {
    display: block!important;
}
.data-processing-consent {
    line-height: unset;
    border-radius: 10px;
    background-color: #F0F8FF;
    padding: 10px 10px 10px 50px;
}
.data-processing-consent::before {
    content: "";
    position: absolute;
    left: 52px;
    top: 75%;
    width: 30px;
    height: 30px;
    background-image: url('/images/images/shturman/exclamation_mark.png');
    background-repeat: no-repeat;
    background-size: contain;
}
.why-shturman {
    color: #F15B28;
}
