/* Modal ແນະນຳໃຫ້ເປີດການແຈ້ງເຕືອນ (ໃຊ້ຄູ່ກັບ asset/js/saduak-push.js) */
#md-push-optin .push-optin-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

#md-push-optin .push-optin-hero {
    background: linear-gradient(145deg, #f5c915 0%, #d4a017 100%);
    padding: 1.5rem 1.25rem 1.25rem;
    text-align: center;
    color: #1a1d26;
}

#md-push-optin .push-optin-bell {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #d4a017;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    animation: push-bell-ring 2.4s ease-in-out infinite;
}

@keyframes push-bell-ring {
    0%, 60%, 100% { transform: rotate(0deg); }
    68% { transform: rotate(12deg); }
    76% { transform: rotate(-10deg); }
    84% { transform: rotate(7deg); }
    92% { transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
    #md-push-optin .push-optin-bell { animation: none; }
}

#md-push-optin .push-optin-hero .modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

#md-push-optin .push-optin-sub {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    opacity: 0.82;
}

#md-push-optin .modal-body {
    padding: 1.1rem 1.25rem 0.5rem;
}

#md-push-optin .push-optin-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#md-push-optin .push-optin-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
}

#md-push-optin .push-optin-list li i {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(212, 160, 23, 0.12);
    color: #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

#md-push-optin .push-optin-list li div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

#md-push-optin .push-optin-list li strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1d26;
}

#md-push-optin .push-optin-list li span {
    font-size: 0.78rem;
    color: #6b7280;
}

#md-push-optin .push-optin-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 0.75rem;
    color: #475569;
}

#md-push-optin .push-optin-note i {
    color: #059669;
    font-size: 0.95rem;
}

#md-push-optin .push-optin-ios {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

#md-push-optin .push-optin-ios i {
    color: #ea580c;
    font-size: 1.1rem;
}

#md-push-optin .push-optin-ios div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

#md-push-optin .push-optin-ios strong {
    font-size: 0.85rem;
    color: #9a3412;
}

#md-push-optin .push-optin-ios span {
    font-size: 0.76rem;
    color: #b45309;
}

#md-push-optin .push-optin-blocked {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

#md-push-optin .push-optin-blocked i {
    color: #dc2626;
    font-size: 1.1rem;
}

#md-push-optin .push-optin-blocked div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

#md-push-optin .push-optin-blocked strong {
    font-size: 0.85rem;
    color: #991b1b;
}

#md-push-optin .push-optin-blocked span {
    font-size: 0.76rem;
    color: #b91c1c;
}

#md-push-optin .push-optin-msg {
    margin-top: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

#md-push-optin .push-optin-msg.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

#md-push-optin .push-optin-msg.is-ok {
    background: #ecfdf5;
    color: #047857;
}

#md-push-optin .push-optin-footer {
    border-top: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    gap: 0.6rem;
}

#md-push-optin .push-optin-footer button {
    flex: 1;
    border: 0;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

#md-push-optin .push-optin-later {
    background: #f1f5f9;
    color: #64748b;
}

#md-push-optin .push-optin-allow {
    background: linear-gradient(135deg, #f5c915 0%, #d4a017 100%);
    color: #1a1d26;
    box-shadow: 0 6px 16px rgba(212, 160, 23, 0.35);
}

#md-push-optin .push-optin-allow:disabled {
    opacity: 0.7;
}

#md-push-optin .push-optin-allow:active {
    transform: scale(0.98);
}
