/* Hourly rental widget. Layout, calendar and slot buttons come from booking-frontend.css. */

.wc-rental-prices {
    margin: -8px 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.wc-rental-prices strong,
.wc-rental-prices strong .amount {
    color: #191919;
}

.wc-rental-modes {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.wc-rental-widget .wc-rental-mode-btn {
    flex: 1;
    padding: 10px 12px !important;
    border: 1px solid #e3e6ee !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #333 !important;
    font-weight: 600;
    text-transform: none;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wc-rental-widget .wc-rental-mode-btn:not(.selected):not(:disabled):hover {
    border-color: #2ea2cc !important;
    background: #eef9f7 !important;
}

.wc-rental-widget .wc-rental-mode-btn.selected {
    background: #2ea2cc !important;
    border-color: #2ea2cc !important;
    color: #fff !important;
}

.wc-rental-widget .wc-rental-mode-btn:disabled {
    background: #f5f5f5 !important;
    color: #aaa !important;
    cursor: not-allowed;
}

.wc-rental-note {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
}

.wc-rental-label {
    display: block;
    font-weight: 600;
    color: #555;
    margin: 16px 0 8px;
}

.wc-rental-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e3e6ee;
    border-radius: 999px;
    overflow: hidden;
}

.wc-rental-widget .wc-rental-step {
    width: 44px;
    height: 44px;
    border: none;
    background: #f6f7fa;
    font-size: 20px;
    line-height: 1;
    color: #191919;
    cursor: pointer;
}

.wc-rental-widget .wc-rental-step:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.wc-rental-hours-value {
    min-width: 96px;
    text-align: center;
    font-weight: 600;
}

.wc-rental-summary {
    margin: 20px 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f6f7fa;
}

.wc-rental-summary-time {
    font-size: 14px;
    color: #555;
}

.wc-rental-summary-total {
    margin-top: 4px;
    font-size: 24px;
    font-weight: 700;
    color: #191919;
}

.wc-rental-fp-full {
    background: #00a32a;
    box-shadow: none;
}

.wc-rental-price-note {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #888 !important;
    white-space: nowrap;
}

/* Pay-later widgets would skip the date/time choice */
.product-type-rental [class*="yandex-pay"],
.product-type-rental .ya-pay-widget,
.product-type-rental .yandex-split-widget {
    display: none !important;
}
