.custom-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #28a745;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 280px;
    max-width: 90%;
}

.custom-toast.toast-danger {
    background-color: #dc3545;
}

.custom-toast.show {
    opacity: 1;
    transform: translate(-50%, -55%);
}

.custom-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl input,
.rtl textarea,
.rtl select {
    text-align: right;
}