@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Smooch+Sans:wght@100..900&display=swap");

.main {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: var(--text-body);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 16px;
  cursor: default;
}

.navbar {
  display: none;
}

@media (min-width: 769px) {
  .navbar {
    display: block;
  }
}

.mainLayout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  flex: 1;
  /* margin-top: 0.3rem; */
}

.sidebar {
  width: 15.7%;
}

.wrapper {
  width: 83.9%;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .main {
    font-size: 14px;
  }

  .container {
    /* margin-top: 0.2rem; */
    margin-bottom: 0.3rem;
  }

  .sidebar {
    display: none;
  }

  .wrapper {
    width: 100%;
    margin-left: 0;
  }
}

.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 0.5rem;
}

/* Original Banner Popup Styles */
.bannerPopModal {
  position: relative;
  height: auto;
  aspect-ratio: 2.2/1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bannerPopHeader {
  width: 100%;
  height: 2.5rem !important;
  padding: 2.5rem;
  background: #0088cc;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bannerPopImage {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Login Success Popup Styles */
.loginPopModal {
  position: relative;
  background: white;
  width: 53%;
  /* top: 0rem; */
  /* max-width: 50rem; */
  border-radius: 1px;
  /* height: auto; */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loginPopHeader {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #0088cc;
  color: white;
  padding: 0px 0px;
  font-size: 16px;
}

.warningText {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.warningIcon {
  font-size: 18px;
  color: #ffcc00;
}

.loginPopBody {
  width: 100%;
  /* Removed height: 100% to let content define height */
  overflow: hidden;
}

.loginPopImage {
  width: 100%;
  height: auto;
  /* Maintain aspect ratio */
  display: block;
}

/* Shared Close Button */
.bannerPopClose {
  position: relative;
  background: none;
  border: none;
  color: white;
  font-size: 2.3rem;
  cursor: pointer;
  line-height: 1;
  z-index: 3;
  font-weight: 300;
}

/* Specific adjustments for banner close button to match original positioning */
.bannerPopHeader .bannerPopClose {
  top: 1rem;
  background: rgba(0, 0, 0, 0.6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .bannerPopModal {
    width: 50vw !important;
    height: 90vh !important;
    max-width: 1100px !important;
    max-height: 80vh !important;
  }
}

@media (max-width: 768px) {
  .loginPopModal {
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  .loginPopBody {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .loginPopImage {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .warningText {
    font-size: 12px;
  }

  .modalOverlay {
    padding: 0rem;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .bannerPopModal {
    height: 90vh !important;
    aspect-ratio: 1.2/1 !important;
  }
}

/* Sidebar Mobile Slide-in Styles */
.sidebarMobileOpen {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 70% !important;
  /* Adjust width as needed */
  max-width: 300px;
  background-color: #fff;
  z-index: 10000;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out forwards;
}

.sidebarOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(240, 235, 235, 0.5);
  z-index: 9999;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}