/* Guide Dropdown Styling - New Layout */
.st-guide-selection {
    margin-bottom: 20px;
}

.st-guide-selection .guide-main-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    padding-left: 4px;
}

.st-guide-selection .guide-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.st-guide-selection .guide-selected-display {
    margin-top: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #5191fa;
    font-size: 13px;
}

.st-guide-selection .guide-selected-text {
    color: #666;
}

.st-guide-selection .guide-selected-text .guide-price-display {
    color: #5191fa;
    font-weight: 600;
    margin-left: 8px;
}

.guide-select-btn {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.guide-select-btn:hover {
    border-color: #5191fa;
    box-shadow: 0 2px 8px rgba(81, 145, 250, 0.15);
    background: #f8f9ff;
}

.guide-select-btn:focus {
    outline: none;
    border-color: #5191fa;
    box-shadow: 0 0 0 2px rgba(81, 145, 250, 0.2);
}

.guide-select-btn .fa-angle-down {
    color: #666;
    transition: transform 0.3s ease;
}

.guide-select-btn.active .fa-angle-down {
    transform: rotate(180deg);
}

.guide-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
}

.guide-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.guide-option:last-child {
    border-bottom: none;
}

.guide-option:hover {
    background: #f8f9ff;
}

.guide-option.active {
    background: #e8f2ff;
    border-left: 3px solid #5191fa;
}

.guide-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guide-flag {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 8px;
}

.guide-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.guide-price {
    font-size: 13px;
    font-weight: 600;
    color: #5191fa;
}

/* Custom scrollbar for dropdown */
.guide-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.guide-dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.guide-dropdown-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.guide-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Cart Guide Information Styling */
.guide-price-badge {
    display: inline-block;
    background: #5191fa;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.booking-item-meta .guide-price-badge {
    background: #e8f2ff;
    color: #5191fa;
    border: 1px solid #5191fa;
}

/* Guide row in price breakdown table */
.table_checkout tr td.title {
    font-weight: 500;
    color: #333;
}

.table_checkout .guide-row {
    background: #f8f9ff;
}

.table_checkout .guide-row td {
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

/* Style guide meta item */
.booking-item-meta .guide-meta-item {
    background: #f8f9ff;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 4px 0;
}

.booking-item-meta .guide-meta-item .label {
    color: #5191fa;
    font-weight: 600;
}

.booking-item-meta .guide-meta-item .value {
    color: #333;
    font-weight: 500;
}

/* Checkout Guide Information Styling */
/*.guide-checkout-info {*/
/*    background: #f8f9ff !important;*/
/*    border-left: 3px solid #5191fa !important;*/
/*    border-radius: 4px !important;*/
/*    margin: 4px 0 !important;*/
/*}*/

/*.guide-checkout-info .label {*/
/*    color: #5191fa !important;*/
/*    font-weight: 600 !important;*/
/*}*/

/*.guide-checkout-info .value {*/
/*    color: #333 !important;*/
/*    font-weight: 500 !important;*/
/*}*/

.guide-price-checkout {
    display: inline-block;
    /*background: #5191fa;*/
    color: #5E6D77;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/*.guide-checkout-price-row {*/
/*    background: #f8f9ff !important;*/
/*    border-left: 3px solid #5191fa !important;*/
/*    border-radius: 4px !important;*/
/*    margin: 4px 0 !important;*/
/*    padding: 8px 12px !important;*/
/*}*/

/*.guide-checkout-price-row .label {*/
/*    color: #5191fa !important;*/
/*    font-weight: 600 !important;*/
/*}*/

/*.guide-checkout-price-row .value {*/
/*    color: #333 !important;*/
/*    font-weight: 600 !important;*/
/*}*/

.form-group.st-guide-selection{
    margin: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .st-guide-selection .guide-main-label {
        font-size: 13px;
    }
    
    .guide-select-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .guide-option {
        padding: 10px 12px;
    }
    
    .guide-dropdown-list {
        max-height: 200px;
    }
    
    .st-guide-selection .guide-selected-display {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .guide-price-checkout {
        font-size: 10px;
        padding: 1px 6px;
    }
}

/* Success Page Guide Information Styling */
.guide-success-info {
    background: #f8f9ff !important;
    border-left: 3px solid #5191fa !important;
    border-radius: 4px !important;
    margin: 4px 0 !important;
    padding: 8px 12px !important;
}

.guide-success-info .label {
    color: #5191fa !important;
    font-weight: 600 !important;
}

.guide-success-info .value {
    color: #333 !important;
    font-weight: 500 !important;
}

.guide-price-success {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* Extra Items Styling */
.extra-value {
    background: #f8f9fa !important;
    border-left: 3px solid #fd7e14 !important;
    border-radius: 4px !important;
    margin: 4px 0 !important;
    padding: 8px 12px !important;
}

.extra-value span {
    color: #333 !important;
    font-weight: 500 !important;
    display: block;
    margin-bottom: 4px;
}

.extra-value span:last-child {
    margin-bottom: 0;
}

/* Extra label styling */
li:has(.extra-value) .label,
li .label:contains('Extra') {
    color: #fd7e14 !important;
    font-weight: 600 !important;
} 