
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      height: 100vh;
      display: flex;
      background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216')
        no-repeat center center / cover;
    }

    /* ===== Navbar ===== */
.top-nav {
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px;

  position: fixed;
  top: 20px;

  width: 90%;              
  left: 50%;              
  transform: translateX(-50%);

  border-radius: 12px;
  z-index: 1000;
}

    .top-nav .logo img {
      height: 55px;
    }

    .top-nav ul {
      list-style: none;
      display: flex;
      gap: 50px;
      margin-right: 50px;
    }

    .top-nav ul li a {
      text-decoration: none;
      color: black;
      font-weight: bold;
    }

    .signup {
      border: 2px solid black;
      padding: 6px 12px;
      border-radius: 8px;
    }

    /* ===== Main ===== */
    .main {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

.form-container {
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  padding: 50px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(15px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


    h2 {
      text-align: center;
      color: #0b5134;
      margin-bottom: 20px;
    }

  .step input {
  width: 100%;
  padding: 16px 50px;
  margin-bottom: 20px;
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  font-size: 16px;
  color: #000;

  transition: all 0.3s ease;
}

    .nextBtn,
    .btn {
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      border: none;
      background-color: #007b5e;
      color: white;
      font-size: 16px;
      cursor: pointer;
    }

    .nextBtn:hover,
    .btn:hover {
      background-color: #046b52;
    }

    .checkbox {
      margin-top: 15px;
      font-size: 14px;
      text-align: center;
    }

    .login {
      text-align: center;
      margin-top: 15px;
      font-size: 14px;
    }

    .login a {
      color: #007b5e;
      font-weight: bold;
      text-decoration: none;
    }

    #errorBox {
      display: none;
      background: #ffe0e0;
      color: #900;
      padding: 10px;
      margin-bottom: 15px;
      border-radius: 8px;
      text-align: center;
      font-size: 14px;
    }
    /* ===== Register Message ===== */
#registerMessage {
  display: none;
  margin-top: 20px;
  padding: 15px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  width: 100%;
}

/* Success */
#registerMessage.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Error */
#registerMessage.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.buttons button {
  flex: 1;           
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Back */
.backBtn {
  background-color: #999;
  color: white;
}

.backBtn:hover {
  background-color: #777;
}

/* Next / Register */
.nextBtn {
  background-color: #007b5e;
  color: white;
}

.nextBtn:hover {
  background-color: #046b52;
}
button:disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}
.error-text {
  color: red;
  font-size: 13px;
  margin-top: 5px;
  display: block;
} 
body {
  padding: 20px;
}

.top-nav,
.form-container {
  width: 100%;
  max-width: px;
  margin: auto;
}

.top-nav {
  margin-bottom: 40px; 
}

.form-container {
  margin-top: -px;
}

.page-wrapper {
  padding: 20px;
}


.top-nav,
.form-container {
  width: 100%;
  max-width: 11000px; 
  margin-left: auto;
  margin-right: auto;
}

.top-nav {
  margin-bottom: 25px;
}
body {
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .top-nav ul {
    display: flex;
    gap: 10px;
    margin: 0;
    flex-wrap: nowrap; 
  }

  .top-nav ul li a {
    font-size: 12px; 
  }

  .top-nav .logo img {
    height: 35px;
  }
}

  .top-nav ul {
    gap: 15px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-nav .logo img {
    height: 40px;
  }

.top-nav ul li a {
  transition: 0.3s;
  padding: 5px 10px;
  border-radius: 8px;
}

.top-nav ul li a:hover {
  background: #0b5134;
  color: white;
  transform: scale(1.05);
}
button {
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.top-nav ul li a {
  white-space: nowrap;
}
.top-nav {
  padding: 10px 30px 10px 15px;

    gap:12 px;
}
.top-nav {
  width: 85%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px 30px 10px 20px;
  box-sizing: border-box;
}

.top-nav ul {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
@media (max-width: 768px) {
  .form-container {
    max-width: 95%;
    padding: 25px;
    border-radius: 15px;

    margin-top: 250px;
  }
}

  h2 {
    font-size: 22px;
  }

.step input {
  transition: all 0.3s ease;
}

/* لما تعمل focus (تقف في الخانة) */
.step input:focus {
  outline: none;

  border: 1px solid #0b5134;
  box-shadow: 0 0 12px rgba(11, 81, 52, 0.3);

  background: rgba(255, 255, 255, 0.25);

  transform: translateY(-4px); /* أخف شوية */
}
.step input::placeholder {
  color: rgba(0,0,0,0.5);
}
.checkbox {
  display: none;
}
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.6;
  transition: 0.3s;
}

.password-toggle:hover {
  opacity: 1;
}