﻿/* سفارشی‌سازی Toast برای هماهنگی با قالب */
.swal2-popup.swal2-toast {
    z-index:1000;
    font-size: 0.9rem !important; /* متن کمی بزرگ‌تر */
    /*padding: 0.6rem 1rem !important;*/
    min-width: 240px !important;
    max-width: 320px !important;
    border-radius: 10px !important;
    background: #0c0e14 !important; /* پس‌زمینه تیره (match با قالب) */
    color: #e2e8f0 !important; /* رنگ متن روشن */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
    margin-top: .75rem;
}

.swal2-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #38bdf8 !important; /* آبی روشن مثل قالب */
    padding: 4px 6px !important; /* خیلی کم فقط برای نفس کشیدن متن */
    margin: 0 !important; /* sweetalert پیش‌فرض margin-bottom میذاره */
    line-height: 1.2 !important; /* فاصله عمودی کمتر */
}


.swal2-html-container {
    font-size: 0.85rem !important;
    margin: 0 !important;
    color: #cbd5e1 !important; /* خاکستری روشن برای متن */
}

.swal2-timer-progress-bar {
    background: #38bdf8 !important; /* رنگ Progress Bar */
}
/* فاصله دادن آیکون Toast از متن */
.swal2-popup.swal2-toast .swal2-icon {
    margin-left: 0.6rem !important; /* فاصله بیشتر از متن */
    margin-right: 0 !important; /* چون راست‌چین هست نمی‌خوایم سمت چپ فاصله بگیره */
    width: 1.6em !important; /* کمی کوچک‌تر از حالت پیش‌فرض */
    height: 1.6em !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    padding: 4px 6px !important;
    margin: 0 !important;
    line-height: 1.3 !important; /* متن وسط‌چین عمودی‌تر */
}
