/* Footer az oldal alján */
body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1, h2 {
  text-align: center;
}
.form-section {
  margin-bottom: 2rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.form-row label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-row-inline {
  display: flex;
  align-items: center;
  /*gap: 1rem;*/
  gap: 8px;
  margin-bottom: 1rem;
}
.form-row-inline input[type="checkbox"] {
  transform: scale(1.2);
}
#country-code {
  max-width: 180px;
}
.red {
  color: red;
}
.center {
  text-align: center;
}
.small {
  font-size: 0.9rem;
  color: #555;
}
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover {
  background: #004a99;
}
.btn-orange {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-orange:hover {
  background-color: #e65100;
}


@media (min-width: 600px) {
  .form-row {
    flex-direction: row;
    align-items: center;
  }
  .form-row label {
    width: 220px;
    margin-bottom: 0;
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    flex: 1;
  }
}

.form-row-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0.75rem 0;
}

label.required {
	color: red;
}

label.error {
	color: red;
	display: block;
	font-size: 0.9em;
	text-align: center; 
}

.strong-label {
  font-weight: bold;
}

.plain-label {
  font-weight: normal !important;
}




/************************* header section ****************************/


/* FEJLÉC STÍLUSOK */
.header-bar {
  height: 20px;
  background-color: #384BFF;
}

.header-main {
  background-color: #18185E;
  color: white;
  padding: 1rem 0;
}

.header-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-logo img {
  max-height: 100px;
  margin-bottom: 1rem;
}

.header-text {
  flex: 1 1 auto;
  text-align: center;
}

.header-text .header-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0.25rem 0;
}

.header-text .header-subtitle {
  font-size: 0.95rem;
  margin: 0.15rem 0;
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
  }

  .header-logo {
    flex: 0 0 auto;
    margin-right: 2rem;
  }

  .header-text .header-title {
    font-size: 1.8rem;
  }

  .header-text .header-subtitle {
    font-size: 1.4rem;
  }
}


/************************* footer section ****************************/

footer {
  margin-top: 2rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.footer-container {
  width: 100%;
  max-width: 1400px;       /* bővítve 960 → 1400px-re */
  margin-left: auto;       /* középre igazítás */
  /*margin-right: auto;*/
  padding: 1.5rem 2rem;
}

.footer-top {
  background-color: #18185E;
  color: white;
}

.footer-bottom {
  background-color: #384BFF;
  color: white;
  text-align: center;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget_title {
  color: white;
  margin: 0;
  font-size: 1.2rem;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-contact-list li {
  flex: 1 1 auto;
}

.contact-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
}

.contact-box i {
  font-size: 1.1rem;
  min-width: 20px;
}

.contact-box a {
  color: white;
  text-decoration: underline;
}

.contact-box a:hover {
  text-decoration: none;
}

@media (min-width: 768px) {
  .footer-flex {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-contact-list {
    flex-direction: row;
    gap: 1rem;
  }

  .footer-contact-list li {
    flex: 0 1 auto;
  }
}

/* Belépő oldal elrendezés */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;       /* korábban 70vh volt */
  padding: 1rem;           /* korábban 2rem 1rem */
}

.login-box {
  max-width: 600px;
  width: 100%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.login-box h2 h3 {
  text-align: center;
}

.login-links {
  text-align: center;
  margin-top: 2rem;
}

