#loginLink, #logoutLink {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  background-color: #5CFFCD;
}

#loginLink:hover, #logoutLink:hover {
  background-color: white;
}
/* Ensure the popup background covers the entire screen */
.popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.popup-contact {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Popup content */
#loginPopup .popup-content {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the popup */
  background-color: #fefefe;
  padding: 0;
  width: 100%; /* Could be more or less, depending on screen size */
  max-width: 800px; /* Maximum width for the popup */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

/* Image container */
#loginPopup .popup-image {
  flex: 1;
  background-size: cover;
}

#loginPopup .login-popup-logo {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  height: -webkit-fill-available;
}

/* Form container */
#loginPopup .popup-form {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Close button */
#loginPopup .close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

#loginPopup .close:hover,
#loginPopup .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#loginPopup .not-have-account {
  margin-top: 40px;
}

.popup-logo {
  max-width: 100px;
  margin-bottom: 20px;
}
.no-margin-l{
  margin-left: 0 !important;
}
#email.login-error, #password.login-error{
  border: 1px solid #D4404A !important; 
}
p.login-error-message{
  margin: 0 !important;
  color: #D4404A !important;
  font-size: 14px;
  justify-self: start;
}

.email-label.email-login-error{
  color: #D4404A !important;
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.blocked-account.login-error-message{
  color: orange !important;
  background-color: rgb(238, 226, 205) !important;
  padding: 10px 5px;
  border-radius: 4px;
}
p.login-approval-message{
  background: #006EAB1A !important;
  color: #006EAB !important;
  margin-top: 20px;
  margin-bottom: 0 !important;
  padding: 12px 8px;
}
.login-approval-message i {
  padding-right: 8px;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
}
.shake {
  animation: shake 0.7s ease-in-out;
}

.navbar-links a.active-link,
.navbar-links span.active-link,
.navbar-links a.active-link .ph{
  color: #5CFFCD;
  font-weight: 550;
}

/* Register Popup specific styles */
#registerPopup .popup-content {
  background-color: #fff;
  padding: 20px;
  width: 100%; /* Could be more or less, depending on screen size */
  max-width: 700px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the popup */
  align-content: center;
}

#registerPopup .close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
}

#registerPopup .close:hover,
#registerPopup .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#registerPopup .popup-logo {
  max-width: 100px;
  margin-bottom: 20px;
  margin-top: 20px;
}

#registerPopup .register-options {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

#registerPopup .register-option {
  background-color: #f4f4f4;
  padding-left: 20px;
  padding-right: 20px; 
  border-radius: 8px;
  width: 45%;
  background-color: #EBF3F8;
  
}

#registerPopup .register-option:hover {
  outline: 2px solid #006FAC;
}

#registerPopup .register-option h3 {
  margin-top: 10px;
  font-weight: 500;
}

#registerPopup .register-option p {
  margin-top: 10px;
  font-size: 14px;
  margin-bottom: 0;
}
.register-link a{
  background-color: white;
}
#registerPopup .register-link {
  text-decoration: none;
  color: inherit;
  text-align: left;
}

#registerPopup .register-icon {
  font-size: 30px;
  color: #006EAB;
}

#registerPopup .already-have-account {
  margin-top: 20px;
}

#registerPopup .login-section {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

#registerPopup .login-section hr {
  margin: 10px 0;
}

#registerPopup .login-section a {
  color: #006EAB;
  font-weight: bold;
  text-decoration: none;
}

#registerPopup .login-section a:hover {
  text-decoration: underline;
}

/* Style the form elements */
#loginForm {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

#loginForm img {
  max-width: 100px;
  margin: 0 auto 20px; /* Centering the image */
  margin-top: 20px;
}

#loginForm p {
  margin-bottom: 20px;
}

#loginForm label {
  margin-top: 10px;
  text-align: left;
  font-size: 16px;
  color: #000;
}

#loginForm input {
  margin-bottom: 10px;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #B9CAD4;
  border-radius: 5px;
  color: #000;
}
.c-font-uppercase{
  text-transform: none !important;
}
#loginForm button {
  padding: 10px;
  font-size: 16px;
  background-color: #006EAB;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

#loginForm button:hover {
  background-color: #00365C;
}

#loginForm .forgot-password {
  margin-top: 10px;
  font-size: 14px;
  color: #006EAB;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  background-color: white;
}

#loginForm .forgot-password:hover {
  color: #0056b3;
  background-color: white;
}

#loginForm .register-section {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

#loginForm .register-section hr {
  margin: 10px 0;
}

