/* Custom Color Overrides for RTBS */
/* This file ensures color settings work properly */

/* Widget Labels */
.rtbs-widget .rtbs-widget-label {
    color: inherit !important;
}

/* Payment Cards */
.rtbs-payment-card {
    background-color: inherit !important;
    color: inherit !important;
}

/* Payment Headers */
.rtbs-payment-header,
.rtbs-payment-header-icon,
.rtbs-payment-header span {
    color: inherit !important;
}

/* Extra Option Prices */
.rtbs-booking-extra-list .rtbs-booking-form-extra-price {
    color: inherit !important;
    background: none !important;
}

/* Extra Option Descriptions */
.rtbs-booking-extra-list .rtbs-booking-form-extra-description {
    color: inherit !important;
}

/* Show More Buttons */
.rtbs-show-more-button > a {
    color: inherit !important;
}

/* Step 2 Show All Button - Ensure white hover text color */
.rtbs-main .rtbs-booking-extra-header .rtbs-show-more-button > a:hover {
    color: white !important;
}

/* Form Borders */
.rtbs-form-field,
.rtbs-ride-info,
.rtbs-payment > li {
    border-color: inherit !important;
}

/* Passengers and Luggage Summary Cards - Override all hover/focus states */
.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card:focus,
.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card:hover {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: #E5E7EB !important;
    text-decoration: none !important;
}

.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}

.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card .rtbs-summary-icon {
    position: absolute;
    left: 12px !important;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    font-size: 20px;
    color: #6B7280 !important;
    pointer-events: none;
    transition: color 0.25s ease;
    line-height: 1;
}

.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card:focus .rtbs-summary-icon,
.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card:hover .rtbs-summary-icon,
.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card.is-active .rtbs-summary-icon {
    color: var(--rtbs-form-primary-color, #022550) !important;
}

.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card .rtbs-summary-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 18px;
    font-weight: 300;
}

.rtbs-main .rtbs-passenger-luggage-summary .rtbs-summary-card .rtbs-summary-value {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.35;
    color: #1F2937 !important;
}

/* Passenger/Luggage Modal Counter Controls */
.rtbs-modal-counter:focus,
.rtbs-modal-counter:hover {
    border-color: var(--rtbs-form-primary-color, #022550) !important;
    box-shadow: 
        0 8px 24px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
    background: rgba(255, 255, 255, 0.85) !important;
    transform: translateY(-1px) !important;
}

/* Plus Button Hover Text Color - White */
.rtbs-counter-button[data-action="increment"]:hover,
.rtbs-counter-button[data-action="increment"]:focus {
    color: white !important;
    background: var(--rtbs-form-primary-color, #022550) !important;
    border-color: var(--rtbs-form-primary-color, #022550) !important;
}

/* Modal Summary Section */
.rtbs-modal-summary {
    background: var(--rtbs-form-light-bg, rgba(2, 37, 80, 0.15)) !important;
    border: 1px solid var(--rtbs-form-border-light, rgba(2, 37, 80, 0.3)) !important;
}

.rtbs-modal-summary-value {
    color: var(--rtbs-form-primary-color, #022550) !important;
}