body {
  margin: 0;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
  .burger-toggle {
    top: 18px;
    right: 10px;
  }
  .language-change{    position: fixed;
    /* top: 23px; */
    font-size: 24px;
    background: none;    right: 54px;}
    .language-change .white{background: rgb(254 215 152)!important;}

}

 

/* Close button inside sidebar */
.close-sidebar {
background: none;
border: 2px solid transparent; /* Transparent border for the outline */
font-size: 22px; /* Increase the size of the close icon */
padding-right: 11px;
  background: none;
  padding-left: 11px;
position: absolute;
top: 10px;
right: 15px;/* Keep it on the left side */
cursor: pointer;
z-index: 999; /* Ensure it's above other elements */
border-radius: 10%; /* Make it round */
transition: all 0.3s ease; /* Add smooth transition for hover effects */
line-height: 22px;
color: #fff;
}

/* Add hover effect with outline */
.close-sidebar:hover {
border: 1px solid rgb(219, 218, 216); /* Outline color */
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2); /* Optional shadow */
}
/* Burger toggle button styles */
.burger-toggle {
position: fixed;
top: 27px;
font-size: 24px;
background: none;
border: none;
cursor: pointer;
z-index: 0;
display: block;

border-radius: 50%;
padding: 12px;
transition: all 0.3s ease;
color: #000!important;

}


.burger-toggle-ar {
  position: fixed;
  top: 5px;

  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 0;
  display: block;
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  transition: all 0.3s ease;
}

.burger-toggle:hover {
   
}

/* Hide burger toggle button when sidebar is active */
.burger-toggle.hidden {
  display: none;
}

.sidebar {
  display: flex;
   width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, .9);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  right: -500px;
  transition: right 0.3s ease;
  z-index: 999;
  padding: 20px 20px 20px 0;
}

.sidebar.active {
  right: 0;
}

/* .user-info {
  padding: 20px;
  text-align: center;

} */

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-details h4 {
  margin: 5px 0;
  font-size: 16px;
}

.user-details p {
  color: gray;
  font-size: 14px;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
}

.menu li span.menu-heading {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

/* Align buttons in one row */
.menu li div {
  display: flex;
  justify-content: space-between; /* Align buttons in a row */
  gap: 10px; /* Add spacing between buttons */
}

.menu li div button {
background-color: #f1f1f1; /* Button background color */
color: #333; /* Text color */
border: none; /* No border on the button */
padding: 0;
cursor: pointer;
border-radius: 9px; /* Rounded corners */
 /* Shadow effect */
transition: all 0.3s ease;
position: relative; /* Make sure pseudo-element is positioned relative to the button */
}
.country-options button .dropdown-item{
padding: 7px 18px;
border-radius: 9px;
}
.country-options button.active .dropdown-item{
background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%);
/* padding: 10px 18px; */
}
.menu li div button:hover {
 color: #f1f1f1; /* Keep the button background the same on hover */
/* Apply the same rounded corners to the gradient border */
background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); /* Gradient border */
}

.menu .active {
 color: #f1f1f1; /* Keep the button background the same on hover */
border-radius: 30px; /* Apply the same rounded corners to the gradient border */
background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); /* Gradient border */
}

/* Gradient border effect using pseudo-element */
.menu li div button:hover::before {
/* content: ''; 
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 30px; */
 /* Apply the same rounded corners to the gradient border */
/* background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); */
 /* Gradient border */
/* z-index: -1; */
 /* Ensure the border is behind the button */
/* border: 5px solid transparent;  */
/* Ensure no solid border, only gradient border */
}

.menu li div button:focus {
outline:linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%);  /* Remove the default focus outline */
border: 2px solid transparent; /* Ensure no default border */
position: relative; /* Allow positioning of the pseudo-element */
}

.menu li div button:focus::after {
content: ''; 
position: absolute;
top: -2px; /* Adjust to position the outline */
left: -2px;
right: -2px;
bottom: -2px;
border-radius: 30px; /* Apply the same rounded corners */
background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); /* Gradient outline */
z-index: -1; /* Ensure the gradient outline is behind the button */
}


.menu li div button:focus {
outline: none; /* Remove the default outline */
box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.2), 0 0 0 6px linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); /* Gradient outline effect */
border-radius: 30px; /* Ensure the outline has rounded corners */
}


