/* ===== Base Reset ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f0f2f5;
  padding: 10px;
}

/* ===== Responsive Form Layout ===== */
form {
  width: 100%;
  max-width: 95%;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 1rem; /* base font size */
}

/* ===== Input Fields ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 14px 12px;
  margin: 12px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

/* ===== Error Highlighting ===== */
input.error {
  border: 2px solid red !important;
}

/* ===== Submit Button ===== */
.custom-submit-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  margin: 24px auto 8px auto;
  transition: background-color 0.3s ease;
  max-width: 250px;
  width: auto;
}

.custom-submit-button:hover {
  background-color: #0056b3;
}

/* ===== Checkbox Group ===== */
.checkbox-group {
  margin: 24px 0;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start; /* align checkbox with first line */
  font-size: 1.05rem;
  line-height: 1.4;
  gap: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.3em;
  transform: scale(1.3);
}

/* ===== Responsive Breakpoints ===== */

/* Tablets */
@media screen and (min-width: 768px) {
  form {
    max-width: 600px;
    font-size: 0.95rem;
    padding: 1.5rem;
  }

  .checkbox-group label {
    font-size: 1rem;
  }

  .custom-submit-button {
    font-size: 1rem;
  }
}

/* Large Desktops */
@media screen and (min-width: 1024px) {
  form {
    max-width: 700px;
    font-size: 0.9rem;
  }

  .checkbox-group label {
    font-size: 0.95rem;
  }

  .custom-submit-button {
    font-size: 0.95rem;
  }
}

/* ===== Mobile Phones ===== */
@media screen and (max-width: 480px) {
  form {
    font-size: 1.2rem;
    padding: 1.5rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 1.2rem;
    padding: 16px 14px;
  }

  .custom-submit-button {
    font-size: 1.2rem;
    padding: 14px;
    width: 100%;
    margin-bottom: 2vh;
  }

  .checkbox-group label {
    font-size: 1.2rem;
  }

  .checkbox-group input[type="checkbox"] {
    transform: scale(1.6);
  }
}

/* ===== Banner Styling ===== */
.form-banner {
  max-width: 100%;
  margin: 0 auto 20px auto;
  text-align: center;
}

.form-banner img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-note {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;       /* Dark gray for good contrast */
  margin-top: 1em;
}

/* ===== Registration Buttons ===== */
.register-button,
.waiting-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  
}

.register-button {
  background-color: #007BFF;
}

.register-button:hover {
  background-color: #0056b3;
}

.waiting-button {
  background-color: #FF9900;
}

.waiting-button:hover {
  background-color: #cc7a00;
}
.button-container {
  text-align: center;
}
/* ===== Link Styling ===== */
a {
  color: #66b3ff; /* light blue, lighter than #007bff */
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3399ff; /* slightly darker on hover */
}
.rounded-image {
  border-radius: 12px;           /* Adjust this value as you like */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: soft shadow */
  max-width: 100%;              /* Responsive sizing */
  height: auto;
}
.divider-line {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  color: #ccc;
  font-size: 1.5rem;
}

.divider-line::before,
.divider-line::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
  margin: 0 10px;
}