/* Core */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (hover: none) and (pointer: coarse) {
a:focus,
a:active,
a:visited,
button:focus,
button:active,
button:visited
 {
outline: none !important;
box-shadow: none !important;
-webkit-tap-highlight-color: transparent;
}
}

body {
    direction: rtl;
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    transition: background-color 0.3s, color 0.3s;
    font-variation-settings:
    "slnt" 0;
    color:#2b394e;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
}


body.dark {
    color:#fff;
    background:#121212;
}

.loader {
    width:100%;
    height:100vh;
    z-index:9999;
    position:fixed;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.5);
    top:0;
    transition: opacity 0.5s ease;
}

.top_load_line {
    border-top:7px solid #42cc80;
    width:100%;
    animation: loadertopline 6s infinite;
}

.loader_off {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@keyframes loadertopline {0% {width: 0;}100%{width: 100%;}}

a {text-decoration: none;}
p {padding:0;margin:0;}

.container {
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
}

.header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin:15px 0 10px 0;
}

.logo img {
width:100%;
max-width:150px;
}

footer{
    background:#f4f4f7;
    margin-top:20px;
    padding:10px 0;
    color:#2b394e;

}
.dark footer {
    background:#000;
    color:#fff;
}


#themeToggleBtn img {
width:35px;
height:35px;
cursor:pointer;
display: block;
}


.menu_leftside {
        display:flex;
        align-items:center;
        list-style:none;
        gap:15px;
}

.login_hbtn {
            background: #42cc80;
        color:#fff;
        font-size:15px;
        padding:5px 10px;
                border-radius: 20px;
}

.header_search {
color:#fff;
border-radius: 50%;
background:#2b394e;
display:flex;
justify-content:center;
width:38px;
height:38px;
align-items:center;
}
.dark .header_search {
background:#404040;
}
.header_search img {
    width:20px;
    height:20px;
}

@media (max-width:600px) {
.menu_leftside a{
        display:none;
}
}
/* Categories */
.categories {
    margin:0 0 25px 0;
}

.categories ul {
    padding:0;
    margin:0;
    list-style:none;
    display:flex;
    gap:15px;
    color:#2b394e;
    flex-wrap: nowrap;
}

.categories ul li {
    width:100%;
    font-weight:800;
    border-radius:10px;
    padding:10px 10px;
    text-align:center;
    flex:100%;
    display: flex;
    justify-content: center;
}

.categories ul li p {
    margin:0;
    padding:0;
    font-size:16px;
}

.categories ul li img {
    width:30px;
    height:30px;
}
.categories ul li a {
    color:#2b394e;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width: 100%;
    height: 100%;
}
.dark .categories ul li a {
    color:#fff;
}


.categories ul li:nth-child(1) {
    background-color: #d7f8ff;
}
.categories ul li:nth-child(2) {
    background-color: #fce6f0;
}
.categories ul li:nth-child(3) {
    background-color: #ffeab9;
}
.categories ul li:nth-child(4) {
    background-color: #d2f8f0;
}
.categories ul li:nth-child(5) {
    background-color: #fddfd8;
}
.categories ul li:nth-child(6) {
    background-color: #f0e6ff;
}


.dark .categories ul li:nth-child(1) {
    background-color: #22545f; /* soft cyan tone */
}
.dark .categories ul li:nth-child(2) {
    background-color: #5b2d3a; /* muted pink */
}
.dark .categories ul li:nth-child(3) {
    background-color: #5a4420; /* warm amber tone */
}
.dark .categories ul li:nth-child(4) {
    background-color: #1f4c45; /* deep teal */
}
.dark .categories ul li:nth-child(5) {
    background-color: #5b3d39; /* dusty coral */
}
.dark .categories ul li:nth-child(6) {
    background-color: #3f2e63; /* soft violet */
}
@media (max-width:1226px) {
.categories ul li p {font-size:15px;}
}
@media (max-width:650px) {
.categories ul li p {
font-size:14px;
}
}

@media (max-width:910px) {
    .categories ul {flex-wrap: wrap;}
    .categories ul li {flex: 0 0 calc((100% - 30px) / 3);}
}


