/* =========================
   General Layout
========================= */
body {
    margin: 0;
    font-family: 'Sofia Pro Light', sans-serif;
    background: url("/static/Images/background.jpg") no-repeat center center fixed;
    background-size: cover;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.9); /* light gray with slight opacity */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* =========================
   Banner
========================= */
.banner {
    padding: 10px 0;
    margin-bottom: 20px;
  }
  
  .banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    max-height: 50px; /* half-sized logo*/
  }
  
  .banner-text {
    color: #c8102e; /* University red */
    font-size: 1.2rem;
    font-weight: bold;
  }
  

.banner .logo {
    height: 38px;
    width: auto;
}

/* =========================
   Headers under banner
========================= */
.header-content {
    max-width: 900px;
    margin: 8px auto 12px auto;   /* reduced vertical spacing */
    text-align: center;
}

.header-content h1 {
    margin: 2px 0 6px 0;          /* tighter spacing */
    font-size: 28px;
    color: #333;
}

.header-content h2 {
    margin: 0 0 4px 0;
    font-size: 24px;
    color: #444;
}

.header-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #666;
}

/* =========================
   Form Styling
========================= */
form {
    background: #f4f4f5;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 12px auto;   /* pulled closer to headers */
}

/* form items */
.form-item {
    margin-bottom: 18px;
    text-align: left;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.error-message {
    font-size: 14px;
    color: #be0000;
    margin-top: 4px;
    display: block;
}

/* =========================
   Grid Layout for two-column fields
========================= */
.form-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-grid .form-item {
    flex: 1;
    min-width: 250px;
}

/* =========================
   Submit Button
========================= */
input[type="submit"] {
    background-color: #be0000;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: block;
    margin: 16px auto 0 auto; /* reduced spacing */
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

input[type="submit"]:hover {
    background-color: rgb(172, 22, 44);
    transform: scale(1.05);
}

/* =========================
   Disclaimer
========================= */
#disclaimer {
    text-align: center;
    margin-top: 16px;    /* tightened */
    font-style: italic;
    color: #555;
    font-size: 14px;
}

/* =========================
   Utility Classes
========================= */
.hidden {
    display: none;
}

/* =========================
   Responsive adjustments
========================= */
@media (max-width: 600px) {
    .banner-container {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        text-align: center;
    }

    .header-content {
        padding: 0 10px;
    }

    .form-grid {
        flex-direction: column;
    }
}

/* =========================
   Success Page
========================= */
.success-message {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(200, 16, 46, 0.1); /* faint Utah red overlay */
    border-radius: 6px;
  }
  .success-message h1 {
    color: #2e2e2e;
  }
  .success-message h3,
  .success-message p {
    color: #444;
  }
  