/* Core Page Layout */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #10b981 0%, #8b5cf6 100%);
  color: #333;
  margin: 0;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Stacks the warning box directly over the form block */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
  gap: 20px; /* Provides consistent spacing between items */
}

/* Warning Banner Layout Sitting Above the Form Card */
.alert-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  box-sizing: border-box;
  border-left: 5px solid #10b981; /* Colorful green side marker */
}

.alert-box h3 {
  margin-top: 0;
  color: #111;
  font-size: 18px;
  margin-bottom: 8px;
}

.alert-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
  margin-top: 0;
}

#close-alert-btn {
  background-color: #10b981;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#close-alert-btn:hover {
  background-color: #059669;
}

/* Contact Card Form Layout */
.contact-container {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  box-sizing: border-box;
}

h2 {
  margin-top: 0;
  color: #111;
  font-size: 26px;
  margin-bottom: 8px;
}

.subtitle {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 28px;
  margin-top: 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.field-hint {
  font-size: 11px; 
  color: #666; 
  display: block; 
  margin-top: -4px; 
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fafafa;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: #8b5cf6;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background-color: #8b5cf6;
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background-color: #7c3aed;
}

button[type="submit"]:active {
  transform: scale(0.98);
}
