/* overlay پس‌زمینه نیمه‌شفاف با محوی ملایم */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    /* محو کردن پس‌زمینه */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-confirm-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* جعبه اصلی */
.custom-confirm-box {
    background: #fff;
    border-radius: 12px;
    /* مشابه کارت‌های محصول */
    padding: 30px 35px;
    text-align: center;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(25px);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-confirm-overlay.show .custom-confirm-box {
    transform: translateY(0);
}

/* متن داخل modal */
.custom-confirm-box p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.8;
    font-weight: 500;
}

/* ظرف دکمه‌ها */
.custom-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* فاصله بین دکمه‌ها */
}

/* دکمه‌های عمومی - استفاده از کلاس wallpi-btn برای تطابق کامل */
.custom-confirm-buttons button {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
}

/* دکمه تأیید (با تم سبز ملایم یا همان wallpi-btn) */
.btn-ok {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-ok:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

/* دکمه انصراف (با رنگ خنثی یا قرمز ملایم) */
.btn-cancel {
    background: #f1f1f1;
    color: #555;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-cancel:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}