/* Extracted from Site/quotation.blade.php for CSP hardening. */
.backdrop {
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, .35);
                display: none;
                align-items: center;
                justify-content: center;
                padding: 16px;
                z-index: 9999;
            }

            .modal {
                position: relative;
                background: #fff;
                border-radius: 16px;
                box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 500px;
                max-height: 90vh;
                overflow-y: auto;
                animation: fadeInUp .3s ease;
            }

            .modal .header {
                padding: 20px 24px;
                border-bottom: 1px solid #eee;
            }

            .modal .header .title {
                font-weight: 800;
                font-size: 1.1rem;
            }

            .modal .grid {
                padding: 20px 24px;
                display: flex;
                flex-direction: column;
                gap: 16px;
            }

            /*.row {*/
            /*    display: grid;*/
            /*    grid-template-columns: 1fr 1fr;*/
            /*    gap: 16px;*/
            /*}*/

            /* الأزرار */
            .actions {
                display: flex;
                justify-content: flex-end;
                gap: 8px;
                margin-top: 10px;
            }

            /*.btn {*/
            /*    padding: 8px 16px;*/
            /*    border-radius: 8px;*/
            /*    cursor: pointer;*/
            /*    font-weight: 600;*/
            /*    border: none;*/
            /*}*/

            .btn-ghost {
                background: #f3f3f3;
            }

            .btn-primary {
                background: #007bff;
                color: white;
            }

            /*input, textarea {*/
            /*    width: 100%;*/
            /*    padding: 8px 10px;*/
            /*    border: 1px solid #ccc;*/
            /*    border-radius: 8px;*/
            /*    font-size: 14px;*/
            /*}*/

            /* ✅ تحسين الموبايل */
            @media (max-width: 600px) {
                .modal {
                    width: 100%;
                    max-width: none;
                    height: auto;
                    border-radius: 0;
                    margin: 0;
                    max-height: 100vh;
                }

                /*.row {*/
                /*    grid-template-columns: 1fr;*/
                /*}*/

                /*.grid {*/
                /*    padding: 16px;*/
                /*}*/

                .actions {
                    flex-direction: column;
                }

                .actions .btn {
                    width: 100%;
                }
            }

            /* تأثير بسيط عند الظهور */
            @keyframes fadeInUp {
                from {
                    transform: translateY(30px);
                    opacity: 0;
                }
                to {
                    transform: translateY(0);
                    opacity: 1;
                }
            }
            .rtl-reverse{
                margin-top: 5px
            }

/* BT_C32D1_STATIC_INLINE_START */
.bt-q-featured-white {
    background-color: #fff !important;
}

.bt-q-error-summary {
    background: #ffeaea !important;
    border: 1px solid #ff9f9f !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
}

.bt-q-error-list {
    margin: 0 !important;
    padding-right: 20px !important;
}

.bt-q-grid-3 {
    grid-template-columns: 1fr 1fr 1fr !important;
}

.bt-q-grid-1 {
    grid-template-columns: 1fr !important;
}

.bt-q-rule {
    width: 100% !important;
    height: 1px !important;
}

.bt-q-border-danger {
    border-color: red !important;
}

.bt-q-total-lg {
    font-size: 20px !important;
}

.bt-q-btn-recalc {
    background-color: #1bc6ff !important;
}

.bt-q-btn-open {
    background-color: #7bc6ff !important;
}

.bt-q-text-danger {
    color: red !important;
}
/* BT_C32D1_STATIC_INLINE_END */