.language-options button, .country-options button {
  background-color: #f1f1f1;
  color: #333;
  border: none;
  padding: 8px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.language-options button:hover, .country-options button:hover {
  background-color: #e1e1e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.country-options button {
  padding-left: 10px;
}

/* Flag icon styles */
.country-options button img, .language-options button img {
  width: 18px;
  height: 12px;
  margin-right: 8px;
}





.menu-heading {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.collapse-btn { 
float:right;

color:black;
  cursor: pointer;
   background:none;
   text-decoration: none;

}



.collapse-icon {
  font-size: 18px;
}

.help-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.help-content ul li {
  padding: 15px 0;
}

.help-content a {
  text-decoration: none;
  color: black;
  font-size: 14px;
}
.dropdown-item {position: relative;}
.help-content a:hover::after{
  /* text-decoration: underline; */
  /* background: #e1e1e1;
  border: 1px solid #d0d0d0;*/ 
  border-left: 1px solid red;
  padding-left: 10px;
  content: '';
  position: absolute;
  top: 0;
  bottom: 30px;
  left: -7px;
  transition: all 0.5s;
  height: 25px;
}
.dropdown-item .fas{display: none;}




@media (max-width: 768px) {
  .sidebar .menu{width: 100%;}
  .menu li div button {
    padding: 10px 16px;
    width: 100%;
    margin-bottom: 15px;
  }
  .country-options{display: block !important;
    width: 100%;}
  .country-options button .dropdown-item{padding: 0;}
  .country-options button{width: 100%;}
  .menu li div {
   display: block;
  }
  .dropdown-item{white-space: normal!important}
  .dropdown-item .fas{display: none;}
 
  .burger-toggle {
    /* top: 18px; */
    right: 10px;
    color:black!important;
  }

  /* .sidebar {
    width: 334px;
    right: -100%;
  }
 */
  .sidebar.active {
    right: 0; /* Slide in from the right */
  }

  .user-avatar {
    width: 50px;
    height: 50px; /* Smaller avatar */
  }

  .menu li {
    padding: 20px 10px; /* Reduce padding for menu items */
  }

  .menu li div button {
    padding: 8px 12px; /* Smaller button padding */
    font-size: 14px; /* Reduce button font size */
    width: 100%;
    margin-bottom: 10px;
  }

  .language-options button, .country-options button {
    padding: 6px 10px; /* Smaller buttons */
    font-size: 12px; /* Reduce font size */
  }
}

@media (max-width: 480px) {
  .step.active .text{margin-top: 15px;}
  ul.dropdown-menu.text-small.user-dropdown.show {
    top: 33px!important;
}
  .sidebar .menu{width: 100%;}
  .menu li div {
    display: block;
  }
  .sidebar {
    width: 263px;
  }
  .burger-toggle {
    /* font-size: 20px;  */
    /* Smaller burger icon */
    /* padding: 8px;  */
    /* Smaller padding */
    color:black!important;

  }
  .help-content a:hover::after {
    left: -7px;
    height: 30px;
  }

  .close-sidebar {
    /* font-size: 28px; */
     /* Adjust size for close button */
    /* padding: 10px; */
     /* Smaller padding */
  }

  .menu li {
    padding: 15px 5px; /* Further reduce padding */
  }

  .menu li div button {
    padding: 6px 8px; /* Smaller button padding */
    font-size: 12px; /* Further reduce font size */
    width: 100%;
    margin-bottom: 12px;
  }

  .language-options button, .country-options button {
    padding: 4px 8px; /* Smaller buttons */
    font-size: 10px; /* Smaller font size */
  }

  .help-content ul {
    padding-left: 10px; /* Adjust padding for nested lists */
  }
  .main-list-set ul li{margin-left: -2px;}
  .language-change .white{background: rgb(254 215 152)!important;}
  .language-change{    position: fixed;
    /* top: 22px; */
    font-size: 24px;
    background: none;    right: 54px;}
    .diff-cs-margin{
    margin-top: 105px !important;
    }

    /* .track {
      transform: rotate(90deg);
      margin-top: 228px!important;
      margin-bottom: 115px!important;
    }
    .track .step .text{
      transform: rotate(270deg)!important;
      margin-top: 83px;
      position: relative;
      left: -19px;
      height: auto !important;
    } 
    .track .step.active .icon img{
      transform: rotate(270deg)!important;
    }
    .track .step .icon {margin-bottom: 0!important;} */
    .track .step .icon {margin-bottom: 29px!important;}
    .track .step::before {right: 2px;}
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* .sidebar {
    width: 300px;
  } */
  .menu li {
    padding: 25px 15px; /* Adjust menu item padding */
  }

  .menu li div button {
    padding: 10px 16px; /* Adjust button size */
  }

  .language-options button, .country-options button {
    padding: 8px 12px; /* Adjust button size */
  }
  .country-options{display: block !important;
    width: 100%;}
  .country-options button .dropdown-item{padding: 0;}
  .country-options button{width: 100%;margin-bottom: 15px;}
  .sidebar .menu{width: 100%;}
  .language-change{    position: fixed;
    /* top: 23px; */
    font-size: 24px;
    background: none;    right: 54px;}
}

/* Optional: Add hover effects and ensure consistent styles across breakpoints */
.burger-toggle:hover, .close-sidebar:hover, .menu li div button:hover {
  opacity: 0.8; /* Slight fade effect on hover */
}

/* General improvements for all breakpoints */
.sidebar {
  overflow-y: auto; /* Add scrolling if content exceeds height */
}

.menu li div button {
  word-wrap: break-word; /* Handle long button text gracefully */
}

.menu-heading {
  font-size: 14px; /* Slightly smaller headings for better scaling */
}
.main-heading{
color: #fff;
font-size: 18px;
font-weight: 700;
border-bottom: 1px solid #565656;
padding-bottom: 7px;
padding-left: 19px;
}
.main-list-set a{
color: #999;
font-family: Visbycf, sans-serif;
font-size: 14px;
font-weight: 500;
text-decoration: none;
padding-block: 6px;
}

.main-list-set a:hover{
color: #fff;
}
.dropdown-item:focus, .dropdown-item:hover{
color: #fff;
}
.main-list-set ul li a{
white-space: normal;
}
.dropdown-item.active, .dropdown-item:active{
color: #fff!important;
}
/* x */
.main-list-set ul{padding-left: 16px;     margin-block: 9px;}
.main-list-set ul li{list-style-type: none; 
/* background-image: linear-gradient(to left, transparent, transparent 50%, #ffffff 50%, #f1f1f1); */

background-position: 100% 0;
background-size: 200% 100%;
transition: all .50s ease-in;
padding-block: 4px;
  padding-inline: 9px;

}
.main-list-set ul li:last-child{margin-bottom: 0;}
.main-list-set ul li.active{background-position: 0% 0;
border-image-slice: 1;
color: #fff;
}
.main-list-set ul li.active a{color: #fff;}

.main-list-set ul li:hover{background-position: 0% 0;      border-bottom: 1px solid transparent;
  border-image: linear-gradient(0.25turn, rgba(255,249,34), rgba(255,0,128), rgba(56,2,155,0));
  border-image-slice: 1;
  width:100%;
 color: #fff;
 }
 .main-list-set ul li a:hover{color: #fff;}
 .main-list-set ul li a img{width: 35px !important;
  height: 20px;
  border: 0 !important;
  object-fit: cover;
}

 #close {
  overflow: hidden;
  position: absolute;
  border: none;
  padding: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: transparent;
  color: #fc9713;
  font: inherit;
  text-indent: 100%;
  cursor: pointer;
  
  &:focus {
    outline: solid 0 transparent;
    box-shadow: 0 0 0 2px #fc9713;
  }
  
  &:hover {
    background: rgb(13 11 10);
  }
  
  &:before, &:after {
    position: absolute;
    top: 15%; left: calc(50% - .0625em);
    width: .125em; height: 70%;
    border-radius: .125em;
    transform: rotate(45deg);
    background: currentcolor;
    content: ''
  }
  
  &:after { transform: rotate(-45deg); }
}

.dropdown-item:focus{
  color: #fff;
}

.language-change{
display: flex;
margin-right: 10px;
}
.language-change .black{
color: #ffffff;
padding: 10px;
font-weight: 700;
text-decoration: none;
transition: color .2s;
position: relative;
overflow: hidden;
background: #000000;
border-top-left-radius: 2px 2px;
border-bottom-left-radius: 2px 2px;
}
.language-change .white{
border-top-right-radius: 2px 2px;
border-bottom-right-radius: 2px 2px;
font-weight: 700;
text-decoration: none;
transition: color .2s;
position: relative;
overflow: hidden;
background: #fee8c3;
padding: 10px;
}
.language-change div .dropdown-item{    font-size: 14px;
line-height: 14px;}
.language-change .white .dropdown-item{color: #000;}
.language-change .black .dropdown-item{border-bottom: 2px solid #d24137;}

.main-list-set ul li.active a::after {
content: "";
position: absolute;
top: 8px;
margin-left: 10px;
width: 20px;
height: 20px;
background-image: url("/web/images/icons/checkorange.png");
background-size: cover;
background-position: center;
transition: opacity 0.3s ease-in-out;
z-index: 2;
}
.not-yet-rember{
color: #4f4f4fc4;font-weight: 500;
a{
  text-decoration: none;    font-weight: 500;
}
}
.setLocale .dropdown-toggle::before{
content: "";
background-image: url("/web/images/icons/language-change.png");
width: 20px;
height: 20px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border: 0;
}
.setLocale .dropdown-toggle{
  border: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-button-tertiary-text);
  border: 1px solid #ffffff26;
  color: #fff;
}
.setLocale .dropdown-toggle:focus{border: 0;}
/* .setLocale .dropdown-menu.show::after{
content: "";
width: 0;
height: 0;
position: absolute;
top: -5px;
right: 16pt;
border-color: transparent transparent #fff;
border-style: solid;
border-width: 0 7pt 7pt;

} */

.setLocale .dropdown-item.active, .dropdown-item:active{
text-decoration: none!important;
background-color: #b02a37!important; 
}
.setLocale .dropdown-menu{
padding-block: 0!important;
}
.setLocale .dropdown-menu li:first-child a.dropdown-item {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-top-left-radius: 5px; 
border-top-right-radius: 5px;
}
.setLocale .dropdown-menu li:last-child a.dropdown-item{
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.setLocale .dropdown-item:focus, .dropdown-item:hover{
text-decoration: none !important;
  background-color: #b02a37 !important;
  color: #ffff;
}