.ds-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
}
.ds-modal {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 380px;
    width: 100%;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    direction: rtl;
    font-family: inherit;
}
.ds-modal-close {
    position: absolute;
    top: 8px;
    left: 10px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
.ds-modal-image {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}
.ds-modal-heading {
    margin: 0 0 8px;
    font-size: 18px;
}
.ds-modal-text {
    margin: 0 0 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}
.ds-modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ds-phone-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    direction: ltr;
}
.ds-phone-input.ds-input-error {
    border-color: #b91c1c;
}
.ds-phone-error {
    margin: -4px 0 0;
    color: #b91c1c;
    font-size: 12.5px;
    text-align: center;
}
.ds-submit-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}
.ds-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
.ds-modal-feedback {
    margin-top: 12px;
    font-size: 14px;
}
.ds-feedback-success { color: #15803d; }
.ds-feedback-error { color: #b91c1c; }

.ds-manual-trigger {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: #1d4ed8;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}
