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

@media (max-width: 768px) {
    .burger-toggle {
        top: 10px;
        left: 10px; /* Adjusted for RTL */
    }
}

/* 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: 25px; 
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 0;
    display: block;
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
}

.burger-toggle-ar {
    position: fixed;
    top: 5px;
    left: 10px; /* Adjusted for RTL */
    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;
}

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

.sidebar {
    width: 361px;
    height: 100vh;
    background: rgba(0, 0, 0, .9);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* Adjusted for RTL */
    position: fixed;
    top: 0;
    left: -500px; /* Adjusted for RTL */
    transition: left 0.3s ease; /* Adjusted for RTL */
    z-index: 999;
    padding: 20px 20px 20px 0;
    border-top-left-radius: 0; 

}

.sidebar.active {
    left: 0; /* Adjusted for RTL */
}

.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: 16px;
    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: 7px 18px;
    cursor: pointer;
    border-radius: 9px; /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
    transition: all 0.3s ease;
    position: relative; /* Make sure pseudo-element is positioned relative to the button */
}

.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 */
 /* Apply the same rounded corners to the gradient border */
    background: linear-gradient(268.05deg, #ff8f28 1%, #ff2d5d 99.34%); /* Gradient border */
}

.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-right: 10px; /* Adjusted for RTL */
}

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

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

.collapse-btn {
    float: left; /* Adjusted for RTL */
    color: black;
    cursor: pointer;
    background: none;
    text-decoration: none;
}

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

.help-content ul {
    padding-right: 20px; /* Adjusted for RTL */
    /* margin-top: 10px; */
}

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

.help-content a {
    text-decoration: none;
    color: black;
    font-size: 14px;
}
.help-guides .dropdown-item {
  display: flex !important;
  align-items: flex-start;
}
.help-guides .dropdown-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.help-content a:hover {
    text-decoration: underline;
}


 
@media (max-width: 768px) {
    .sidebar .menu{width: 100%;}
    .burger-toggle {
        top: 10px;
        left: 10px; /* Adjusted for RTL */
        color:black!important;
    }

    .sidebar {
        width: 100%; /* Full width on smaller screens */
        left: -100%; /* Hidden initially */
    }

    .sidebar.active {
        left: 0; /* Slide in from the left */
    }

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

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

    .menu li div button {
        padding: 10px 16px;
        width: 100%;
        margin-bottom: 15px;
      }
    .language-options button, .country-options button {
        padding: 6px 10px; /* Smaller buttons */
        font-size: 12px; /* Reduce font size */
    }
    .menu li div {
        display: block;
       }
}

@media (max-width: 480px) {
    ul.dropdown-menu.text-small.user-dropdown.show {
        top: 33px!important;
    }
    div.setLocale {
        position: fixed;
        top: 24px;
        left: 50px;
        z-index: 22;
    }
    .sidebar .menu{width: 100%;}
    .menu li div {
      display: block;
    }
    .sidebar {
      width: 263px!important;
    } 
    .burger-toggle {
        font-size: 20px; /* Smaller burger icon */
        padding: 8px; /* Smaller padding */
        color:black!important;
    }

    .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 */
    }

    .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 .black{background: rgb(254 215 152)!important;}
    .language-change{
        position: fixed;
        top: 22px;
        font-size: 24px;
        background: none;    left: 35px;

    }
    .diff-cs-margin{
        margin-top: 105px !important;
        }
        .track {
            transform: rotate(270deg);
            margin-top: 228px !important;
            margin-bottom: 115px !important;
          }
          .track .step .text{
            transform: rotate(90deg)!important;
            margin-top: 82px;
            position: relative;
            left: 14px;
            height: auto !important;
          } 
          .track .step.active .icon img{
            transform: rotate(90deg)!important;
          }
          .track .step .icon {margin-bottom: 0!important;}
}   

@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 300px; /* Medium-sized sidebar */
    }

    .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;    left: 35px;

    }
}

@media (max-width: 768px) {
    .language-change{
        position: fixed;
        top: 23px;
        font-size: 24px;
        background: none;    left: 35px;

    }
    .language-change .black{background: rgb(254 215 152)!important;}
    .burger-toggle {
        top: 15px;
        left: 10px; /* Adjusted for RTL */
        color:black!important;
    }

    .sidebar {
        width: 100%; /* Full width on smaller screens */
        left: -100%; /* Hidden initially */
    }

    .sidebar.active {
        left: 0; /* Slide in from the left */
    }

    .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 */
    }

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

.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; padding-right: 0;}
  .main-list-set ul li{list-style-type: none; 
    /* background-image: linear-gradient(to right, 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: #ff7f31;
        font: inherit;
        text-indent: 100%;
        cursor: pointer;
        
        &:focus {
          outline: solid 0 transparent;
          box-shadow: 0 0 0 2px #ff7f31;
        }
        
        &: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); }
      }
      .language-change{
        display: flex;
        flex-direction: row-reverse;
        margin-left: 10px;
      }
      .language-change .black{
        color: #000;
        padding: 10px;
        font-weight: 700;
        text-decoration: none;
        transition: color .2s;
        position: relative;
        overflow: hidden;
        background: #fee8c3;
        border-top-left-radius: 2px 2px;
        border-bottom-left-radius: 2px 2px;
      }
      .language-change .white{
        color: #fff;
        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: #000000;
        padding: 10px;
      }
      .language-change .white .dropdown-item{border-bottom: 2px solid #d24137;}

      .language-change div .dropdown-item{    font-size: 14px;
        line-height: 14px;}
        .language-change .black .dropdown-item{color: #000;}
        .main-list-set ul li.active a::after {
            content: "";
            position: absolute;
            top: 15px;
            margin-right: 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;
          }
          .main-list-set ul li{position: relative;
          }

          .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;
          
          } */
          .sidebar.active .main-list-set ul li a.dropdown-item:focus , .dropdown-item:hover{
            background: none!important;
          }
          .sidebar .main-list-set ul li a.dropdown-item:focus , .dropdown-item:hover{
            background: none!important;
          } 
          .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;
          }
   
        .sidebar.active .main-list-set ul li a.dropdown-item:focus{
            background: none!important;
          }
          .sidebar.active .main-list-set ul li a.dropdown-item:hover{
            background: none!important;
          }