
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f9fc;
  color: #333;
  margin: 0;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hidden {
  display: none;
}
.container {
  background-color: #fff;
  padding: 2rem 2rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Εμφάνιση των radio σαν buttons */
.radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: clamp(0.8rem, 2vw, 1rem);
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  flex: 1 1 calc(10% - 10px); /* 5 κουμπιά ανά γραμμή με κενά */
  max-width: 125px;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.2s ease, 
  background-color 0.2s ease;
}

/* Κάνε inline-block για σωστό κουμπί */
.radio-btn input[type="radio"] {
  display: none;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1rem;
}
/* Όταν είναι επιλεγμένο */
.radio-btn input[type="radio"]:checked + span,
.radio-btn:has(input[type="radio"]:checked) {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
button[type="submit"] {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 1.5rem;
    border-radius: 12px;
  }

  h1, h2, h3, h4 {
    font-size: 1rem;
    text-align: center;
  }

  form label, input[type="email"],input[type="text"] {
    width: 100%;
    font-size: 1rem;
  }
 
  button[type="submit"] {
    width: 100%;
    font-size: 1rem;
    padding: 12px 16px;
  }


  .questions {
    font-size: 0.95rem;
  }
}
input[type="email"] ,input[type="text"]{
  width: 100%;
  max-width: 400px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.radio-btn span::after {
  content: "✓";
  display: inline-block;
  margin-left: 8px;
  color: white;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s ease;
}
/* Όταν είναι επιλεγμένο εμφανίζεται το ✔ */
.radio-btn:has(input[type="radio"]:checked) span::after {
  opacity: 1;
}
.radio-btn:has(input[type="radio"]:checked) {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  transform: scale(1.05);
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.navbar {
  background-color: #007bff;
  padding: 1rem;
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-list {
  list-style: none;
  gap: 1.5rem;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.burger {
  display: none;
  background: none;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.hero {
  margin-top: 100px;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #777;
}

.nav-list {
  list-style: none;
  gap: 1.5rem;
}

/* Desktop: πάντα εμφανής */
@media (min-width: 769px) {
  .nav-list {
    display: flex;
  }

  .burger {
    display: none;
  }
}

/* Mobile: με toggle */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #007bff;
    padding: 1rem;
  }

  .nav-list.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}
