body {
    background-color: #161f24;
    font-family: 'Tajawal', sans-serif;
    color: #ffffff;
    margin: 0;
    display: flex;
    height: 100vh;
    overflow-x: hidden;
    flex-direction: column;
}

/* إعدادات شريط التنقل في الأعلى */
.nav-header {
    background-color: #263036;
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-header .nav-menu {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 0px; /* إضافة تباعد صغير بين عناصر القائمة */
}

.nav-header .nav-menu li {
    list-style: none;
}

.nav-header .nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px; /* تقليل المسافات الداخلية بين عناصر القائمة */
    display: block;
    font-size: 16px;
}

.nav-header .nav-menu li a:hover {
    background-color: #555;
}

.nav-header .icons i {
    color: white;
    font-size: 24px;
    padding-left: 15px;
}

/* إعدادات القائمة الجانبية */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    right: -250px;
    top: 0;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    text-align: center;
    z-index: 101;
}

.sidebar.active {
    right: 0;
}

.sidebar .logo {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.menu-item {
    display: block;
    padding: 15px;
    font-size: 18px;
    width: 100%;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

/* أيقونة القائمة الجانبية */
.menu-icon {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    margin-right: 20px;
}

/* إعدادات زر إغلاق القائمة الجانبية */
.close-btn {
    font-size: 30px;
    color: #333;
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 102;
}

/* إعدادات الحاوية */
.container {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

h2, h5, p {
    margin: 0;
    margin-bottom: 10px;
}

.btn-custom {
    background-color: white;
    color: black;
    border-radius: 30px;
    margin: 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-custom img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.btn-custom:hover {
    background-color: #e0e0e0;
}

/* المربع النصي لعرض المحتويات */
.modal-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    background-color: white;
    color: black;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    z-index: 102;
}

.close-btn-modal {
    cursor: pointer;
    color: black;
    font-size: 20px;
    position: absolute;
    top: 10px;
    right: 15px;
}

.content {
    display: none;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}



