@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, form, label, table, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, #0b1b3d 0%, #00456a 50%, #1c3b57 100%);
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
  padding: 40px 20px;
  min-height: 100vh;
}

#wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

form > div {
  width: 100%;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #4a5568;
  letter-spacing: 0.5px;
}

/* Inputs, Dropdowns, and Textboxes */
label > input, 
label > select, 
input[type="text"], 
input[type="date"],
select,
.asp-textbox {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #2d3748;
  background-color: #f7fafc;
  border: 1px solid #cbd5e0;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

label > input::placeholder {
  color: #a0aec0;
  font-weight: 300;
}

label > input:focus, 
label > select:focus, 
input[type="text"]:focus, 
input[type="date"]:focus,
select:focus {
  background-color: #ffffff;
  border-color: #3399cc;
  box-shadow: 0 0 0 3px rgba(51, 153, 204, 0.25);
  color: #1a202c;
}

/* Custom ASP DropDownList Fixes */
select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Columns grid for desktop */
@media(min-width: 768px) {
  .col-2 { width: calc(50% - 10px); }
  .col-3 { width: calc(33.333% - 13.4px); }
  .col-4 { width: calc(25% - 15px); }
  .col-submit { width: 100%; text-align: center; margin-top: 20px; }
}

/* Submit Button styling */
.button {
  background: linear-gradient(135deg, #00456a 0%, #3399cc 100%);
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 69, 106, 0.35);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  min-width: 200px;
}

.button:hover {
  background: linear-gradient(135deg, #022f47 0%, #2581ad 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 69, 106, 0.45);
}

.button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 69, 106, 0.25);
}