@import "../theme_fonts/theme.css";
body {
  background: var(--primary-background);
  color: var(--primary-text-black);
}

/* Logo styling */
.big-home1 img,
.small-home1 img {
  height: 55px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.profile .profileList {
  /* display: flex; */
  flex-direction: column;
  /* width: 14rem; */
  margin-top: 2rem;
}
.profile {
  width: 80%;
  margin: auto;
}
.profileList li {
  display: flex;
  width: 100%;
  border: 1px solid var(--profile-border);
  background: var(--primary-background);
  padding: 10px;
  font-size: 14px;
  font-weight: 400;
  box-sizing: border-box;
  margin: auto;
}
.DisPageName {
  display: inline-block;
  margin: auto;
  margin-left: 4rem;
}
.DisPageName a {
  text-decoration: none;
  color: var(--black-bb);
}
.profileList > li a {
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--black-m);
}
.profileList li :hover {
  color: var(--btn-pink);
}
.profile {
  display: flex;
  flex-direction: row;
}
.profile a {
  text-decoration: none;
  color: var(--black-a);
}
.profile i {
  font-size: 0.7rem;
}
/* .popup {
  background-color: white;
  width: 14rem;
  text-align: center;
  padding: 1rem;
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -50%) scale(0.1);
  visibility: hidden;
  transition: transform 0.5s, top 0.5s;
}
.popback {
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  transition: transform 0.7s, bottom 0.5s;
}
.popup li {
  display: block;
  border: 1px solid rgb(231, 229, 229);
  height: 2.5rem;
  padding-top: 1rem;
}
.popup ul {
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-left: -2.4rem;
  color: var(--btn-pink);
} */
.logoutPopup {
  background-color: var(--primary-background);
  width: 280px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.logoutPopup h3 {
  margin: 0 0 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text-black);
}
.logoutPopback {
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  opacity: 1;
  z-index: 1000;
}
.logoutPopup li {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--log-bor);
  height: 44px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.logoutPopup li:hover {
  background-color: var(--btn-pink);
  color: white;
  border-color: var(--btn-pink);
}
.logoutPopup li:last-child {
  margin-bottom: 0;
  background-color: var(--secondary-background);
  color: var(--primary-text-black);
}
.logoutPopup li:last-child:hover {
  background-color: #ddd;
  color: var(--primary-text-black);
  border-color: #ddd;
}
.logoutPopup ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  color: var(--btn-pink);
}
.icon {
  margin-right: 10px;
}

.profileList li a:hover i > * {
  filter: invert(45%) sepia(86%) saturate(6019%) hue-rotate(320deg)
    brightness(98%) contrast(103%);
}
.switch-tab-text {
  color: var(--btn-pink) !important;
  font-weight: 600;
  font-size: 14px;
}
.switch-tab-border {
  border-right: 3px solid var(--btn-pink) !important;
}
ul.breadcrumb {
  padding-top: 115px;
  list-style: none;
  /* background-color: #eee; */
  align-items: center;
  justify-content: center;
  margin-left: 10%;
  margin-bottom: -15px;
}
ul.breadcrumb li {
  display: inline;
  font-size: 13px;
}
ul.breadcrumb li + li:before {
  /* padding: 8px; */
  color: var(--black-bb);
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: var(--breadc);
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: var(--breadch);
  text-decoration: underline;
}

/* Dark mode styles for profile sections */
.dark-mode .profile,
.dark-mode .profile a,
.dark-mode .profileList li a,
.dark-mode .profileList li,
.dark-mode .DisPageName a,
.dark-mode ul.breadcrumb li,
.dark-mode ul.breadcrumb li a,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode p,
.dark-mode span,
.dark-mode label,
.dark-mode input,
.dark-mode .logoutPopup,
.dark-mode .logoutPopup h3 {
  color: var(--primary-text-black);
}

.dark-mode .profileList li {
  border-color: var(--profile-border);
}

.dark-mode .logoutPopup {
  background-color: var(--primary-background);
}

.dark-mode .profile .icon svg path {
  fill: var(--primary-text-black);
}

/* Logout popup mobile responsive */
@media screen and (max-width: 480px) {
  .logoutPopup {
    width: 90%;
    max-width: 300px;
    padding: 16px;
  }
  .logoutPopup h3 {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .logoutPopup li {
    height: 40px;
    font-size: 13px;
  }
}

.dark-mode .logoutPopup li:last-child {
  background-color: var(--secondary-background);
}
.dark-mode .logoutPopup li:last-child:hover {
  background-color: var(--nav-header-nav-border);
}
