
/***********************ستايل مربع البحث ********************************************/
/************************ستايل هزاز لزر الجرس *************/
@keyframes shake {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.shake {
    animation: shake 0.5s ease-in-out infinite; /* اهتزاز دايم */
}
/************************ستايل هزاز لزر الجرس *************/

.searchInput {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0; /* إزالة الحشو */
}

.searchInput input {
    width: 100%;
    padding: 8px 15px; /* تقليل الحشو من الجانبين */
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.searchInput input:focus {
    border-color: #4CAF50;
    outline: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
}

.searchInput input:focus + .dropdown-content {
    display: block;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .searchInput input {
        font-size: 16px;
        padding: 8px 12px; /* تقليل الحشو على الجانبين في الهواتف */
    }
}

/***********************انتهاء ستايل مربع البحث ********************************************/





























.topbar {
    background-color: #BD4639;
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 10px; /*تحديد عرض التوب بار*/
    justify-content: space-between; /* إضافة هذه الخاصية لتوزيع العناصر */
 z-index: 1000; /****انضاف جديد ********/
    
}

.openbtn {
    font-size: 40px;
    cursor: pointer;
    background-color: #BD4639;
    color: #FFFFFF;
    border: none;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.closebtn {
    font-size: 50px;
    cursor: pointer;
    background-color: red;
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    display: none;
    position: relative;
    z-index: 2;
}



.profile-picture {
    margin-left: auto; /* هذه الخاصية لضمان أن الصورة تظهر على اليمين */
    float: right;
    margin-left: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.back-button {
    all: unset; /* إزالة جميع الأنماط الافتراضية */
}

.back-button img {
width: 48px;
height: 48px; 
direction: ltr;
margin-right: 5px;
cursor: pointer;
} 


/******************************ازرار الاشعارات*/

.notification-btn {
    font-size: 30px;
    cursor: pointer;
    background-color: #BD4639;
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    position: relative;
    z-index: 2;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 14px;
    display: none; /* إخفاء البادج إذا لم توجد إشعارات */
}
/******************************ازرار الاشعارات*/
