/* Custom styles for booking URL changer - Adapted for new theme */

/* Hide original buttons when replaced with links */
.eshb-booking-form button.eshb-form-submit-btn[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* New theme booking button styles */
.eshb-booking-form a.booking-link,
a.booking-link.eshb-form-submit-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: inherit;
    border: inherit;
    border-radius: inherit;
    background: inherit;
    color: inherit;
    text-align: center;
    min-width: 100%;
    box-sizing: border-box;
}

.eshb-booking-form a.booking-link:hover,
a.booking-link.eshb-form-submit-btn:hover {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.eshb-booking-form a.booking-link:focus,
a.booking-link.eshb-form-submit-btn:focus {
    transition: all 0.3s ease;
    outline: none;
    opacity: 0.8;
}

/* Legacy support for old theme */
.ovabrw-book-now a.booking-link,
.booking-room a.booking-link,
a.booking-link.btn_tran.submit {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: var(--primary);
    border-radius: 8px;
    padding: 17px 53px;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}

.ovabrw-book-now a.booking-link:hover,
.booking-room a.booking-link:hover,
a.booking-link.btn_tran.submit:hover {
    transition: all 0.3s ease;
    background-color: #000;
}

.ovabrw-book-now a.booking-link:focus,
.booking-room a.booking-link:focus,
a.booking-link.btn_tran.submit:focus {
    transition: all 0.3s ease;
    background-color: #000;
}

.ovabrw-book-now a.booking-link.btn_tran.submit,
.booking-room a.booking-link.btn_tran.submit {
    min-height: 50px;
    line-height: 1.2;
}

/* Responsive styles */
@media (max-width: 768px) {
    .eshb-booking-form a.booking-link,
    a.booking-link.eshb-form-submit-btn,
    .ovabrw-book-now a.booking-link,
    .booking-room a.booking-link,
    a.booking-link.btn_tran.submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}