/**
* 2023-2025 Shop Coders
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
*
* @author    Shop Coders <info@shopcoders.com>
* @copyright 2023-2025 Shop Coders
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/

.sc-disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sc-disclaimer-popup {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
}

.sc-disclaimer-content {
    margin-bottom: 20px;
}

.sc-disclaimer-buttons {
    display: flex;
    justify-content: space-between;
}

.sc-disclaimer-button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Remove any potential font-size value that could override inline style */
    font-size: inherit;
}

.sc-disclaimer-button:hover {
    opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sc-disclaimer-popup {
        width: 90%;
        padding: 15px;
    }
    
    .sc-disclaimer-buttons {
        flex-direction: column;
    }
    
    .sc-disclaimer-button {
        margin-bottom: 10px;
        width: 100%;
    }
}

/* Hide by default, will be shown via JavaScript when needed */
.sc-disclaimer-overlay.hidden {
    display: none;
}