.bh-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

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

.bh-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    animation: bh-modal-appear 0.3s ease-out;
    z-index: 1000000;
    border: none;
    background: transparent;
}

@keyframes bh-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bh-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid white;
    font-size: 28px;
    cursor: pointer;
    color: white;
    line-height: 1;
    padding: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.bh-modal-close:hover {
    background: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

.bh-hours-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border: solid;
    border-color: var(--bh-border-color, #3a86ff);
    border-width: var(--bh-border-width, 3px);
    border-radius: var(--bh-border-radius, 12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bh-modal {
        padding: 15px;
    }
    
    .bh-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .bh-modal-close {
        top: -15px;
        right: -15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .bh-hours-image {
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .bh-modal.mobile-hidden {
        display: none !important;
    }
    
    .bh-modal-content {
        max-width: 98%;
    }
    
    .bh-modal-close {
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media print {
    .bh-modal {
        display: none !important;
    }
}