#loginForm .register-section a {
  color: #006EAB;
  font-weight: bold;
  text-decoration: none;
}

#loginForm .register-section a:hover {
  text-decoration: underline;
}
.form-header p {
  color: #000;
  font-weight: 500;
}
.popup-header {
  display: none;
}

.popup-container {
  position: fixed;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 40%;
  height: 60%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  border-radius: 8px; 
  z-index: 1000; 
}

.icon-group {
  display: flex;
  align-items: center;
  margin-top: 2px;
  gap: 20px;
}


.icon-group .icon-btn, 
.icon-group .icon-btn * {
   background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: white;
  margin-right: 5px;
}

.ph-heart, .ph-shopping-cart, .ph-envelope{
  font-size: 20px !important;
  margin-bottom: 5px;
}
.iconDivisor {
  margin-left: auto;
  width: 1px;
  height: 24px; 
  background-color: #FFFFFF3D;
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 10px 20px;
  border: none;
  position: fixed !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  position: fixed !important;
  z-index: 1000;
  width: 100svw;
  top: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 72px;
}

.navbar-logo img {
  min-width: 48px;
  height: 48px;
  margin-left: auto;
}

.navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding-left: 20px;

}
.navbar-links li:last-child {
  margin-left: 80px;
}
.navbar-links li:first-child {
  margin-left: 10px;
}



.navbar-links li {
  display: inline-block; /* Permitir que o dropdown apareça embaixo do item */
  position: relative; /* Necessário para o dropdown */
}
.navbar-links li.navbar-buttons{
  margin-top: 0;
}


.navbar-links li .dropdown {
  display: none; /* Ocultar dropdown por padrão */
  position: absolute;
  top: 100%; /* Alinhamento abaixo do item pai */
  left: 0;
  background: black; /* Fundo do dropdown */
  z-index: 1000; /* Garantir que o dropdown apareça acima de outros elementos */
  width: max-content;
  padding: 10px;
}

.dropdown.show {
  display: block; /* Mostrar o dropdown quando a classe "show" é adicionada */
}


.navbar-links li:hover .dropdown {
  display: block; /* Mostrar o dropdown ao passar o mouse */
}

.dropdown li {
  display: block; /* Cada item do dropdown em uma nova linha */
  width: 100%;
  margin-left: 0 !important;
}

.dropdown li a {
  padding: 8px 16px; /* Espaçamento dos links */
  text-decoration: none; /* Remover sublinhado */
  display: block; /* Preencher a área do link */
  color: white;
  width: 100%;
}

.dropdown li a:hover {
  color: #5CFFCD !important;
}

.navbar-links a {
  font-size: 17px !important;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: 0.3s ease;
  cursor: pointer;
}

.navbar-links a:hover {
  border-radius: 4px;
  color: #5CFFCD !important;
}

.navbar-buttons {
  display: flex;
}


.navbar-links li:not(:first-child):not(:last-child):hover {
  color: #5CFFCD;
}
.navbar-buttons button {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.popups-titles{
  font-weight: 500
}
#backToLoginLink, #registerLink{
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  padding: 10px;
  color: #006EAB !important;
  margin-left: 0 !important;
  margin-top: 0 !important; 
  padding: 0 !important;
}


#registerLink:hover, #backToLoginLink:hover{
  background-color: white !important;
  color: #0056b3 !important;
}
.register-btn {
  background-color: #000;
  color: #5CFFCD;
  border-color: #5CFFCD;
  margin-right: 10px; 
  transition: color 0.3s ease, border-color 0.3s ease;
}

#registerBtn:hover {
  color: white;
  border-color: white;
}

/* Hamburger menu styles */
.navbar-hamburger {
  display: none;
}

.hamburger-icon {
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  display: none;
  color: #5CFFCD;
}

.overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* This adds the #000 color with 50% opacity */
  z-index: 2;
}

.container-names{
  display: none;
  text-align: right;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-name {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.entity-name {
  font-size: 14px;
  font-weight: 500;
  color: #5CFFCD; /* Estilo para o nome da entidade */
}

.user-avatar img {
  width: 40px; /* Tamanho do avatar */
  height: 40px;
  border-radius: 50%; /* Para torná-lo redondo */
}

#email, #password {
  outline: none;
}
#password{
  position: relative;
  width: 100%;
}
[data-target="password"]{
  position: absolute;
  margin-top: 10px;
  right: 70px;
}
#email:focus{
  border: 1px solid #006EAB !important;
}
 #password:focus {
border: 1px solid #006EAB;
}

