.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
        direction: rtl;

}

.sidebar, .search-box, .account-box {
    position: fixed;
    top: 0px;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
        direction: rtl;
            overflow-x: auto;


}

.sidebar.open, .search-box.open, .account-box.open {
    right: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
}

.overlay.show {
    display: block;
}

.sidebar-header, .search-header, .account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}


.search-box input {
    width: calc(100% - 30px);
    padding: 10px;
    margin: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.sidebar ul {
    list-style: none;
    padding: 0;
}


.sidebar ul li {
    padding: 15px;
    border-bottom: 1px solid #eee;
}


.sidebar ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.sidebar ul li a:hover {
    background: #f8f8f8;
}


.ticker {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        box-sizing: border-box;
        background: black;
        background-size: 200% 200%;
        animation: gradientMove 6s linear infinite;
        color: whitesmoke;
        padding: 5px 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

.ticker p {
        display: inline-block;
        padding-left: 0;
        animation: ticker 35s linear infinite;
        font-size: 20px;
        font-weight: bold;
    }
    @keyframes ticker {
        0% {
            transform: translateX(-50%);
        }
        100% {
            transform: translateX(0);
        }
    }
    @keyframes gradientMove {
        0% {
            background-position: 0% 50%;
        }
        100% {
            background-position: 100% 50%;
        }
    }