@media (max-width:600px) {
    .categories {margin:0;}
    .categories ul li {flex: 0 0 calc((90%));margin-right:5%;}
    footer{margin-bottom:70px;}
}


/* Start Mobile Menu */
@media (max-width:600px) {

.categories ul li p {
font-size:14px;
}

.menu-wrapper {
max-height: 0;
overflow: hidden;
transition: max-height 0.6s ease;
}

.categories.menu_open .menu-wrapper {
    height:100%;
    width:100%;
    position:fixed;
    background:#fff;
    top:0;
    right:0;
    max-height:2000px;
    z-index:999;
    padding-top:20px;
}
.dark .categories.menu_open .menu-wrapper {
    background:#121212;
   }

.categories li {
    opacity: 0;
    transform: translateX(0);
    transition: all 0.5s ease;
    pointer-events: none;
    position: relative;
    z-index: 1;
    visibility: hidden;
}

.categories li:nth-child(odd) {
    transform: translateX(100%);
}

.categories li:nth-child(even) {
    transform: translateX(-100%);
}

.categories li.showlis {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.categories {
    overflow-x: hidden;
    }
}

#closeBtn {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    z-index:99;
    position: fixed;
    bottom: 20px;
    right: 5%;
    background: #42cc80;
    color:#fff;
    height:60px;
    border:0;
    width:90%;
    font-size:18px;
    border-radius: 10px;
    font-family: "Cairo", sans-serif;
    font-weight:700;
}

#closeBtn.fade-in {
    opacity: 1;
}

#closeBtn.fade-out {
    opacity: 0;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px 10px 0 0;
    padding:10px 0 10px 0;
    z-index:9;
}
.dark .bottom-nav {
    background:#333333;
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.08);
}

.nav-item {
    color: #2b394e;
    display:flex;
    flex-direction: column;
    align-items: center;
}
.dark .nav-item {
    color: #fff;
}

.nav-item img {
    width:20px;
    height:20px;
}

.nav-item.active {
    color: #42cc80;
    font-weight: 600;
}

@media (min-width:601px) {
.bottom-nav{
    display:none;
    }
}

/* END Mobile Menu */



