/* Rental Options Frontend Styles */

.wc-rental-options-wrapper {
    margin: 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.wc-rental-options-wrapper h3 {
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 18px;
}

/* Tab styles */
.wc-rental-tab-headers {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.wc-rental-tab-header {
    padding: 12px 20px;
    cursor: pointer;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

button.wc-rental-go-to-quote {
    background-color: #fff !important;
    color: #ff6600 !important;
    border: 2px solid #ff6600 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    width: 100%;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    margin-top: 10px;
}

.wc-rental-tab-header.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    position: relative;
}

.wc-rental-tab-contents {
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px;
    background-color: #fff;
}

.wc-rental-tab-content {
    display: none;
}

.wc-rental-tab-content.active {
    display: block;
}

/* Rental duration options */
.wc-rental-durations {
    margin-bottom: 20px;
}

.wc-rental-duration-option {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wc-rental-radio-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.wc-rental-radio {
    margin-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.wc-rental-radio:checked {
    border-color: #ff6600;
}

.wc-rental-radio:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ff6600;
    border-radius: 50%;
}

.wc-rental-duration-name {
    flex-grow: 1;
    padding-left: 10px;
    font-size: 15px;
}

.wc-rental-duration-price {
    font-weight: 600;
    font-size: 16px;
    text-align: right;
    color: #333;
}

/* Add to quote button */
.wc-rental-action {
    text-align: center;
    margin-top: 20px;
    bottom: -53px;
    width: 100%;
}

.wc-rental-add-to-quote {
    background-color: #fff !important;
    color: #ff6600 !important;
    border: 2px solid #ff6600 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    width: 100%;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.rental_option_section_header {
    background-color: black;
    color: #fff;
    text-align: center;
    display: block;
    margin-bottom: 12px;
    padding: 6px;
    font-size: 17px;
}

.wc-rental-options-wrapper {
    margin-top: 73px;
}



.wc-rental-add-to-quote:hover {
    background-color: #ff6600 !important;
    color: #fff !important;
}

button.button.wc-rental-add-to-quote {
    float: none !important;
    display: block;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wc-rental-radio-label {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wc-rental-duration-price {
        margin-top: 5px;
        margin-left: 28px;
    }
}