.para-title {
  font-weight: 800;
  font-size: 1.35rem;
}
.text-primary-custom h4 {
  color: var(--primary-color) !important;
  font-weight: 800;
}

.h5-bold {
  font-size: 1.25rem;
  font-weight: 800;
}

/*====================================*/
.fa-bars {
  color: var(--primary-color);
}

.dropdown-toggle::after {
  display: none !important;
}

/*here */
.dropdown-menu {
  background-color: #f8f9fa;
  border: none;
  margin-top: 0;
  z-index: 1090; /* Add this line */
}
/* .nav-item {
  padding: 0.9rem 0;
} */

.nav-item.d-lg-block.border-end .nav-link{
  font-size: 0.9rem;
}

.nav-item.d-lg-block.border-end .nav-link img{
  width: 20px;
}

.navbar.top-header .logo{
  width: 150px;
}

@media (min-width: 991.98px) {
  .dropdown-menu-news-li-parent:hover .dropdown-menu-news {
    display: grid;
  }
}

.dropdown-menu-news {
  width: auto !important;
  background-color: #000000bb !important;
  color: #ffffff !important;
  border-radius: 0rem !important;
  border: 0.1rem solid var(--primary-color) !important;
  border-bottom: 0.25rem solid var(--primary-color) !important;
  position: absolute;
  background-color: #f8f9fa;
  border: none;
  margin-top: 0;
  z-index: 1090;
  display: none;
  top: 2.5rem;
}
.dropdown-menu-news-li-parent .custom-white-dropdown {
  margin-top: 0;
  width: auto !important;
  background-color: #ffffff !important;
  border-radius: 0rem !important;
  border: 0.1rem solid var(--primary-color);
  border-bottom: 0.25rem solid var(--primary-color);
  position: absolute;
  z-index: 1090;
  display: none;
  opacity: 100% !important;
  top: 2.5rem;
}
.dropdown-menu-news-li-parent .custom-white-dropdown ul {
  margin: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dropdown-menu-news ul {
  margin: 0rem;
  padding: 0rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.dropdown-menu-news li {
  list-style: none;
}

.dropdown-menu-news a {
  display: block;
  width: 100%;
  padding: 1rem;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: var(--bs-dropdown-item-border-radius, 0);
  color: white;
}
.dropdown-menu-news-li-parent .custom-white-dropdown a {
  color: #000;
}



.dropdown-menu-news-li-parent {
  position: relative !important;
}

.nav-link:hover {
  color: var(--primary-color);
}

#datePick {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.select2-container{
  width: 100% !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
  min-height: 2.25rem;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
.select2-container--default .select2-search--inline .select2-search__field{
  width: 100% !important;
  outline: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
  background-color: #d9d9d9;
  color: var(--secondary-color);
  height: 40px;
  display: flex;
  margin: 5px;
  justify-content: center;
  align-items: center;
  padding: 2px 8px;
  margin: 0px;
  border-radius: unset;
  border: 0px;

}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  color: var(--secondary-color);
}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{
  margin-left: unset;
  margin-right: unset;
  float: unset;
  right: unset;
  inset-inline-end: 5px;
}

/*dropdown hover*/
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: transparent !important;
  color: inherit !important;
}

.nav-item.dropdown:hover .nav-link {
  color: var(--primary-color);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
  visibility: visible;
  opacity: 1;
}
.nav-item.dropdown:hover .nav-link i {
  color: var(--primary-color);
  transform: rotate(180deg);
}
.nav-link {
  color: var(--secondary-color);
}
/*==========more dropdown=========*/
@keyframes flash {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.5;
  }
}

.live-red-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.live-red-button::before {
  content: "•";
  color: #ffffff;
  font-size: 2rem;
  padding-right: 0.25rem;
  display: inline-block;
  vertical-align: middle;
  animation: flash 3s infinite;
}

/*==========accordion===========*/

.accordion-link {
  color: var(--secondary-color) !important;
}

/*button*/
.menu-btn {
  background-color: rgba(52, 52, 52, 0.1);
  font-weight: 800;
}

.amman {
  padding: 0.64rem 0rem;
}

