/* =========================================
   ADBLOCK DETECTOR UI (2026 Modern Style)
   ========================================= */

.adblock-notice-overlay {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    pointer-events: none; /* Щоб не блокувати кліки до появи */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.adblock-toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 0 20px rgba(79, 70, 229, 0.05);
    border-radius: 24px;
    width: 380px;
    max-width: calc(100vw - 40px);
    padding: 24px;
    pointer-events: auto;
    transform: translateY(100px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); /* Плавна Apple-подібна анімація */
}

.adblock-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.adblock-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.adblock-icon-wrapper {
    background: #e0e7ff;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.adblock-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.adblock-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.adblock-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.adblock-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Інструкції (Акордеон) */
.adblock-instructions {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}

.adblock-instructions.open {
    max-height: 300px;
}

.adblock-btn-guide {
    width: 100%;
    background: #f1f5f9;
    border: none;
    padding: 12px;
    border-radius: 12px;
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adblock-btn-guide:hover {
    background: #e2e8f0;
}

.adblock-guide-content {
    padding: 16px;
    font-size: 0.85rem;
    color: #334155;
    border-top: 1px solid #e2e8f0;
}

.adblock-guide-content ul {
    padding-left: 20px;
    margin-top: 8px;
}

.adblock-guide-content li {
    margin-bottom: 6px;
}

.adblock-guide-content strong {
    color: #0f172a;
}

/* Адаптивність для мобільних */
@media (max-width: 480px) {
    .adblock-notice-overlay {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
        align-items: center;
    }
}