.bebanstore-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease-out;
}

.bebanstore-modal.show {
    visibility: visible;
    opacity: 1;
}

.bebanstore-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    border-radius: 16px
}

.bebanstore-modal.show .bebanstore-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.bebanstore-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bebanstore-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.bebanstore-modal-body {
    padding: 20px;
}

.bebanstore-confirm-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #999;
    transition: opacity 0.3s ease-out;
    text-align: center;
}

.bebanstore-confirm-message.error {
    color: #dc3545;
}

.bebanstore-modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bebanstore-modal-footer .bebanstore-modal-confirm,
.bebanstore-modal-footer .bebanstore-modal-cancel {
    padding: 10.5px 24px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 100px;
    position: relative;
    border-radius: 8px !important;
}

.bebanstore-modal-cancel {
    border: none !important;
    background: transparent !important;
    color: #3373FC !important;
}

.bebanstore-modal-cancel:hover {
    background-color: #e9ecef !important;
    border-color: #ddd !important;
    color: #333 !important;
}

.bebanstore-modal-confirm,
.bebanstore-modal-confirm:hover{
    background-color: #EF4055 !important;
    color: #fff !important;
    border: none !important;
}


.bebanstore-modal-confirm.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.bebanstore-modal-confirm.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-right-color: transparent;
    border-radius: 50%;
    animation: bebanstore-spin 0.75s linear infinite;
    box-sizing: border-box;
}

@keyframes bebanstore-spin {
    to {
        transform: rotate(360deg);
    }
}

/* RTL Support */
.rtl .bebanstore-modal-footer {
    flex-direction: row-reverse;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .bebanstore-modal-content {
        width: 95%;
    }

    .bebanstore-modal-header h3 {
        font-size: 16px;
    }

    .bebanstore-confirm-message {
        font-size: 14px;
    }

    .bebanstore-modal-footer .bebanstore-modal-confirm,
.bebanstore-modal-footer .bebanstore-modal-cancel {
        padding: 6px 15px;
        font-size: 13px;
        min-width: 80px;
    }
} 