/* Formulario de contacto */
.contactPopup{
  display: none;
}
.contactBtn{
  cursor: pointer;
}
.contact-content{
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}
.contact-content label{
  color: #000;
  font-size: 16px;
  font-weight: 550;
}
.separator{
  height: 1px;
  background-color: #CCE2EE;
  width: 100%;
  padding-left: 1px;
  padding-right: 1px;
}
.contact-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:600px;
  height: auto;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid white;
  border-radius: 8px;
  z-index: 1000;
}
#contact-title{
  font-size: 18px;
  font-weight: 550;
  color: #000;
}
.contact-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  padding-left: 20px;
}
.contact-header i{
  font-size: 18px;
}
.contact-header i:hover{
  color: #000;
}

.contact-form-field{
  display: flex;
  flex-direction: column;
}
#your-message{
  max-width: 100%;
  min-width: 100%;
  min-height: 120px;
  max-height:120px;
  border: 1px solid #B9CAD4;
  border-radius: 6px;
  padding: 15px;
  outline: none;
}
.contact-form-field input{
  padding: 15px;
  height: 48px;
  border: 1px solid #B9CAD4;
  border-radius: 6px;
  outline: none;
}
.contact-form-field input:focus, #your-message:focus {
  border: 1px solid #006EAB;
}
.submit-btn{
  padding: 10px;
  font-size: 16px;
  font-weight: 550;
  background-color: #006EAB;
  color: white;
  border: 2px solid #006EAB;
  border-radius: 5px;
  transition: 0.3s ease;
}
.submit-btn:hover{
  background-color: #00365C;
  border-color: #00365C;
}
.close-contact-btn{
  padding: 10px;
  font-size: 16px;
  font-weight: 550;
  background-color: white;
  color: #006EAB;;
  border: 2px solid #006EAB;
  border-radius: 5px;
  transition: 0.3s ease;
}
.close-contact-btn:hover{
  border-color: #000;
  color: #000;
}
.contact-buttons{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 20px;
  gap: 16px;
}

#backToLoginLink{
  padding-left: 10px;
}
#knowledgebase-list i {
  text-decoration: none !important;
  transition: transform 0.3s ease !important;
}
.ph-carret-down{
  text-decoration: none !important;
}
.contact-content input, .contact-content textarea{
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
}

.register-link{
  display: unset !important;
}
.popup-content p{
  color: #000 ;
}
.register-link p, .register-link h3{
  color: #000 !important;
}
.already-have-account a, .not-have-account a{
  width: unset !important;
}
.already-have-account, .not-have-account{
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 10px !important;
}
.popup-header .welcome-message{
  color: white !important;
}


