html,
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #f4f4f4;
  font-family: "Montserrat", serif;
  z-index: 1;
}

/* A wrapper (oldaltartalom és footer szülő) */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Az oldal legalább a teljes képernyőmagasság */
}

/* A main tartalom kitölti a fennmaradó helyet */
main {
  margin: auto;
  flex: 1;
  padding-top: 20px; /* Tartalom körüli margók */
  padding-bottom: 20px;
}

/* Header stílusok */
/* Header stílusok */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  background-color: #1cd0ae;
  font-family: "Montserrat", serif;
}

header .nav {
  display: flex;
  align-items: center;
  gap: 15px; /* Térköz a navigációs elemek között */
  padding-right: 20px;
}

header .logo_header {
  padding-left: 60px;
  max-height: 70px;
}

.logo_header a img {
  width: 120px;
}

.login {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dropbtn {
  margin-right: 5px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none; /* Alapértelmezett rejtett állapot */
  position: absolute;
  right: 20px;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 10px;
}

.dropdown {
    position: absolute;
  right: 20px;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 10px;
}

.dropdown a img {
  width: 38px;
  height: 27px;
  margin-right: 75px;
}

.dropdown-content a,
.dropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  border-radius: 10px;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  border-radius: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown keresési eredmények stílusok */
#keresesEredmenyek {
  display: none;
  position: absolute;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: #fff;
  width: 100%;
}

#keresesEredmenyek div {
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#keresesEredmenyek div:hover {
  background-color: #f0f0f0;
}

/* Signup form stílusok */
.signup {
  display: block;
  margin: 2rem auto;
  width: 400px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.list {
  display: block;
  margin: 2rem auto;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

 h1,
.settings h1 {
  text-align: center;
  padding-bottom: 10px;
}

 form .change_email form {
  width: 100%;
  padding-bottom: 0;
  margin: 0;
}

 form label {
  display: block;
  padding-left: 10px;
}

p {
    width: 90%;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 0px;
}

.price-container {
    margin-left: 30px;
}

.price-head {
    font-size: 2em;
    font-weight: bold;
    margin: auto;
    width: fit-content;
    margin-top: 20px;
}

 form input[type="text"],
 form input[type="date"],
 form input[type="email"],
 form input[type="password"],
 form input[type="time"],
 form input[type="number"],
 form input[type="submit"],
 form input[type="file"],
 select {
  box-sizing: border-box;
  font-size: medium;
  display: block;
  width: 90%;
  border: 2px solid #ccc;
  padding: 10px;
  margin: 0.4rem auto;
  border-radius: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

 form input[type="checkbox"] {
    margin: 0.4rem 0px 0.4rem 30px;
}

 form input[type="text"]:focus,
 form input[type="date"]:focus,
 form input[type="email"]:focus,
 form input[type="password"]:focus {
  border-color: #1cd0ae;
  box-shadow: 0 0 5px rgba(28, 208, 174, 0.5);
}

 form input[type="submit"],
button {
  display: block;
  width: 90%;
  padding: 10px;
  margin: 0.4rem auto;
  margin-top: 20px;
  background-color: #1cd0ae;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

form input[type="submit"].delete {
    background-color: #ff0000;
}

form input[type="submit"].delete:hover {
    background-color: #ff6666;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

 form input[type="submit"]:hover,
button:hover{
  background-color: #16a085;
  box-shadow: 0 0 10px rgba(28, 208, 174, 0.5);
}

 .error,
.settings .error {
  background: #f2dede;
  color: #0c0101;
  padding: 10px;
  width: 60%;
  text-align: center;
  border-radius: 10px;
  margin: 10px auto;
}

.settings {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.success {
  background: #e6f2de;
  color: #0c0101;
  padding: 10px;
  width: 40%;
  text-align: center;
  border-radius: 10px;
  margin: 10px auto;
}

.columns {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

