/* الخط الأساسي */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

/* شريط التنقل */
.navbar {
 
      max-width: 10000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #0078d7;
    color: white;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffcb05;
}

/* الأزرار */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
}

.modern-btn {
    background: linear-gradient(135deg, #0078d7, #00a1ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modern-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* الحاوية */
.table-container {
    width: 100%;
    max-width: 900px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.table-container h1 {
    margin-bottom: 20px;
    color: #0078d7;
}

/* الجدول */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modern-table thead {
    background: #0078d7;
    color: white;
}

.modern-table th, .modern-table td {
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

.modern-table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.modern-table tbody tr:nth-child(even) {
    background: #eef3f7;
}

.modern-table tbody tr:hover {
    background: #c3e4f9;
    transition: background 0.3s ease;
}

.modern-table th {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #005fa3;
}

/* تصميم حاوية النموذج */
.form-container {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-container h1 {
    margin-bottom: 20px;
    color: #0078d7;
}

/* تصميم الحقول */
.modern-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modern-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.modern-form input,
.modern-form select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.modern-form input:focus,
.modern-form select:focus {
    border-color: #0078d7;
    box-shadow: 0 0 8px rgba(0, 120, 215, 0.2);
}

/* تصميم الزر */
.modern-form button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    color: white;
    background: linear-gradient(135deg, #0078d7, #005fa3);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.modern-form button:hover {
    background: linear-gradient(135deg, #005fa3, #0078d7);
    transform: scale(1.05);
}
.chat-container {
    display: flex;
    height: 50vh;
    font-family: Arial, sans-serif;
}
.chat-sidebar {
    width: 30%;
    background: #f5f5f5;
    padding: 20px;
    overflow-y: auto;
}
.chat-main {
    width: 70%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
}
#chat-header {
    background: #007BFF;
    color: white;
    padding: 10px;
    text-align: center;
}
#chat-messages {
    flex: 1;
    padding: 1px;
    overflow-y: auto;
    background: #f9f9f9;
}
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}
#message-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#send-button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-button {
    position: relative;
    cursor: pointer;
    font-size: 24px;
    color: #555;
}

.notification-button .notification-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 50%;
}

.notification-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.notification-dropdown h4 {
    margin: 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.notification-dropdown ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.notification-dropdown ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.notification-dropdown ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
}

.notification-dropdown ul li a span {
    display: block;
    font-size: 12px;
    color: #666;
}

/* عرض القائمة عندما يضاف الكلاس "show" */
.notification-dropdown.show {
    display: block;
}
