:root{
    --main_color: #222e3c;
    --blue: #1565C0;
}

body{
    font-family: 'Heebo', sans-serif !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    direction: rtl;
}
.msg_box{
    padding: 15px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 600px;
}
.msg_box_text{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.msg_box_description{
    text-align: center;
}
.main-container{
    width: 700px;
}
.main-row{
    padding-top: 5rem;
}
.logo{
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img{
    width: 300px;
}
.search-row{
    position: relative;
    margin-top: 1rem;
}
.s-icon{
    position: absolute;
    left: 15px;
    top: 15px;
}
#search-input{
    padding: 10px 20px 10px 50px;
    border-radius: 15px;
    border: 1px solid #eee;
    outline: none;
    color: #666;
    width: 100%;
}
.info-hint{
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}
.ws-main{
    align-items: stretch;
    background: #222e3c;
    display: flex;
    width: 100%;
}
.ws-sidebar{
    max-width: 260px;
    min-width: 260px;
}
.ws-sidebar-content{
    left: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 260px;
    align-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
    height: 100vh;
}
.ws-sidebar, .ws-sidebar-content{
    background: #222e3c;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
}
.ws-brand{
    color: #f8f9fa;
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.15rem 1.5rem;
}
.ws-nav{
    flex-grow: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ws-nav-item a{
    background: #222e3c;
    border-right: 3px solid transparent;
    color: rgba(233, 236, 239, .5);
    cursor: pointer;
    display: block;
    font-weight: 400;
    padding: .625rem 1.625rem;
    position: relative;
    text-decoration: none;
    transition: background .1s ease-in-out;
}
.ws-nav-item a:hover{
    background: linear-gradient(90deg, rgba(59, 125, 221, .1), rgba(59, 125, 221, .088) 50%, transparent);
    border-right-color: #3b7ddd;
    color: #e9ecef;
}
.ws-nav-title{
    padding-inline-start: 10px;
}
.content{
    flex: 1;
    max-width: 100vw;
    padding: 1.5rem 1.5rem .75rem;
}
.main{
    background: #f5f7fb;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
    width: 100%;
}
.navbar-bg {
    background: #fff;
}
.navbar {
    border-bottom: 0;
    box-shadow: 0 0 2rem 0 rgba(33, 37, 41, .1);
}
.ws-sidebar.collapsed{
    margin-right: -260px;
}
.ws-title{
    font-size: 1.4rem;
    margin-bottom: 2rem;
}
.ws-panel{
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}
.ws-panel-button{
    background-color: var(--blue);
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.5s;
    color: #fff;

    &:hover{
        background-color: var(--main_color);
        color: #fff;
    }
}
.ws-panel-button i{
    font-size: 1rem;
    padding-inline-end: 0.4rem;
}
.ws-form{
    width: 700px;
    padding: 15px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.ws-center{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ltr{
    direction: ltr;
    text-align: left;
}
.modules-list{
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.ws-module{
    padding: 25px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.5s;
    width: 200px;
    cursor: pointer;

    &:hover{
         box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
    }
}
.ws-module-icon{
    text-align: center;
    font-size: 3rem;
}
.ws-module-name{
    text-align: center;
    font-weight: bold;
}
.ws-panel-items{
    list-style: none;
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
}
.ws-header-inner{
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
#burger-menu{
    cursor: pointer;
}
#search-results{
    position: absolute;
    top: 45px;
    right: 0;
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    width: 100%;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 10;
}
.has-value{
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.hide{
    display: none;
}
.search-item{
    color: #a1a1a1;
    cursor: pointer;
    padding: 5px;
}
.search-item:hover{
    background-color: #d7efe0;
}
.found-text{
    color: #000;
}
.cover-image{
    width: 80px;
}
.top_header{
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    align-items: center;
}
.search_top{
    position: relative;
}
.logo_top img{
    width: 220px;
}
.result-container{
    margin-right: 3rem !important;
}
.result-search{
    width: 40%;
}
.result-poster img{
    width: 130px;
    border-radius: 8px;
}
.result-items{
    margin: 1rem 0;
}
.result-row{
    display: flex;
    gap: 1rem
}
.result-item{
    max-width: 770px;
    margin-bottom: 1rem;
    position: relative;
}
.result-description{
    font-size: 0.85rem;
}
.result-title{
    font-weight: bold;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}
.result-module{
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.player-area{
    width: 100vw;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
video{
    width: 800px;
}
.video-title{
    margin-bottom: 1rem;
    text-align: center;
}
.video-player-row{
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.video-description{
    text-align: center;
}
.results-offset{
    margin: 2rem 305px 0 0;
}
.result-title a{
    color: #1a0dab
}
.result-text{
    margin-bottom: 0.3rem;
}
.wa-btn{
    z-index: 100;
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 2rem;
    color: green;
    border-radius: 50%;
    background: #ededed;
    padding: 10px 12px;
    transition: all 0.5s;
    animation-delay: 0s;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid #6bb51b;
    border-radius: 50px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: rippleBorderEffect 5s infinite ease-out;
    z-index: -10;
}
@keyframes rippleBorderEffect {
    0%, 80% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}
.wa-btn a {
    color: green;
}
.wa-btn:hover {
    background: #298f8a;
}
.wa-btn:hover a {
    color: #fff;
}
.bottom_hint{
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #616161;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.bottom_hint div{
    margin-inline-end: 0.5rem;
}
@media screen and (max-width: 450px){
    .msg_box{
        width: 350px;
    }

    .result-text{
        font-size: 0.9rem;
    }

    .main-container{
        width: 100%;
        padding: 10px;
    }

    .logo img{
        width: 290px;
    }
    .ws-sidebar.collapsed{
        margin-right: 0;
    }
    .ws-sidebar{
        margin-right: -260px;
    }
    .ws-module{
        width: 145px;
    }
    .ws-module-icon{
        font-size: 2rem;
    }
    .top_header{
        display: block;
    }
    .result-search{
        width: 100%;
        margin-top: 1rem;
    }
    video{
        width: 100%;
    }
    .results-offset{
        margin: 1rem 0.5rem;
    }
    .result-item{
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #f6f4f4;
        padding: 8px 0;
    }
    .result-description{
        position: absolute;
        right: 0;
        width: 185px;
        top: 62px;
        height: 24px;
        overflow: hidden;
    }
}