.menu-three-btns .btn {
  color: var(--secondary-color) !important;
}
.navbar {
  width: auto !important;
  padding: 0;
}
.navbar ul li {
  padding: 0;
}
.navbar ul li::after{
  position: absolute;
  height: 100%;
  width: 5px;
  background-color: var(--secondary-color);
}
/*           menu           */

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 2.6rem;
    right: 0;
    width: 100%;
    background-color: #fff;
    z-index: 11;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    max-height: 450px;
    overflow: scroll;
  }

  .small-screen {
    padding: 1rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
  }
  .live-red-button {
    padding: 0.5rem 1rem;
  }

  .exsits-at-ipad a{
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
  }
}

#toggleButtonHeader:focus,
#toggleButtonHeader:active,
#toggleButton:focus,
#toggleButton:active,
#toggleButton:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.quick-news-nav{
  overflow: hidden;
}
.news-ticker-container .row{
  --bs-gutter-x: 0rem;
}
.break-news {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 800;
  height: 2.3rem;
  display: flex;
  align-items: center;
  padding: 0rem 0.5rem;
  margin: 0px;
  margin-inline-start: calc( -1 * ( ( (100vw - var(--container-width) ) / 2) + (1.5rem * .5) ) );
}
.break-news p{
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 800;
  margin:0;
  margin-inline-start: calc(  ( ( (100vw - var(--container-width) ) / 2) + (1.5rem * .5) ) );

}

.news-ticker {
  height: 2.3rem;
  overflow: hidden;
  background: linear-gradient(to left, #ff9600, #ff2a00, #ff9600);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: start;
  position: relative;
  padding-inline-start: 1rem;
  margin-inline-end: calc( -1 * ( ( (100vw - var(--container-width) ) / 2) + (1.5rem * .5) ) );
}
.news-ticker .nav-link{
  color: #fff;
  text-align: start;
  font-weight: 500;
  margin: 0px;
  margin-inline-end: calc( ( (100vw - var(--container-width) ) / 2) + (1.5rem * .5 + 15px) );

}
.news-ticker .only-2-lines{
  height: auto;
}

.close-news-btn {
  position: absolute;
  top: 27%;
  inset-inline-end: calc( ( (100vw - var(--container-width) ) / 2) + (1.5rem * .5) );
  padding: 0;
}

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

.news-single {
  color: white !important;
  text-decoration: none;
  opacity: 0;
  position: absolute;
  top: 5px;
  inset-inline-start: 10px;
  transform: translateY(20px);
  transition: all 500ms ease-in-out;
}

.news-single.active {
  opacity: 1;
  transform: translateY(0);
}

.news-single.out {
  opacity: 0;
  transform: translateY(-20px); /* Exit up */
  z-index: 0;
}

/*==================================modal*/

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1051;
}
.modal-body {
  padding: 0 !important;
}
.modal-body .form-label {
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  font-size: 1.75rem;
}
/* Modal Content/Box */
.modal-content {
  border-radius: 0rem !important;
  background-color: #fefefe;
  border: 1px solid #888;
  width: 100%;
}

/*==================== search popup ==========================*/
.search-button{
  font-weight: 800;
  font-size: var(--bs-nav-link-font-size);
}
.search-button i{
  color: var(--secondary-color)
}
.search-popup {
  border-bottom: 0.25rem solid var(--primary-color);
}

.fa-magnifying-glass {
  color: rgba(52, 52, 52, 0.5);
}

input::placeholder {
  color: rgba(52, 52, 52, 0.5);
}

.select-btn {
  width: 100%;
}

.search-filter-select .form-control {
  height: 2.25rem;
  padding: 1.25rem;
}
.search-inside-select {
  position: absolute;
  top: 1.2rem;
  right: 1rem;
}

.dropdownBtn {
  height: 2.4rem;
  border-top-left-radius: 0.3rem !important;
  border-top-right-radius: 0.3rem !important;
  border-bottom-right-radius: 0rem !important;
  border-bottom-left-radius: 0rem !important;
  color: var(--secondary-color) !important;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  background-image: url("../images/correct.svg");
  background-size: 70%;
}
.form-check-input:focus {
  border: none !important;
}

.form-check-input {
  width: 1.125rem !important;
  height: 1.125rem !important;
  cursor: pointer;
  font-size: 14px !important;
}

.search-dropdown {
  width: 19.5rem;
  /*position: relative; */
  border-radius: 0.125rem !important;
  height: 20rem;
  direction: ltr;
}

.search-dropdown:active {
  display: block !important;
  visibility: visible;
}

