/* OwnHost — bülten onay popup */

.oh-nl-modal {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.oh-nl-modal[hidden] {
    display: none !important;
}

.oh-nl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.72);
}

.oh-nl-modal__panel {
    position: relative;
    width: min(420px, 100%);
    padding: 28px 24px 24px;
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.oh-nl-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.oh-nl-modal__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
}

.oh-nl-modal__icon--success {
    background: #ecfdf5;
    color: #20bc7e;
}

.oh-nl-modal__icon--info {
    background: #eff6ff;
    color: #3b82f6;
}

.oh-nl-modal__icon--error {
    background: #fef2f2;
    color: #ef4444;
}

.oh-nl-modal__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
}

.oh-nl-modal__message {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.oh-nl-modal__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.oh-nl-btn {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.oh-nl-btn--outline {
    background: #fff;
    border-color: #cbd5e1;
    color: #475569;
}

.oh-nl-btn--outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.oh-nl-btn--danger {
    background: #fff;
    border-color: #ef4444;
    color: #ef4444;
}

.oh-nl-btn--danger:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

body.oh-nl-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .oh-nl-modal__actions {
        flex-direction: column;
    }

    .oh-nl-modal__actions .oh-nl-btn {
        width: 100%;
    }
}
