/* Overlay ฉากหลัง */
#axel-aab-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px); /* เบลอหน้าเว็บหลัง popup */
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: axelFadeIn 0.3s ease-out forwards;
}

/* ตัวกล่อง Modal */
.axel-aab-modal {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    transform: translateY(20px);
    animation: axelSlideUp 0.4s ease-out forwards;
    font-family: inherit;
}

/* ไอคอนแจ้งเตือน */
.axel-aab-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #ef4444; /* สีแดงสด */
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.axel-aab-icon svg {
    width: 32px;
    height: 32px;
}

/* Typography */
.axel-aab-modal h2 {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.axel-aab-modal p {
    margin: 0 0 25px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* ปุ่มรีเฟรช */
.axel-aab-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.1s;
}

.axel-aab-btn:hover {
    background: #2563eb;
}
.axel-aab-btn:active {
    transform: scale(0.98);
}

/* ปุ่มกากบาท (ถ้าไม่ได้เปิด Strict Mode) */
.axel-aab-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.axel-aab-close:hover {
    color: #0f172a;
}

/* Animations */
@keyframes axelFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes axelSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}