/* General Reset */
* {
  margin: 0;
  padding: 0;
  font-family: "Lexend", sans-serif;
}

body {
  background-color: #cb5225;
  color: white;
}

/* Navbar */
.navbar {
  background-color: white;
  color: #cb5225;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center; /* center everything horizontally */
  height: 70px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 50px; /* space between logo and links */
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: #cb5225;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #a53e1c;
  text-decoration: underline;
}
.nav-left a {
  text-decoration: none;
}

.nav-left a:hover {
  text-decoration: none;
}

/* Form Section */
.register-container {
  padding: 50px 100px;
}

.register-container h1 {
  font-size: 32px;
  margin-bottom: 40px;
}

.section {
  margin-bottom: 50px;
}

.section h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section p {
  font-size: 16px;
  margin-bottom: 10px;
}

input {
  width: 400px;
  padding: 10px;
  margin: 8px 0;
  border: 2px solid white;
  border-radius: 3px;
  background-color: transparent;
  color: white;
  font-size: 15px;
}

.name-fields, .contact-fields {
  display: flex;
  gap: 15px;
}

.contact-info {
  font-weight: 700;
  margin-top: 15px;
}

.continue-btn {
  margin-top: 20px;
  background-color: white;
  color: #cb5225;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.continue-btn:hover {
  background-color: #f2f2f2;
}

/* Make placeholder text white */
::placeholder {
  color: white;
  opacity: 1; /* Ensures the color is fully visible */
}

/* For compatibility with older browsers */
::-webkit-input-placeholder {
  color: white;
}
:-ms-input-placeholder {
  color: white;
}
::-ms-input-placeholder {
  color: white;
}
.form-container {
  background-color: white;
  color: #cb5225;
  width: 500px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.form-container label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-weight: bold;
  font-size: 14px;
  color: #cb5225;
}

.form-container input {
  width: 90%;
  padding: 12px;
  margin-top: 5px;
  border: 2px solid #cb5225;
  border-radius: 8px;
  font-size: 16px;
  color: #cb5225;
}

.form-container button {
  margin-top: 20px;
  background-color: #cb5225;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

.form-container button:hover {
  background-color: #a53e1c;
}

select {
  width: 90%;
  padding: 12px;
  margin-top: 5px;
  border: 2px solid #cb5225;
  border-radius: 8px;
  font-size: 16px;
  color: #cb5225;
  background-color: white;
  font-family: "Lexend", sans-serif;
  cursor: pointer;
  appearance: none; /* hides the browser’s default arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23cb5225' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
}

select:focus {
  outline: none;
  border-color: #a53e1c;
}

.form-link {
  margin-top: 20px;
}

.footer {
  text-align: center;
  margin-bottom: 50px ;
}

.password-hints {
  text-align: left;
  margin-top: 10px;
  padding: 10px;
  background-color: #f4f4f4;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
}

.password-hints p {
  margin: 5px 0;
}

.password-hints .valid {
  color: green;
}

.password-hints .invalid {
  color: red;
}