/* START Symbol Recommendation*/
.symbol_recommendation {
color:#fff;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
padding:40px 0;
 max-width:1360px;
    margin:0 auto;
}
.symbol_recommendation.symbol_up {
background: linear-gradient(20deg, #23bd38, #41eba9);
}
.symbol_recommendation.symbol_down {
    background: linear-gradient(20deg, #ff6b6b, #fa5252);
}
.symbol_recommendation.locked {
    background: linear-gradient(20deg, #2e2e2e, #6c6c6c); 
}

.locked_single_row {
     display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
}

.locked_single_row img {
    width:100%;
    max-width:100px;
}


@media (max-width:600px) {
.locked_single_row {
    display: grid;
    place-items: center;
 }
 .locked_single_row img {
    max-width:50px;
}

}

.thettlelocked {
font-size:20px;
font-weight:600;
margin-bottom:10px;
}
.thetextlocked {
font-size:17px;
font-weight:500;
}


.locked_content_p a {
    background: #42cc80;
    color: #000;
    margin-top:20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 25px;
    padding: 10px 30px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.locked_content_p a:hover {
    background: #36b474;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.today_price {
    display:flex;
    align-items:center;
    gap:20px;
    justify-content:center;
}

.today_price h3 {
    font-size:25px;
    font-weight:500;
}

@media (max-width:600px) {
.today_price h3 {
    font-size:20px;
    font-weight:400;
}
}

.today_price img {
    width:100%;
    max-width:50px;
}

.tomorrow_recommend {
    margin-top:20px;
}

.tomorrow_recommend p {
    font-size:17px;
    font-weight:700;
    text-align:center;
}

.the_signal {
    display:flex;
    margin-top:20px;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.the_signal p.btn_signal {
       background:#fff;
 border-radius:10px;
 padding:10px 10px;
 font-size:20px;
}
.dark .the_signal p.btn_signal {
 background: linear-gradient(90deg, #2b2b2b, #3a3a3a, #2b2b2b);
}

.btn_signal.buy{
color:#2DB200;
}

.btn_signal.sell{
color:#AD0000;
}
/* END Symbol Recommendation*/


/* Article */
.blog_page_top {
            background-image: linear-gradient(45deg, #F2F2F2, #FFFFFF);
            padding:30px 0 40px 0;
            margin:0 0 30px 0;
}
.dark .blog_page_top {
 background: linear-gradient(90deg, #2b2b2b, #3a3a3a, #2b2b2b);
}

.blog_header {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:30px;
}

.blog_header h1 {
        color:#2b394e;
        line-height:60px;
        font-size:35px;
}

.dark .blog_header h1 {
        color:#fff;
}

.blog_header h5 {
font-weight:300;
font-size:20px;
padding-bottom:10px;
padding:0;
margin:0 0 10px 0;
}

@media (max-width: 600px) {
.blog_header h5 {
font-size:18px;
}    
}


.main_blog_photo {
        order:1;
        width: 100%;
        max-width:600px;
        border-radius: 30px;
        object-fit: cover;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.dark .main_blog_photo {
        box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
}

@media (max-width:1300px) {
 .blog_header h1 {
        line-height:50px;
        font-size:30px;
}
.main_blog_photo {
        max-width:500px;
}

}

@media (max-width:1200px) {
 .blog_header h1 {
        line-height:50px;
        font-size:27px;
}
.main_blog_photo {
        max-width:500px;
}
}
@media (max-width:910px) {
 .blog_header h1 {
        line-height:40px;
        font-size:22px;
}
.main_blog_photo {
        max-width:450px;
}
}

@media (max-width:800px) {
.main_blog_photo {
        max-width:300px;
}

.blog_page_top {
        margin:0 0 25px 0;
}

.blog_header h1 {
        color:#2b394e;
        line-height:35px;
        font-size:19px;
}
}

.header_info {
        margin-top:20px;
}

.post_time {
        display:flex;
        align-items:center;
        gap:15px;
        font-size:17px;
        color:#2b394e;
}
.dark .post_time {
         color:#DEDEDE;
}
.post_time img {
        width:25px;
        height:25px;
}

.post_time span{
        display:flex;
        align-items:center;
        gap:5px;           
}

.header_info h2 {
        background:#42cc80;
        color:#fff;
        margin-top:20px;
        padding:5px 30px;
        display:inline-block;
        font-weight:300;
        font-size:16px;
        text-align:center;
        border-radius: 30px;
}




@media (max-width:600px) {
 .main_blog_photo {
        max-width:1000px;
}

.blog_header h1 {
        line-height:40px;
        font-size:23px;
}

.blog_header {display:block;}
.header_info {display:block;}
.header_info h2 { margin-top:10px;}
}

.content_model {
    display:flex;
    gap:50px;
    width:100%;
}

.content_cotent_text {
    width:70%;
}

.content_side {
    width:30%;
    list-style:none;
}

@media (max-width:1250px) {
 .content_cotent_text {
    width:62%;
}

.content_side {
    width:33%;
}
}

@media (max-width:1000px) {
 .content_cotent_text {
    width:60%;
}

.content_side {
    width:40%;
}
}

.content_side h4 {
    border-bottom:1px solid #dfe2e6;
    width:100%;
    padding:10px;
}

.content_side li {
     display:flex;
    align-items:center;
    gap:20px;
    margin-top:20px;
}

.side_post_photo {
    width:100%;
    max-width:150px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.dark .side_post_photo {
   box-shadow: 0 5px 10px rgba(255, 255, 255, 0.06);
}


.side_post_content p a{
color:#2b394e;
}
.dark .side_post_content p a{
color:#fff;
}
.side_post_content p{
font-size:16px;
line-height:25px;
font-weight:500;
}

.side_post_content p:last-child{
margin-top:10px;
display:flex;
align-items:center;
gap:5px;
font-size:14px;
color:#2b394e;
}
.dark .side_post_content p:last-child{
color:#EBEBEB;
}
.side_post_content p:last-child img{
 width:15px;
 height:15px;;
}

.divsticky {
   position: sticky;
  top: 20px;
  height: fit-content;
}


@media (max-width:880px) {
.content_model {
    display:block;
}
.content_cotent_text,
.content_side {
    width:100%;
}

.content_side h4 {
    border-bottom:0;
    width:auto;
    display:inline-block;
    margin-top:30px;
    padding:5px 10px;
    color:#fff;
    background:#42cc80;
}

.addlineh4b {
    display:block;
    width:100%;
    height:3px;
    background:#42cc80;

}

.side_post_photo {
    max-width:90px;
    border-radius: 10px;
}

.side_post_content p:last-child{
margin-top:5px;
}
.divsticky {
   position: static;
}

}
/* Article  END*/



/* Category END*/
.categorygiglep {
    margin-top:30px;
    margin-bottom:30px;
}

.categorygiglep h1 {
font-size:20px;
background: #42cc80;
color:#fff;
display:inline-block;
padding:5px 30px;
 border-radius:10px 10px 0 0;
margin:0;
}

.categorygiglep span.h1line {
    height:2px;
    background: #42cc80;
    width:500px;
    padding:0;
    margin:0;
    display:block;
 border-radius:10px 0 0 10px;
}

.cattwoheaderg {
    display:flex;
    align-items:center;
    gap:10px;
}
.cattwoheaderg h2 {
    font-size:18px;
    font-weight:500;
}

@media (max-width: 500px) { 
    .cattwoheaderg {
        flex-direction: column;
        align-items:flex-start;
    }
.cattwoheaderg h2 {font-size:16px;order:-1;}

}

@media (max-width: 600px) {
.categorygiglep span.h1line {  width:100%;}

.categorygiglep {
    margin-top:0;
    margin-bottom:20px;
}

}

.article_list {
 display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style:none;
}

.article_list li {
   width: calc((100% - 80px) / 3);
   background: linear-gradient(20deg, #F5F5F5, #F2F2F2);
       position: relative;
    border-radius: 20px;
     transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

}

.dark .article_list li {
   background: #333333;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.04);
}



.article_list li:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);

}

.dark .article_list li:hover {
box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);


}

.articlephoto{
    width: 100%;
    height:300px;
    object-fit: cover;
    border-radius:20px 20px 0 0;
}




.article_list li h2,
.article_list li h3{
    font-size:17px;
    margin-bottom:20px;
    font-weight:600;
}
.article_list li h2 a,
.article_list li h3 a{
color:#2b394e;
}

.dark .article_list li h2 a,
.dark .article_list li h3 a{
color:#fff;
}

.post_date_time {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:#2b394e;
}
.dark .post_date_time {
    color:#fff;
}

.post_date_time img {
width:15px;
height:15px;
}

@media (max-width: 880px) {
.article_list li {
width: calc(50% - 20px);
}
.articlephoto{
height:250px;
}
}

@media (max-width: 600px) {
.article_list {
 display: block;
}

.article_list li {
width: 100%;
margin-bottom:40px;
}

}

.article_outcontent {
    padding:0 15px 20px 15px;
}

.article_signal {
background:#fff;
border-radius:20px;
padding:5px 20px;
z-index:9;
gap:6px;
font-size:14px;
color:#fff;
justify-content:center;
display:flex;
align-items:center;
}

.article_signal.artop {
background: linear-gradient(20deg, #23bd38, #41eba9);
}
.article_signal.ardown {
background: linear-gradient(20deg, #c92a2a, #ff6b6b);
}
.article_signal.locked {
background: linear-gradient(20deg, #2e2e2e, #6c6c6c);
}
.article_signal img {
width:15px;
height:15px;
}

.articleboxfoter {
    display:flex;
    align-items:center;
    justify-content:space-between;
}



/* HOME */
.homeartile_categoryname {
position: absolute;
top:10px;
left:10px;
background:#fff;
color:#000;
border-radius: 10px;
padding: 10px 10px;
text-align: center;
flex: 100%;
display: flex;
justify-content: center;
gap:5px;
}

.dark .homeartile_categoryname {
color:#fff;
background: rgba(0, 0, 0, 0.8);
}

.homeartile_categoryname h1 {
font-size:15px;
font-weight: 500;
padding:0;
margin:0;
line-height:20px;
}

.homeartile_categoryname img {
    width: 20px;
    height: 20px;
}



/* Login / Register Page  */
.login_reg_page input {
    background:#f4f4f7;
    font-family: "Cairo", sans-serif !important;
    border:0;
    border-radius: 25px;
    outline:none;
    transition: background-color .15s ease;
    padding:20px;
    font-size:17px;
    width:100%;
    margin-bottom:15px;
}
.dark .login_reg_page input {
    background-color: #1E1E1E;
    color: #FFFFFF;
    border: 1px solid #2A2A2A;
}
.login_reg_page input:hover,
.login_reg_page input:focus {
    background: #ededf1;
}
.dark .login_reg_page input:hover,
.dark .login_reg_page input:focus {
    background: #2E2E2E;
}

.login_reg_page button[type="submit"]  {
    background:#42cc80;
    color:#fff;
    border:0;
    width:100%;
    height:60px;
    border-radius:25px;
    font-size:22px;
        font-family: "Cairo", sans-serif !important;
    margin-top:20px;
    cursor:pointer;
}


.logi_reg_form { display: none; width:100%;max-width:601px;}

.logi_reg_form h2 {
    display:flex;
    gap:10px;
    margin-bottom:20px;
     align-items: center;
}
.logi_reg_form h2 img{
    width:30px;
    height:30px;
}

.logi_reg_form.active { display: block; }


p.error {
color: red;
margin: 5px 0 10px;
font-size: 14px;
display: none;
}

#registerCountry {
    display: none;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 150px;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.select-option {
    padding: 8px;
    cursor: pointer;
}

.select-option:hover {
    background: #f0f0f0;
}

.loginreg-container {
display:flex;
gap:80px;
justify-content: center;
border-top:1px solid #D1D1D1;
margin-top:30px;
padding-top:30px;
}

.dark .loginreg-container {
    border-top:1px solid #424242;
}

.tab-buttons {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fff;
    width: 90%;
    margin-right:5%;
    margin-top:10px;
    height: 100px;
    overflow: hidden;
    border-radius: 25px;
    transition: all 0.4s ease-in-out;
}
.dark .tab-buttons {background: #2E2E2E;}

.tab-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    background-color: #42cc80;
    z-index: 0;
    transition: all 0.4s ease-in-out;
    border-radius: 25px;
}

.tab-buttons.login-active::before {top: 0;}
.tab-buttons.register-active::before {top: 50%;}


.tab-buttons button {
    position: relative;
    background: none;
    z-index: 1;
    font-family: "Cairo", sans-serif !important;
    width: 90%;
    height: 50%;
    border: 0;
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.4s ease-in-out;
    cursor:pointer;
}
.dark .tab-buttons button {
  color: #EDEDED;
}


.tab-buttons button.active {color: #fff;}
.tab-buttons button img {
    width: 20px;
    height: 20px;
    display: none;
}
.tab-buttons button.active img {display: block;}

.password_row_reg {
    display:flex;
    gap:15px;
}

.log_reg_menu {
    background:#f4f4f7;
    border-radius: 25px;
    width:200px;
}
.dark .log_reg_menu{
    background: #1E1E1E;
    border: 1px solid #2A2A2A;
}

@media (max-width: 600px) {
.logi_reg_form h2 {
margin-top:10px;
}

.log_reg_menu {
    background:#fff;
    border-radius: 0;
    width:100%;
}

.dark .log_reg_menu {
    background:#121212;
     transition: background-color 0.3s, color 0.3s;
    border:0;
}
.loginreg-container {
    display:block;
    margin-top:10px;
}


.logi_reg_form {width:100%;}

.tab-buttons {
    flex-direction: row;
    height: 60px;
    width: 100%;
    background: #f4f4f7;
    margin-right:0;
}

.tab-buttons::before {
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    left: auto;
    transition: right 0.4s ease-in-out;
}
.tab-buttons.login-active::before {top:0;right: 0;}
.tab-buttons.register-active::before {right: 50%;top:0;}
.tab-buttons button {width: 50%;}

.password_row_reg {
    display:block;
}

}

.errorbubble {
    display: none;
    margin-top: -11px;
    gap:5px;
    margin-bottom:20px;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b81, #ff8787);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 129, 0.2);
    animation: bounceIn 0.4s ease;
    position: relative;
}

.errorbubble svg {width:20px;}

.errorbubble::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background:#ff6b81;
    transform: rotate(45deg);
    box-shadow: -1px -1px 4px rgba(0, 0, 0, 0.05);
}

@keyframes bounceIn {
    0% {transform: scale(0.9) translateY(-10px);opacity: 0;}
    60% {transform: scale(1.05) translateY(4px);opacity: 1;}
    100% {transform: scale(1) translateY(0);}
}

/* Pagination Styles */

.pagination-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 0 0;
}

.pagination-nav {
    display: inline-block;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination li {
    display: inline-block;
}

.pagination li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    background: #f0f0f0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s ease;
    overflow: hidden;
    cursor: pointer;
}
.pagination li a:hover {
    color: #fff;
    transform: scale(1.15);
    background-color: #42cc80;
}

.pagination li.active a {
    background-color: #42cc80;
    color: #fff;
    border-color: #42cc80;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(66, 204, 128, 0.3);  
}

.pagination li.disabled a {
    color: #ccc;
    border-color: #eee;
    background-color: #f9f9f9;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination li.dots span {
    padding: 8px 4px;
    color: #aaa;
}

/* Dark Mode Pagination */
.dark .pagination li a {
    color: #fff;
    background-color: #222;
    border-color: #444;
}

.dark .pagination li a:hover {
    background-color: #42cc80;
    border-color: #42cc80;
}

.dark .pagination li.active a {
    background-color: #42cc80;
    border-color: #42cc80;
}

.dark .pagination li.disabled a {
    background-color: #2a2a2a;
    color: #666;
    border-color: #333;
}

.dark .pagination li.dots span {
    color: #777;
}

/* Responsive Pagination */
@media (max-width: 600px) {
    .pagination {
        gap: 15px;
    }
.pagination li {
display:none;
}

.pagination li.active,
.pagination li:first-child,
.pagination li:last-child{
    display:inline-block;
}

}

.arrownextprev {
    position:absolute;
    top:13px;
    width:17px;
    height:17px;
}
.backarrowp {
 right:12px;   
}
.nextarrowp {
  left:12px;      
}

.content_cotent_text p {margin-bottom:20px;}

    img.lazy {
  filter: blur(10px);
  transition: filter 0.3s;
}
img:not(.lazy) {
  filter: none;
}


.errorloginde {
      display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff8787, #ff6b81);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 129, 0.2);
    animation: bounceInSec 0.4s ease;
    position: relative;
     justify-content:center;
} 


.errorloginde svg {width:30px;}


@keyframes bounceInSec {
    0% {transform: scale(0.9) translateY(-10px);opacity: 0;}
    60% {transform: scale(1.05) translateY(4px);opacity: 1;}
    100% {transform: scale(1) translateY(0);}
}


.search_firstpart {
    display:flex;
    align-items:center;
    gap:50px;
}

.search_page h2,
.search_page h3,
.search_page h4{
    font-size:20px;
    padding:0;
    margin:20px 0 10px 0;
    font-weight:600;
}

.keywoardtitlef {
    display:flex;
    align-items:center;
    gap:6px;
     margin:20px 0 10px 0;
}
.keywoardtitlef h2 {
    margin:0;
}
.keywoardtitlef p{
    font-size:15px;
    font-weight:400;
    padding:0;
    margin:0;
}

.searchbykeywork {width:100%;margin-top:30px;}
.searchbypricet {margin-top:30px;width:100%;}
.searchbycategory {margin-top:40px;width:100%;   }

@media (max-width:850px) {
.search_firstpart {display:block;}
.searchbypricet {margin-top:25px;}
.searchbycategory {margin-top:25px;}
}




.searchbykeywork input {
        background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-family: "Cairo", sans-serif !important;
    border-radius: 12px;
    outline:none;
    transition: all .35s ease;
          padding: 15px 20px;
    font-size:17px;  
    width:100%;
}
.dark .searchbykeywork input {
    background-color: #1E1E1E;
    color: #FFFFFF;
    border: 1px solid #2A2A2A;
}
.searchbykeywork input:hover,
.searchbykeywork input:focus {
box-shadow: 0 5px 13px rgba(0, 0, 0, 0.05);
}




.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.checkbox-item {position: relative;}
.checkbox-item input[type="checkbox"] {display: none;}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 16px;
    color: #495057;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    text-align: center;
}

.dark .checkbox-label {
    background-color: #1E1E1E;
    color: #FFFFFF;
    border: 1px solid #2A2A2A;
}

.checkbox-label::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #42cc80, #5ED493);
    transition: width 0.3s ease;
    z-index: 1;
}

.checkbox-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.checkbox-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.checkbox-icon::after {
   content: '';
display: inline-block;
width: 16px; /* adjust size as needed */
height: 16px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Cpath d='M79.423 240.755a47.529 47.529 0 0 0-36.737 77.522l120.73 147.894a43.136 43.136 0 0 0 36.066 16.009c14.654-.787 27.884-8.626 36.319-21.515L486.588 56.773a6.13 6.13 0 0 1 .128-.2c2.353-3.613 1.59-10.773-3.267-15.271a13.321 13.321 0 0 0-19.362 1.343q-.135.166-.278.327L210.887 328.736a10.961 10.961 0 0 1-15.585.843l-83.94-76.386a47.319 47.319 0 0 0-31.939-12.438z' fill='%2342cc80'/%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
    color: #5ED493;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
    border-color: #5ED493;
    transform: translateY(-1px);
box-shadow: 0 5px 13px rgba(0, 0, 0, 0.05);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label::before {width: 100%;}
.checkbox-item input[type="checkbox"]:checked + .checkbox-label .checkbox-text {color: white;}
.checkbox-item input[type="checkbox"]:checked + .checkbox-label .checkbox-icon {transform: scale(1);}

.checkbox-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.05);
}

.selected-count {
    text-align: center;
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
    margin-top: 20px;
}

@media (max-width: 768px) {
    
.checkbox-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.checkbox-label {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 55px;
}

}

@media (max-width: 480px) {

.checkbox-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.checkbox-label {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 60px;
}

.checkbox-icon {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
}

.checkbox-icon::after {font-size: 12px;}
}


/* Animation for page load */

.checkbox-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.checkbox-item:nth-child(1) { animation-delay: 0.1s; }
.checkbox-item:nth-child(2) { animation-delay: 0.2s; }
.checkbox-item:nth-child(3) { animation-delay: 0.3s; }
.checkbox-item:nth-child(4) { animation-delay: 0.4s; }
.checkbox-item:nth-child(5) { animation-delay: 0.5s; }
.checkbox-item:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp {to {opacity: 1;transform: translateY(0);}}


        .price_choose_serch {
            display: flex;
            gap: 20px;
            width:100%;
            flex-direction: row;
        }

        .radio_price_option {
            position: relative;
            cursor: pointer;
            user-select: none;
            width:100%;
        }

        .radio_price_option input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .radio-price-label {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 18px 5px;
            cursor:pointer;
            border-radius: 12px;
                background: #f8f9fa;
    border: 1px solid #e9ecef;
             justify-content:center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: 16px;
            position: relative;
            overflow: hidden;
        }


.dark  .radio-price-label {
    background: #1E1E1E;
    color: #FFFFFF;
    border: 1px solid #2A2A2A;
}
        .radio-price-label::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }

        .radio_price_option:hover .radio-price-label::before {
            left: 100%;
        }

        .arrow-icon-price-s {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .arrow-icon-price-s img {
    width:10px;
    height:10px;
}

        .price-up .arrow-icon-price-s {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
        }

        .price-down .arrow-icon-price-s {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
        }

        .price-text {
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .price-up .price-text {
            color: #16a34a;
        }

        .price-down .price-text {
            color: #dc2626;
        }

        /* Checked state */
        .radio_price_option input[type="checkbox"]:checked + .radio-price-label {
            transform: translateY(-1px);
            box-shadow: 0 5px 13px rgba(0, 0, 0, 0.05);
        }

        .price-up input[type="checkbox"]:checked + .radio-price-label {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            border-color: #22c55e;
        }

        .price-down input[type="checkbox"]:checked + .radio-price-label {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            border-color: #ef4444;
        }

        .radio_price_option input[type="checkbox"]:checked + .radio-price-label .arrow-icon-price-s {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .radio_price_option input[type="checkbox"]:checked + .radio-price-label .price-text {
            font-weight: 700;
        }

        /* Hover effects */
        .radio_price_option:hover .radio-price-label {
            transform: translateY(-1px);
        }

        .price-up:hover .radio-price-label {
            background: linear-gradient(135deg, #f0fdf4, #dcfce7);
            border-color: #22c55e;
        }

        .price-down:hover .radio-price-label {
            background: linear-gradient(135deg, #fef2f2, #fee2e2);
            border-color: #ef4444;
        }

        /* Animation for arrow icons */
        @keyframes bounceUp {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        @keyframes bounceDown {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(3px); }
        }

        .price-up input[type="checkbox"]:checked + .radio-price-label .arrow-icon-price-s {
            animation: bounceUp 0.6s ease-in-out;
        }

        .price-down input[type="checkbox"]:checked + .radio-price-label .arrow-icon-price-s {
            animation: bounceDown 0.6s ease-in-out;
        }

        .title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 24px;
            font-weight: 700;
            color: #374151;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

  
  
        @media (max-width: 480px) {
            .search_price {
                padding: 30px 20px;
            }
            
            .price_choose_serch {
                flex-direction: column;
            }
            
            .radio-price-label {
                padding: 15px 20px;
            }
            
            .title {
                font-size: 20px;
            }
        }
        

 .searchbntp {
    width:100%;
    background:#2b394e;
    color:#fff;
    border: 0;
    font-family: "Cairo", sans-serif !important;
    border-radius: 12px;
    font-size:22px;
    font-weight:700;
    height:60px;
    cursor:pointer;
    margin-top:20px;
        transition: all 0.4s ease;
}

.searchbntp:hover {
 background:#42cc80   
}

 .dark .searchbntp {
    background:#3B3B3B;

}
        
        
        
.searcherrorempty {
    display: none;
    margin-top: -11px;
    gap:10px;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #FF5C74;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 129, 0.2);
    animation: searcherroremptyeffect 0.4s ease;
    position: relative;
    margin-top:30px;
    margin-bottom:0;
    
}

.searcherrorempty svg {width:27px;}

@media (max-width:500px) {
.searcherrorempty svg {width:120px;}
}

.searcherrorempty::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background:#FF5C74;
    transform: rotate(45deg);
    box-shadow: -1px -1px 4px rgba(0, 0, 0, 0.05);
}


.searcherrorempty p {
 padding:0;
 margin:0;
}
.searcherrorempty p span{
 font-weight: 800;    
}

@keyframes searcherroremptyeffect {
    0% {transform: scale(0.9) translateY(-10px);opacity: 0;}
    60% {transform: scale(1.05) translateY(4px);opacity: 1;}
    100% {transform: scale(1) translateY(0);}
}
        


.searchresultnotlogin {
    display: flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    padding: 10px 16px;
    color: #fff;
    background: #FF5C74;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 129, 0.2);
    animation: searchresultnotlogineff 1.4s ease;
    margin-top:30px;
    margin-bottom:30px;
}

.searchresultnotlogin img {width:30px;}
.searchresultnotlogin p {
    padding:0;
    margin:0;
    font-size: 16px;
    font-weight: 600;
}
.searchresultnotlogin p a {   font-size: 17px;font-weight: 800;color:#fff;}

@keyframes searchresultnotlogineff {
    0% {transform: scale(0.9) translateY(-10px);opacity: 0;}
    60% {transform: scale(1.05) translateY(4px);opacity: 1;}
    100% {transform: scale(1) translateY(0);}
}
       