.itemsList {
  overflow-y: auto;
  padding-right: 10px;
  display: block !important;
  height: 18.5rem;
}

.itemsList::-webkit-scrollbar {
  width: 6px;
}

.itemsList::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.itemsList::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.reset {
  background-color: rgba(52, 52, 52, 0.5);
}
.chip {
  margin-right: -13px;
}
.chipBtn {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
}
.chipBtn div {
  width: auto;
  height: 40px;
  background-color: #d9d9d9;
  display: flex;
  margin: 5px;
  justify-content: center;
  align-items: center;
  padding: 2px 8px;
}
.chipBtn div {
  color: 343434;
}

  @keyframes slideUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

   /* Custom Select2 Styling - Clean Input */
    .select2-container {
        width: 100% !important;
    }

    .select2-container--default .select2-selection--multiple {
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        min-height: 25px;
        padding: 5px 10px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .select2-container--default.select2-container--focus .select2-selection--multiple {
        outline: none;
    }

    /* Hide selected items in the input */
    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        display: none !important;
    }

    /* Style the search input */
    .select2-container--default .select2-search--inline {
        width: 100% !important;
    }

    .select2-container--default .select2-search--inline .select2-search__field {
        background: transparent;
        border: none !important;
        outline: none;
        padding: 0px;
        margin: 0;
        height: 1.9rem;
        width: 100% !important;
        color: var(--secondary-color);
        font-family: var(--font-family);
    }
    .select2-container--default .select2-search--inline .select2-search__field::placeholder{
      font-size: 1rem;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
        color: #999;
    }

    /* Dropdown styles */
    .select2-dropdown {
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        margin-top: 5px;
    }

    .select2-search--dropdown {
        padding: 10px;
        border-bottom: 1px solid #e0e0e0;
    }

    .select2-search--dropdown .select2-search__field {
        width: 100%;
        padding: 8px;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        outline: none;
        font-size: 14px;
    }

    .select2-search--dropdown .select2-search__field:focus {
        border-color: #667eea;
    }

    .select2-results__option {
        padding: 10px 15px;
        font-size: 14px;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .select2-results__option--highlighted {
        background: var(--primary-color);
        color: white;
    }
    .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
      background-color: #ddd;
      color: #000;
    }

    .select2-results__option--selected {
        background-color: #f0f0f0;
        position: relative;
    }

    .select2-results__option--selected::after {
        content: '✓';
        position: absolute;
        inset-inline-end: 15px;
        color: var(--primary-color);
        font-weight: bold;
        font-size: 16px;
    }

    /* Selected items display area */
    .selected-items {
        padding: 0px;
        min-height: 120px;
    }

    .selected-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .selected-title {
        color: #666;
        font-size: 16px;
        font-weight: 600;
    }

    .selected-count {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 600;
    }

    .selected-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .selected-item {
        width: auto;
        height: 40px;
        background-color: #d9d9d9;
        display: flex;
        margin: 5px;
        justify-content: center;
        align-items: center;
        padding: 2px 8px;
        animation: popIn 0.3s ease-out;
        position: relative;
        overflow: hidden;
        cursor: default;
        transition: all 0.3s ease;
        color: var(--secondary-color);
    }

    @keyframes popIn {
        0% {
            opacity: 0;
            transform: scale(0.8);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    .remove-btn {
      border: none;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 18px;
      color: var(--secondary-color);
      padding: 0;
      line-height: 1;
      background: unset;
    }

    .empty-state {
        color: #999;
        font-style: italic;
        text-align: center;
        padding: 30px;
        font-size: 15px;
    }

    .select2-container--default .select2-results>.select2-results__options{
      background-color: #f8f9fa;

    }

  .select-wrapper {
    margin-bottom: 5px;
  }

.date-btn {
  padding: 0.4rem 0rem;
}

.country,
.Category,
.classification,
.modal-body {
  width: 25%;
}
@media (max-width: 767.98px) {
  .search-filter-select {
    flex-wrap: wrap;
  }
  .country,
  .Category,
  .classification,
  .modal-body {
    width: 48%;
  }
}
.navbar-expand-lg .fa-chevron-down {
  display: inline-block;
}
.custom-dropdown {
  font-size: 1rem;
}
.custom-dropdown i {
  padding: 0 0.2rem;
}
@media (max-width: 991.98px) {
  .custom-dropdown {
    width: 85%;
    font-size: 1.3rem;
    padding: 1rem;
  }
  .custom-dropdown i {
    font-size: 1.3rem;
    padding: 0;
  }
  .toggleButtonHeader {
    width: auto;
    padding: 1rem 0.2rem;
    border: none;
    background-color: transparent;
  }
  .toggleButtonHeader i{
    color: var(--secondary-color);
    font-size: 1.3rem;
  }
  .navbar-expand-lg .fa-chevron-down {
    display: none;
  }
  .custom-nav .dropdown-menu-news {
    display: none;
  }

  .custom-nav .dropdown-menu-news.show {
    display: block;
    width: 100% !important;
  }
}

.user-dropdown-menu {
  margin-top: 0.3rem !important;
  background-color: #fff !important;
  width: 17.75rem !important;
  border: 0.1rem solid var(--primary-color);
  border-bottom: 0.5rem solid var(--primary-color);
  border-radius: 0rem !important;
}
.arabic-version .user-dropdown-menu {
  right: auto !important;
  left: 0;
}
.user-dropdown-item {
  padding-right: 2rem;
}

.user-dropdown-item2 {
  padding-right: 2.2rem;
}

a:hover .user-icon-black {
  filter: invert(14%) sepia(93%) saturate(5485%) hue-rotate(-2deg)
    brightness(64%) contrast(106%);

  color: var(--primary-color);
}
.same-design {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.font-weight-bold {
  font-weight: 800;
}

.icon-margin {
  margin-top: 0.6rem;
}

.icon-padding {
  padding-bottom: 0.3rem;
}

.custom-nav {
  display: flex;
  justify-content: space-between;
}

.custom-nav a {
  display: block;
  white-space: nowrap;
  font-size: .9rem;
}

.pref-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.pref-modal-content {
  background-color: #fefefe;
  width: 39rem;
  height: 40.625rem;
  border-radius: 0.5rem !important;
  margin: 2% auto;
}


.anchor-none-header{
  text-decoration: none;
}

.top-header.navbar-expand-lg .navbar-nav .nav-item:last-child .nav-link{
  padding-inline-end: 0px;
}


.middle-header .navbar-toggler{
  padding: 0px;
}


@media (max-width: 767.98px) {
  .news-ticker,
  .break-news{
    height: 3.5rem;
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .dropdown-menu-news,
  .custom-white-dropdown {
    position: relative !important;
    top: 0 !important;
    opacity: unset !important;
  }
  .dropdown-menu-news,
  .custom-white-dropdown {
    position: relative;
    display: block;
    width: 100% !important;
    background-color: #fff !important;
    border: unset !important;
    top: 0;
  }
  .dropdown-menu-news ul,
  .custom-white-dropdown ul {
    position: relative !important;
    display: block !important;
    margin-top: 0px;
  }
  .dropdown-menu-news a,
  .custom-white-dropdown a {
    color: var(--secondary-color);
    padding: 0.5rem;
  }
  .dropdown-menu-news-li-parent{
    border-bottom: 1px solid rgba(52, 52, 52, 0.2);
  }

  .dropdown-menu-news ul li a{
    color: var(--secondary-color);
    font-weight: 800;
  }
  .hidden {
    display: none !important;
  }
}

.navbar-nav.custom-nav  .nav-link.active{
  color: var(--primary-color);
}



.checkbox-wrapper {
    position: relative;
    display: inline-block;
}

/* Hide default checkbox */
.checkbox-wrapper input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* Custom toggle switch */
.toggle {
    display: block;
    width: 50px;
    height: 30px;
    background: rgba(52, 52, 52, 0.5);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Toggle handle */
.toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 5px;
    inset-inline-start: 5px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Checked state */
.checkbox-wrapper input[type="checkbox"]:checked + .toggle {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--urgent-color) 100%);
    box-shadow: 0 0 20px var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .toggle::after {
    transform: translateX(-20px);
}

/* Hover effects */
.toggle:hover {
    transform: scale(1.05);
}

/* Label */
.label {
    margin-top: 15px;
    transition: color 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked ~ .label {
    color: var(--primary-color);
}

/* Status text */
.status {
    margin-top: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}







[type=search]{
  outline-offset: 10px;
  outline: none;
  height: 45px;
  padding: 1rem;
}

[type=search]:focus{
  border: 1px solid rgba(52, 52, 52, 0.25) !important;
}
.height-90px{
  height: 90px;
}
