html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #222;
  overflow-x: hidden;
}

/* =========================================================
   🏷️ LOGO AREA (GLOBAL)
   ========================================================= */

.logo {
  margin-left: 1vw;
  margin-top: 1vh;
  width: 200px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  animation: logoIntro 1.5s ease-out forwards;
}

@keyframes logoIntro {
  0% { opacity: 0; transform: scale(0.8) rotate(-5deg); }
  60% { opacity: 1; transform: scale(1.05) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.only-logo-link {
  display: inline-block !important;
  width: 350px !important;
  height: auto !important;
  margin: 3vh;
}


/* =========================================================
   🔐 LOGIN / REGISTER (GLOBAL AUTH UI)
   ========================================================= */

.login,
.register {
  background-color: rgb(178, 178, 177);
  padding: 6px 8px;          /* 🔑 οριζόντια λίγο παραπάνω */
  font-size: 18px;
  line-height: 1;
  border: 1px solid black;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


.login {
  position: absolute;
  right: 9vw;
  top: 6vh;
}

.register {
  position: absolute;
  right: 3vw;
  top: 6vh;
}

.login:hover,
.register:hover {
  background-color: #dfdede;
}

.h3 {
  position: absolute;
  right: 3vw;
  top: 10vh;
  font-size: 16px;
  border-radius: 3px;
  width: fit-content;
}

/* =========================================================
   👤 USER MENU (GLOBAL COMPONENT)
   ========================================================= */

.menu-wrapper {
  position: absolute;
  top: 3rem;
  right: 1.5rem;
  display: inline-block;
  z-index: 9999;
}

.menu-wrapper .menu-button {
  background: linear-gradient(135deg, #1fc0e0, #20add3);
  color: #fff;
  padding: 10px 16px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.menu-button:hover,
.menu-wrapper.active .menu-button {
  background: linear-gradient(135deg, #20add3, #1c9bc2);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.menu-content {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 0.4vh;
  background-color: #ffffff;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeInMenu 0.25s ease forwards;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-wrapper.active .menu-content {
  display: block;
}

.menu-content a {
  display: block;
  color: #222;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  line-height: 1.2;
}

/* ✅ ΚΕΝΟ ΜΟΝΟ ΜΕΤΑΞΥ ΤΩΝ LINKS */
.menu-content a + a {
  margin-top: -0.5rem;   /* βάλε 0.3rem αν το θες πιο έντονο */
}


.menu-content a:hover {
  background-color: #eaf6ff;
  color: #0b6ea8;
}

@media only screen and (min-width: 240px) and (max-width: 600px) and (orientation: portrait) {

  .logo {
    width: 150px;
    margin: 1.5rem 0 0 1.5rem;
  }

  .only-logo-link {
    margin: 0;
  }

  /* 🔹 Login / Register */
  .login,
  .register {
    top: 1.5rem;
    font-size: 16px;
    padding: 6px 10px;
  }

  .login { right: 6.7rem; }
  .register { right: 1rem; }

  .h3 {
    font-size: 16px;
    right: 1rem;
    top: 3.5rem;
  }


}

@media only screen and (min-width: 481px) and (max-width: 950px) and (orientation: landscape) {

  .logo {
    width: 150px;
    margin: 1rem 0 0 1rem;
  }

  .login,
  .register {
    top: 2rem;
    font-size: 16px;
    padding: 6px 10px;
  }

  .login { right: 8rem; }
  .register { right: 2.5rem; }

  .h3 {
    font-size: 15px;
    right: 2.5rem;
    top: 4rem;
  }

}

@media only screen and (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {

  .logo {
    width: 220px;
    margin: 1.5rem 0 0 1.5rem;
  }

  .login,
  .register {
    top: 3rem;
    font-size: 18px;
    padding: 8px 12px;
  }

  .login { right: 9rem; }
  .register { right: 2.5rem; }

  .h3 {
    font-size: 20px;
    right: 2.5rem;
    top: 5rem;
  }

}

@media only screen and (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {

  /* 🔹 Logo */
  .logo {
    width: 250px;
    margin: 1rem 0 0 1rem;
  }

  /* 🔹 Login / Register */
  .login,
  .register {
    top: 3rem;
    font-size: 16px;
    padding: 6px 10px;
  }

  .login { right: 7.5rem; }
  .register { right: 2rem; }

  /* 🔹 Info text */
  .h3 {
    font-size: 15px;
    right: 2.5rem;
    top: 5rem;
  }

}

@media only screen and (min-width: 1367px) and (max-width: 1599px) and (orientation: landscape) {

  /* 🔹 Logo */
  .logo {
    width: 220px;
    margin: 1.5rem 0 0 1.5rem;
  }

  /* 🔹 Login / Register */
  .login,
  .register {
    top: 3rem;
    font-size: 18px;
    padding: 8px 12px;
  }

  .login { right: 9rem; }
  .register { right: 2.5rem; }

  /* 🔹 Info text */
  .h3 {
    font-size: 18px;
    right: 2.5rem;
    top: 5.5rem;
  }

}

@media only screen and (min-width: 1600px) and (max-width: 1920px) and (orientation: landscape) {

  /* 🔹 Logo */
  .logo {
    width: 350px;
    margin: 1.5rem 0 0 1.5rem;
  }

  /* 🔹 Login / Register */
  .login,
  .register {
    top: 3rem;
    font-size: 20px;
    padding: 16px 24px;
  }

  .login { right: 12rem; }
  .register { right: 2.5rem; }

  /* 🔹 Info text */
  .h3 {
    font-size: 25px;
    right: 2.5rem;
    top: 6rem;
  }

}

@media only screen and (min-width: 1921px) {

  /* 🔹 Logo */
  .logo {
    width: 400px;
    margin: 2rem 0 0 3rem;
  }

  /* 🔹 Login / Register */
  .login,
  .register {
    top: 3rem;
    font-size: 30px;
    padding: 20px 28px;
  }

  .login { right: 15.5rem; }
  .register { right: 4rem; }

  /* 🔹 Info text */
  .h3 {
    font-size: 30px;
    right: 4rem;
    top: 8rem;
  }
}
