@import url("header.css");
@import url("footer.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #e6f0fa;
  color: #1a1a1a;
}

main {
  margin: 0 auto;
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

main img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 480px;
  width: auto;
  z-index: 0;
  pointer-events: none;
}

.registeredCount {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  margin-left: -10%;
  width: 100%;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

.form-step select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #fff;
}

.form-step label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="url"],
.form-step input[type="file"],
.form-step input[list],
.form-step input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-step input[type="checkbox"] {
  margin-right: 5px;
}

.form-navigation {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.form-navigation button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #4285f4;
  color: white;
  transition: background-color 0.3s ease;
}

.form-navigation button:hover {
  background-color: #357ae8;
}

#prevBtn {
  background-color: #f44336;
}

#prevBtn:hover {
  background-color: #d32f2f;
}

#branchen {
  color: #000;
}

.password-strength {
  background-color: #eee;
  border-radius: 5px;
  height: 10px;
  width: 100%;
  margin-top: 5px;
  position: relative;
  margin-bottom: 10px;
}

.strength-bar {
  height: 100%;
  width: 0;
  border-radius: 5px;
  transition: width 0.3s ease;
}

#strength-text {
  display: block;
  font-size: 0.9em;
  margin-top: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   MOBILE LAYOUT – GLOBAL OVERRIDES
=================================================== */
body.is-mobile,
body.is-tablet {
  main {
    flex-direction: column;
    align-items: center;
    height: 100vh;
  }

  main img {
    display: none;
  }

  .registeredCount {
    margin-left: 0;
    width: 100%;
    max-width: none;
  }
}
