/* Shared body style for all pages */
body {
  font-family: Arial, sans-serif;
  background: url('/images/desktopbg3.webp') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;   /* ✅ stack logo + text vertically */
}

/* Landing page logo */
.logo {
  width: 800px;
  animation: fadeIn 3s ease-in-out;
  cursor: pointer;
}

h2 {
  margin-top: 20px;
  color: #fff;
  text-align: center;
}

/* Form container */
.form-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;             /* responsive on small screens */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  text-align: left;
  color: #333;
}
.form-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #4e342e;   /* ✅ dark brown for readability */
}

.form-box p.note {
  font-size: 10px;
  color: #666;
  margin-top: 5px;
  line-height: 1.3;
}

/* Form elements */
label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="time"] {
  width: 100%;          /* ✅ full width inside form-box */
  box-sizing: border-box; /* ✅ prevents overflow */
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.radio-group label {
  display: block; /* vertical list */
  margin-top: 5px;
  font-weight: normal;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #6d4c41;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

button:hover {
  background: #4e342e;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.required {
  color: red;
}

.error-message {
  color: red;
  font-size: 10px;
  margin-top: 3px;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  background: #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.back-button:hover {
  background: #999;
  color: #fff;
}

.welcome-text {
  margin: 15px 0;
  font-size: 14px;
  color: #333;
  text-align: left;
  line-height: 1.6;
}
.welcome-text b {
  font-weight: bold;
  color: #000; /* darker for emphasis */
}

.success-message {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin: 25px 0;
}

.form-box p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 15px;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
}

.landing-text {
    font-size: 12px;
    color: white;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

/* ===========================
   Mobile Responsive
=========================== */
@media (max-width: 768px) {

  body {
    background: url('/images/mobilebg2.webp') no-repeat center top;
    background-size: cover;
    background-attachment: scroll;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 30px 0;
  }

  .form-box {
    width: 92%;
    max-width: 400px;

    margin: 40px 0;
    padding: 28px;
    border-radius: 12px;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .form-box h2 {
    font-size: 30px;
  }

  .form-box p {
    font-size: 18px;
    line-height: 1.7;
  }

  .success-message {
    font-size: 24px;
    font-weight: 700;
  }

  .logo {
    width: 85%;
    max-width: 350px;
    display: block;
    margin: 20px auto;
}

  h2 {
    font-size: 28px;
  }

  input[type="text"],
  input[type="email"],
  input[type="time"] {
    padding: 14px;
    font-size: 17px;
  }

  button {
    padding: 16px;
    font-size: 17px;
  }
  
  .landing-text {
    font-size: 12px;
    color: white;
    text-align: center;
    width: 100%;
    margin-top: 10px;
	}

}




