/**
 * Ecom Experts
 *
 * @author    Ecom Experts <ecomyseo@gmail.com>
 * @copyright 2026 Ecom Experts
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
 */
.e18-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
}

html.e18-ok .e18-overlay,
.e18-overlay.e18-hidden {
    display: none !important;
}

html.e18-lock,
body.e18-lock {
    overflow: hidden !important;
}

.e18-box {
    max-width: 520px;
    width: 100%;
    background: #fff;
    color: #232323;
    border-radius: 6px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.e18-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
}

.e18-text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5;
}

.e18-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.e18-btn {
    flex: 1 1 200px;
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}

.e18-btn-yes {
    background: #2fb5d2;
    color: #fff;
}

.e18-btn-yes:hover {
    background: #268fa6;
}

.e18-btn-no {
    background: #fff;
    color: #232323;
    border-color: #cfcfcf;
}

.e18-btn-no:hover {
    background: #f1f1f1;
}

.e18-denied {
    display: none;
}

.e18-overlay.e18-refused .e18-ask {
    display: none;
}

.e18-overlay.e18-refused .e18-denied {
    display: block;
}
