:root {
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
body {
    font-family: Tahoma, Arial, "Noto Sans Arabic", sans-serif;
}
.spinner {
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    border: 4px solid #dbeafe;
    border-top-color: #2563eb;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.card-gradient {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #ecfdf5 100%);
}
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}
/* .toast {
    position: fixed;
    z-index: 100;
    left: 1rem;
    bottom: 1rem;
    max-width: 24rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.18);
    transition:
        opacity 0.2s,
        transform 0.2s;
}
.toast-success {
    background: #065f46;
    color: white;
}
.toast-error {
    background: #991b1b;
    color: white;
} */

.toast {
    position: fixed;
    z-index: 1000;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%); /* لسنترة التنبيه في المنتصف تماماً */
    max-width: 24rem;
    width: calc(100% - 2rem); /* تجاوب ممتاز مع الشاشات الصغيرة والموبايل */
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    text-align: center; /* لمحاذاة النص في المنتصف داخل التنبيه */
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.18);
    transition: opacity 0.2s, transform 0.2s;
}

.toast-success {
    background: #065f46;
    color: white;
}

.toast-error {
    background: #991b1b;
    color: white;
}





.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
[hidden] {
    display: none !important;
}
