﻿/* تنسيق عام للصفحة */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: 'DroidArabicKufi';
    src: url('../fonts/DroidArabicKufi-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* مربع تجريبي */
.test-box {
    width: 250px;
    height: 120px;
    background-color: #e63946;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 30px auto;
    border: 3px dashed #1d3557;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* القائمة الجانبية */
.nav-menu-custom {
    background-color: rgb(164, 97, 108);
    color: #ff0000;
    min-height: 100vh;
    padding-top: 10px;
}

    .nav-menu-custom .nav-link {
        font-family: 'DroidArabicKufi', sans-serif;
        color: white !important;
        font-size: 16px;
        font-weight: normal;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .nav-menu-custom .nav-link:hover {
            background-color: white !important;
            color: rgb(229, 41, 77) !important;
        }

/* عناصر رأس الصفحة */
.bg-maroon {
    background-color: #800000;
    color: white;
}

.nav-header {
    border-bottom: 1px solid #444;
}

.custom-header {
    background-color: rgb(164, 97, 108);
}

.custom-topbar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
    padding: 10px 20px;
}

.top-row {
    background-color: transparent !important;
}

/* تصحيح تكرار */
.top-row {
    background-color: red !important;
}

.custom-topbar {
    background-color: rgb(164, 97, 108) !important;
}

/* ✅ تنسيق الطباعة */
@media print {
    /* ✅ إخفاء الأزرار فقط */
    button,
    .btn {
        display: none !important;
    }

    /* ✅ إخفاء القائمة الجانبية والعناصر العلوية */
    .nav-menu-custom,
    .custom-header,
    .custom-topbar,
    .top-row,
    .nav-header {
        display: none !important;
    }

    /* ✅ توسيع المحتوى للطباعة */
    body {
        margin: 0;
        padding: 0;
        background: white;
    }

    .main-content {
        width: 100%;
    }
}
.collapse {
    display: none !important;
}

/* ✅ تنسيقات عامة للموقع */
body {
    font-family: "Tahoma", "Arial", sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ✅ تنسيق التوست ليظهر في وسط الصفحة */
.toast-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000; /* فوق كل العناصر */
}

/* ✅ يمكنك إضافة تنسيقات إضافية للتوست */
.toast {
    min-width: 250px;
    text-align: center;
    font-size: 1rem;
}
.toast-custom {
    background-color: rgb(158, 95, 108) !important;
    color: #fff !important;
}
