/* =========================================
   LOGGED IN USER BOX
========================================= */

.logged-user-box {
  height: 52px;
  min-width: 158px;
  background: #078acb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 4px 8px;
  color: #fff;
}

/* User information */

.user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

/* User name */

.user-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.user-icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}

/* Points */

.user-points {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.points-separator {
  opacity: 0.9;
}

/* Logout */

.logout-btn {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  padding: 5px 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logout-btn:hover {
  color: #e8e8e8;
}

/* =========================================
   LOGOUT CONFIRMATION POPUP
========================================= */

.logout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99999;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding-top: 52px;
}

/* Popup */

.logout-popup {
  width: 300px;
  max-width: calc(100% - 30px);

  background: #fff;
  border-radius: 0 0 6px 6px;

  overflow: hidden;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  right: 10px; 
  position: absolute;
  animation: logoutPopupShow 0.2s ease-out;
}

/* Message */

.logout-message {
  padding: 8px 9px;

  color: #333;
  font-size: 14px;
  font-weight: 600;

  background: #fff;
}

/* Buttons container */

.logout-actions {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

/* YES */

.logout-yes-btn {
  width: 45%;
  height: 40px;

  border: none;
  outline: none;

  background: #08745d;
  color: #fff;

  font-size: 17px;
  font-weight: 500;

  cursor: pointer;
}

.logout-yes-btn:hover {
  background: #06634f;
}

/* NO */

.logout-no-btn {
  width: 45%;
  height: 40px;

  border: none;
  outline: none;

  background: #fff;
  color: #0086d1;

  font-size: 17px;
  font-weight: 500;

  cursor: pointer;
}

.logout-no-btn:hover {
  background: #f3f3f3;
}

/* Animation */

@keyframes logoutPopupShow {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navItems-landingSm[_ngcontent-jrx-c95]:hover {
    color: skyblue;
    background-color: transparent !important;
  }
  .offcanvas-header .btn-close {
  filter: brightness(0) invert(1);
    height: 25px;
    width: 20px;
    opacity: var(--bs-btn-close-focus-opacity);
}
  .btn-close {
    --bs-btn-close-bg: url(https://png.pngtree.com/png-vector/20220628/ourmid/pngtree-icon-close-button-incorrect-forbidden-png-image_5286028.png) !important;
    background-size: 100% 100% !important;
  }
  .user_tabs p{
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 8px;
        padding-right: 0px;
        color: rgb(255, 255, 255);
  }
  .user_tabs p:hover {
    background-color: rgb(8, 8, 8);
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .rules {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 8px;
        padding-right: 0px;
  }
  .btn-close{
    position: relative;
    top: 0px;
    z-index: 99;
  }

  
.search-container {
  display: flex;
  align-items: center;
  margin-top: 6px !important;
  justify-content: flex-end;
  background-color: var(--bg-primary);
  padding: 1px;
  border-radius: 4px;
  position: relative;
}
  
.search-container1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--bg-primary);
  padding: 1px;
  border-radius: 4px;
  position: relative;
}

.search-input-wrapper {
  overflow: hidden;
  width: 0;
  transition: width 0.4s ease;
}

.search-input-wrapper.show {
  width: 150px;
}

.search-input-wrapper1 {
  overflow: hidden;
  width: 0;
  transition: width 0.4s ease;
}

.search-input-wrapper1.show {
  width:135px;
}

.search-input {
  padding: 7px 12px;
  background-color: var(--dark-theme-color-navbar) !important;
  border: none;
  border-radius: 0px;
  outline: none;
  font-size: 14px;
  color: var(--dark-theme-white-color) !important;
  width: 100%;
  transition: all 0.4s ease;
}
.search-input::{
  color: var(--dark-theme-white-color) !important;
}

.search-icon {
  background-color: var(--bg-primary);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 30px;
  margin-left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-theme-color-navbar);
  font-size: 16px;
}

.search-icon:hover {
  background-color: var(--bg-primary);
}

.header_items{
    display: flex;
    flex-direction: column;
    font-size: 16px;
    justify-content: center;
}
         
  @media (max-width: 768px) {
    .navItems-landingSm[_ngcontent-jrx-c95]:hover {
      color: skyblue !important;
      background-color: transparent !important;
    }

    .navItems-landing[_ngcontent-jrx-c95] span[_ngcontent-jrx-c95]:hover {
      color: skyblue !important;
    }
    .header_items{
      font-size: 12px;
      align-items: end;
    }
    .search-input{
      padding: 3px 12px;
    }
  }

  /* =====================================
   MOBILE HEADER
===================================== */

.mobile-header {
  display: none;
}


/* =====================================
   MOBILE ONLY
===================================== */

@media (max-width: 991px) {

  .mobile-header {
    width: 100%;
    height: 45px;

    display: flex;
    align-items: center;

    background: #ffffff;

    position: relative;

    z-index: 10000;

    border-bottom: 1px solid #ddd;
  }

  .news-bar .news-title{
    background-color: #0086d1;
    color: #fff;
  }



  .mobile-menu-btn {
    width: 45px;
    height: 45px;

    border: none;
    outline: none;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #25384a;

    font-size: 20px;

    cursor: pointer;
  }


  .mobile-menu-btn:active {
    background: #eeeeee;
  }



  .mobile-header-logo {
    display: flex;
    align-items: center;

    height: 100%;

    text-decoration: none;
  }


  .mobile-header-logo img {
    width: 115px;
    height: auto;

    object-fit: contain;
  }
}

/* =========================================
   MOBILE LOGGED-IN USER
========================================= */

.mobile-user-section {
  margin-left: auto;
  height: 45px;
  min-width: 135px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;

  position: relative;

  background: #fff;
  color: #333;

  z-index: 10001;
}


/* =========================================
   MOBILE POINTS
========================================= */

.mobile-points {
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-right: 7px;

  font-size: 9px;
  font-weight: 600;

  color: #333;

  line-height: 1;
}

.mobile-points-separator {
  margin: 0 5px;
  color: #555;
}


/* =========================================
   USER ROW
========================================= */

.mobile-user-row {
  height: 15px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  position: relative;
}


/* =========================================
   SETTINGS ICON
========================================= */

.mobile-setting-btn {
  width: 30px;
  height: 25px;

  padding: 0;
  margin: 0;

  border: none;
  outline: none;

  background: transparent;

  color: #222;

  font-size: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.mobile-setting-btn:hover {
  color: #078acb;
}


/* =========================================
   DEMO BUTTON
========================================= */

.mobile-user-dropdown-wrapper {
  position: relative;
}

.mobile-user-btn {
  height: 25px;

  border: none;
  outline: none;

  background: transparent;

  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 4px;

  color: #555;

  font-size: 10px;
  font-weight: 500;

  cursor: pointer;
}

.mobile-user-btn:hover {
  color: #078acb;
}

.mobile-user-btn .fa-user {
  font-size: 10px;
  color: #777;
}

.mobile-arrow {
  font-size: 7px;
  margin-left: 1px;
}


/* =========================================
   MOBILE USER DROPDOWN
========================================= */

.mobile-user-dropdown {
  position: absolute;

  top: 25px;
  right: 0;

  width: 155px;

  background: #fff;

  border: 1px solid #ddd;

  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);

  z-index: 99999;

  padding: 3px 0;
}


/* =========================================
   DROPDOWN ITEMS
========================================= */

.mobile-user-dropdown button {
  display: block;

  width: 100%;

  min-height: 30px;

  padding: 6px 9px;

  border: none;
  outline: none;

  background: #fff;

  text-align: left;

  color: #444;

  font-size: 10px;

  cursor: pointer;
}

.mobile-user-dropdown button:hover {
  background: #f1f1f1;
  color: #078acb;
}

.mobile-user-dropdown {
  width: 150px;
  top: 25px;
  right: 0;
  padding: 2px 0;
}

.mobile-user-dropdown button {
  min-height: 27px;
  padding: 5px 8px;
  font-size: 9px;
}

@media (max-width: 768px) {
  .mobile-user-section {
    min-width: 135px;
    margin-right: 3px;
  }

  .mobile-points {
    font-size: 9px;
  }

  .mobile-user-btn {
    font-size: 10px;
    background-color: #dfe5e5;
    height: 19px;
  }
}