/* Booking Options Popup Styles */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.admin-bar .booking-modal {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .booking-modal {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.booking-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.booking-modal-container {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 360px !important; /* Forces smaller size */
    padding: 20px !important; /* Tight padding */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.booking-modal.is-active .booking-modal-container {
    transform: translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.booking-modal-close:hover {
    color: #333;
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.booking-modal-header h2 {
    margin: 0 0 6px 0;
    font-size: 17px !important; /* Smaller size */
    color: #111;
    font-weight: 600;
}

.booking-modal-header p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.booking-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-option-card {
    display: flex;
    align-items: center;
    padding: 10px !important;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.booking-option-card:hover {
    border-color: #3f7c82;
    background-color: #f7fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 124, 130, 0.08);
}

.option-icon {
    font-size: 18px;
    margin-right: 10px;
    background: #f0f4f5;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.booking-option-card:hover .option-icon {
    background: #e3edf0;
}

.option-info {
    flex-grow: 1;
}

.option-info h3 {
    margin: 0 0 1px 0;
    font-size: 13px !important; /* Practice name made even smaller */
    color: #111;
    font-weight: 500;
}

.option-info p {
    margin: 0;
    font-size: 11px;
    color: #666;
}

.option-btn {
    font-size: 11px !important;
    font-weight: 600;
    color: #3f7c82;
    border: 1px solid #3f7c82;
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    text-align: center !important; /* Centered text */
    display: inline-flex !important; /* Flexbox display */
    justify-content: center !important; /* Align text horizontally */
    align-items: center !important; /* Align text vertically */
    min-width: 80px !important; /* Fixed width to prevent misalignment */
    box-sizing: border-box;
}

.booking-option-card:hover .option-btn {
    background: #3f7c82;
    color: #ffffff;
}
