/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  /* Form Container */
  .form-container {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
  }
  
  .form-container h1 {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
    font-size: 1.5em;
  }
  
  /* Form Group */
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    font-size: 0.9em;
    color: #555555;
    margin-bottom: 5px;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 10px;
    font-size: 0.9em;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    border-color: #007bff;
  }
  
  /* Submit Button */
  .submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    font-size: 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit-btn:hover {
    background-color: #0056b3;
  }
  

  /* Error Styles */
.error-message {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
  }
  
  input:invalid,
  select:invalid {
    border-color: red;
  }
  
  input:valid,
  select:valid {
    border-color: #28a745;
  }
  
  /* Asterisk for Required Fields */
.required {
    color: red;
    font-weight: bold;
  }
  

  /* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  h1 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  /* Form Container */
  .form-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 90%;
    max-width: 600px;
  }
  
  /* Form Layout */
  form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  form .full-width {
    grid-column: span 2;
  }
  
  /* Input Fields */
  input, select {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  input:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
  }
  
  /* Labels */
  label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  /* Asterisk for Required Fields */
  .required {
    color: red;
    font-weight: bold;
  }
  
  /* Error Messages */
  .error-message {
    color: red;
    font-size: 0.8em;
    display: none;
  }
  
  /* Button */
  .submit-btn {
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .submit-btn:hover {
    background-color: #0056b3;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    form {
      grid-template-columns: 1fr;
    }
  }
  


  /* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

h1 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

p {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

/* Form Container */
.form-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 700px;
}

/* Form Layout */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

/* Input Fields */
input, select {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input:focus, select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

input::placeholder {
  color: #aaa;
}

/* Labels */
label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

/* Asterisk for Required Fields */
.required {
  color: red;
  font-weight: bold;
}

/* Button */
.submit-btn {
  background-color: #3bffad;
  color: #fff;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

.submit-btn:hover {
  background-color: #0e34f0;
}

/* Style for the form header */
.form-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  .form-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
  }
  
  .form-header p {
    font-size: 1rem;
    color: #555; /* A subtle gray for the subtext */
    margin-top: 10px;
  }
  