@media (max-width: 1240px){

  .scrollable-nav {
    max-height: 60dvh; /* Adjust the height as needed */
    overflow-y: auto;
    display: block;
  }

  .navbar-links li:first-child{
    margin-left: 0;
  }
    .just-navbar{
    width: 100svw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .navbar {
    position: fixed;
    border: none !important;
    border-radius: 0 !important;
  }
  #knowledgebase-dropdown{
    padding: 0;
    width: 100%;
  }
  #knowledgebase-dropdown a{
  margin-top: 10px !important;
  padding-left: 30px;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
    padding-top: 20px;
    padding-left: 0;
    padding-bottom: 20px;
    margin-top: 10px;
  }

  .navbar-links li:last-child{
    margin-left: 0;
  }
  .navbar-buttons.login-register.active{
    position: absolute;
    bottom: 10%;
  }
  .navbar-links.active {
    display: flex;
    height: 100vh;
  }
  .navbar-links.nonvisible {
    display: flex !important;
  }
  .navbar-links li {
    width: 100%; 
    
  }
  .navbar-links li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 90%;
    height: 2px; 
    background-color: #5C687380;
    margin-left: 20px;
  }

  .navbar-links li .dropdown {
    display: none; /* Hide dropdown by default */
    position: relative; /* Make dropdown part of the document flow */
    top: auto; /* Reset the top positioning */
    left: auto; /* Reset the left positioning */
    background: black; /* Dropdown background */
    z-index: auto; /* Allow natural stacking */
    width: max-content; /* Width adjusts to content */
    padding: 10px; /* Padding inside dropdown */
  }
  .navbar-links li:hover .dropdown {
    display: block; /* Show dropdown on hover */
  }
  .nav-list-mt.spread-items i{
    font-size: 20px;
  }

  .navbar-hamburger {
    display: block; /* Show hamburger menu on mobile */
    margin-left: 20px;
    margin-left: auto;
  }

  .hamburger-icon {
    display: block; /* Show hamburger icon on mobile */
  }
  .navbar-links{
    gap: 0
  }
  .spread-items{
    display: flex;
    justify-content: space-between;
    
  }
  .navbar-links a {
    display: flex;
    margin-top: 5px;
    margin-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    width: 90%;
  }

  #loginLink, #logoutLink {
    width: 100%;
  }


  .navbar-buttons {
    margin-left: auto;
    display: none;
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    left: 0;
    z-index: 1000;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 0;

  }

  .navbar-buttons.active {
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar-buttons.nonvisible {
    display: flex !important;
    flex-direction: row;
    justify-content: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
  }
 .dropdown li a{
  width: 90%;
 }
  .user-name {
    font-size: 16px;
    font-weight: 500;
    color: white;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: visible; /* Ensure the text overflows */
    direction: ltr; /* Ensure overflow occurs to the right */
    text-overflow: clip; /* No truncation or ellipsis */
  }
  .user-info{
    gap: 0;
  }

  .navbar-buttons button {
    width: 100%;
  }
  .user-info{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .container-names{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    
  }
  .icon-group{
    margin-top: 50px;
    max-width: 100%;
    margin-left: 50px;
    gap: 50px;
  }
  .user-info a{
    width: fit-content !important;
  }
  .user-info{
    padding: 0 !important;
    margin: 0 !important;
  }
  .navbar {
    position: fixed;
    border: none !important;
    border-radius: 0 !important;
  }
  #knowledgebase-dropdown{
    padding: 0;
    width: 100%;
  }
  #knowledgebase-dropdown a{
  margin-top: 10px !important;
  padding-left: 44px;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
    padding-top: 20px;
    padding-left: 0;
    padding-bottom: 20px;
    margin-top: 10px;
  }

  .navbar-links li:last-child{
    margin-left: 0;
  }
  .navbar-buttons.login-register.active{
    position: absolute;
    bottom: 15dvh;
  }
  .navbar-links.active {
    display: flex;
    height: 100dvh;
  }
  .navbar-links.nonvisible {
    display: flex !important;
  }
  .navbar-links li {
    width: 100%; 
    
  }
  .navbar-links li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 90%;
    height: 2px; 
    background-color: #5C687380;
    margin-left: 20px;
  }

  .navbar-links li .dropdown {
    display: none; /* Hide dropdown by default */
    position: relative; /* Make dropdown part of the document flow */
    top: auto; /* Reset the top positioning */
    left: auto; /* Reset the left positioning */
    background: black; /* Dropdown background */
    z-index: auto; /* Allow natural stacking */
    width: max-content; /* Width adjusts to content */
    padding: 10px; /* Padding inside dropdown */
  }
  .navbar-links li:hover .dropdown {
    display: block; /* Show dropdown on hover */
  }
  .nav-list-mt.spread-items i{
    font-size: 20px;
  }

  .navbar-hamburger {
    display: block; /* Show hamburger menu on mobile */
    margin-left: 20px;
    margin-left: auto;
  }

  .hamburger-icon {
    display: block; /* Show hamburger icon on mobile */
  }
  .navbar-links{
    gap: 0
  }
  .spread-items{
    display: flex;
    justify-content: space-between;
    
  }
  .navbar-links a {
    display: flex;
    margin-top: 5px;
    margin-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    width: 90%;
  }

  #loginLink, #logoutLink {
    width: 100%;
  }


  .navbar-buttons {
    margin-left: auto;
    display: none;
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #000;
    left: 0;
    z-index: 1000;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 0;

  }

  .navbar-buttons.active {
    display: flex;
    flex-direction: row;
    justify-content: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  .navbar-buttons.nonvisible {
    display: flex !important;
    flex-direction: row;
    justify-content: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
  }
 .dropdown li a{
  width: 90%;
 }
  .user-name {
    font-size: 16px;
    font-weight: 500;
    color: white;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: visible; /* Ensure the text overflows */
    direction: ltr; /* Ensure overflow occurs to the right */
    text-overflow: clip; /* No truncation or ellipsis */
  }

  .navbar-buttons button {
    width: 100%;
  }
  .user-info{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.container-names{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  
}
.icon-group{
  margin-top: 50px;
  max-width: 100%;
  gap: 50px;
}
.user-info a{
  width: fit-content !important;
}
.user-info{
  padding: 0 !important;
  margin: 0 !important;
}

}

  
/* Responsive styles */
@media (max-width: 1024px) {
  [data-target="password"]{
    right: 40px;
  }
  .popup-content{
    overflow: hidden;
  }
  #loginPopup .popup-content {
    flex-direction: column; /* Stack image and form vertically on mobile */
    width: 70svw; /* Adjust width for mobile screens */
    top: 50svh; /* Center vertically */
    left: 50svw; /* Center horizontally */
    transform: translate(-50%, -50%);
    max-width: none; /* Remove max-width */
  }

  #registerPopup .popup-content {
    flex-direction: column; /* Stack image and form vertically on mobile */
    width: 70svw; /* Adjust width for mobile screens */
    top: 50svh; /* Center vertically */
    left: 50svw; /* Center horizontally */
    transform: translate(-50%, -50%);
    max-width: none; /* Remove max-width */
  }

  .popup-image {
    display: none;
  }

  #loginPopup .popup-form {
    width: 100%; /* Full width for the form container */
    flex: 0;
  }

  #loginForm {
    max-width: none;
  }
  #loginPopup .popup-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    background-image: url('/sites/default/files/man_looking.jpeg');
    background-size: cover;
    text-align: center;
    padding: 20px;
    height: 250px;
    background-position: 0px -190px;
    gap: 24px;
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
  }

  #loginForm .form-header{
    display: none;
  }

  .welcome-message{
    color: white;
    z-index: 3;
  }

  #loginPopup .login-popup-logo {
    z-index: 3;
  }

  #loginPopup .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-top: -250px;
    margin-right: -10px;
    opacity: 1;
    z-index: 3;
}

}

