/**
 * Crawlable Links Fix - Button Styling
 * Makes buttons look like the original links/divs
 */

/* Header hamburger button */
.button-collapse.btn_bars {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-collapse.btn_bars:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Close menu button - Standardized to purchase_modal_close style */
.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 18px;
    color: #191919;
    padding: 0;
    margin: 0;
    outline: none;
}

.close-menu-btn:hover {
    background: #e9ecef;
    transform: rotate(90deg);
    color: #191919;
}

.close-menu-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Ensure tab links are crawlable */
a.tablinks[href="#"] {
    cursor: pointer;
}

a.tablinks[href="#"]:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Language selector buttons - already styled in lang.blade.php */

/* Mobile menu overlay */
.side-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Accessibility improvements */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Ensure buttons inherit text styles */
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}