/* الجسم الأساسي */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* النافبار */
.navbar {
    background-color: #004085;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.navbar .clock {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffc107;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #ffc107;
    transform: scale(1.1); /* زيادة الحجم عند التمرير */
}

 /* تخصيص لون خلفية قائمة dropdown */
 .dropdown-menu {
    background-color: #343a40 !important;  /* لون خلفية داكنة للقائمة */
    color: white !important;               /* لون النص أبيض */
}

/* تخصيص لون النص عند المرور (hover) */
.dropdown-item:hover {
    background-color: #ff6347;             /* تغيير الخلفية عند المرور إلى اللون البرتقالي */
    color: white !important;               /* إبقاء النص باللون الأبيض */
}

/* تخصيص لون النص عند المرور فوق العنصر */
.dropdown-item:focus, .dropdown-item:active {
    background-color: #ff6347;             /* تغيير الخلفية عند الضغط على العنصر */
    color: white !important;               /* إبقاء النص باللون الأبيض */
}
/* الفوتر */
.footer {
    background-color: #343a40;
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.footer .footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer a:hover {
    color: #ffc107;
    transform: scale(1.1);
}


/* إضافة بعض التأثيرات */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

/* ساعة النافبار */
.clock {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
}

/* تنسيق النقطة في زاوية البطاقة العلوية */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6c757d; /* اللون الافتراضي للنقطة (رمادي) */
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* الحالة: تشغيل */
.bg-success {
    background-color: #28a745;
}

/* الحالة: توقف */
.bg-danger {
    background-color: #dc3545;
}

/* الحالة: منقطع الاتصال */
.bg-warning {
    background-color: #ffc107;
}

/* حالة التصليح */
.bg-primary {
    background-color: #007bff;
}

/* تأثير الوميض */
.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
/* تخصيص التوست */
.toast-container {
    z-index: 1050;
}

.toast {
    min-width: 250px;
    max-width: 350px;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* تخصيص التوست */
.toast-container {
    z-index: 1050;
}

.toast {
    min-width: 250px;
    max-width: 350px;
    margin-bottom: 10px;
    border-radius: 8px;
    
}

/* تخصيص التوست */
.toast-body {
    font-size: 16px;
}

/* تخصيص زر الإغلاق */
.toast .btn-close {
    background-color: rgba(255, 255, 255, 0.5);
}
.machine-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}