@media (max-width: 768px) {
  .navbar{
    top:0
  }

  
  .navbar-logo img {
    min-width: 40px !important;
    width: 40px;
    height: 40px;
  }

  .hamburger-icon {
    font-size: 32px;
  }

  #loginPopup .popup-content {
    width: 100svw;
    height: 100dvh;
    padding: 10px;
    border-radius: 0px;
  }

  #loginPopup .login-popup-logo {
    width: 88px;
    height: 88px;
  }

  #registerPopup .popup-logo {
    width: 88px;
    height: 88px;
  }
  
  #registerPopup .popup-content {
    width: 100svw;
    height: 100dvh;
    padding: 10px;
    border-radius: 0px;
  }

  #registerPopup .register-options {
    flex-direction: column;
    align-items: center;
  }

  #registerPopup .register-option {
    width: 95svw;
    margin-bottom: 20px;
  }
  

  html body #block-jango-sub-loginpopupblock .navbar .navbar-links .user-info .user-avatar {
    padding: 0 !important;
    margin: 0 !important;
  }
  .navbar-links.nonvisible {
    display: flex !important;
    visibility: hidden;
  }
  .navbar-buttons.nonvisible {
    display: flex !important;
    visibility: hidden;
  }
  .popup{
    visibility: visible;
  }
  /* .navbar-links li .dropdown {
    position: relative;
  } */

  .contact-popup{
    width: 80dvw;
  }
  .nav-list-mt:hover{
    background-color: #000;
  }

  .user-info{
    gap: 20px;
  }
  .icon-group{
    margin-left: 0;
  }
}

@media (max-width:568px) {
  .contact-popup{
  width: 100dvw;
  height: 100dvh;
  border-radius: 0px;
}
}

@media (max-width: 425px) {
  .register-options .register-option{
    padding-top: 0;
    padding-bottom: 0;
  }
  .icon-group{
    gap: 30px
  }
 .not-have-account, .already-have-account{
  display: flex;
  flex-direction: column;
 }
  .navbar-links {
    top: 55px;
  }
  .register-options > :nth-child(2) {
    margin-bottom: 0 !important;
  }

  #loginForm img {
    max-width: 100px;
    margin: 0 auto 20px;
    height: 60px;
  }

  #loginForm .form-header{
    background-image: url("/sites/default/files/man_looking.jpeg");
  }

  #registerPopup .popup-logo {
    max-width: 100px;
    margin-bottom: 20px;
    margin-top: 0;
  }
  
  #registerPopup .register-option h3 {
    margin-top: 10px;
  }
  
  #registerPopup .register-option p {
    margin-top: 10px;
    font-size: 14px;
  }
  
  #registerPopup .register-link {
    text-decoration: none;
    color: inherit;
    text-align: left;
  }
  
  #registerPopup .register-icon {
    font-size: 30px;
    color: #006EAB;
  }
  
  #registerPopup .already-have-account {
    margin-top: 20px;
  }
  
  #registerPopup .login-section {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
  }
  
  #registerPopup .login-section hr {
    margin: 10px 0;
  }
  
  #registerPopup .login-section a {
    color: #006EAB;
    font-weight: bold;
    text-decoration: none;
  }

}
