body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Form container */
form {
  width: 100%;
  max-width: 480px;
  background-color: white;
  padding: 24px;
  margin-top: 120px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden; /* ensures rounded header stays inside */
  position: relative;
}

/* Title block inside form */
form h1 {
  background-color: #36b3a8;
  color: white;
  font-size: clamp(1.4rem, 5vw, 24px);
  font-weight: bold;
  text-align: center;
  padding: 16px;
  margin: -24px -24px 24px -24px; /* pulls header to edge of card */
  border-radius: 10px 10px 0 0; /* rounded top only */
  box-sizing: border-box;
}

/* Label and input fields */
label {
  display: block;
  margin: 12px 0 4px;
  font-weight: bold;
}

input,
textarea,
select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Submit button */
button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  background-color: #36b3a8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

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

/* Responsive tweaks */
@media (max-width: 600px) {
  form {
    margin-top: 100px;
    padding: 16px;
  }

  form h1 {
    font-size: 1.2rem;
  }

  input,
  textarea,
  select,
  button[type="submit"] {
    font-size: 16px;
  }
}

/* Clean link style: neutral black, subtle hover */
:root {
  --link-color: #111; /* tweak if you want slightly lighter/darker */
}

/* Main content areas (safe to target across your pages) */
.page a,
.dashboard-section a,
main a,
table a,
.expand-dots a,
.view-button,
.content a {
  color: var(--link-color) !important;
  text-decoration: none;
}

/* Visited stays the same color */
.page a:visited,
.dashboard-section a:visited,
main a:visited,
table a:visited,
.expand-dots a:visited,
.view-button:visited,
.content a:visited {
  color: var(--link-color) !important;
}

/* Hover/focus underline for affordance */
.page a:hover,
.dashboard-section a:hover,
main a:hover,
table a:hover,
.expand-dots a:hover,
.view-button:hover,
.content a:hover,
.page a:focus-visible,
.dashboard-section a:focus-visible,
main a:focus-visible,
table a:focus-visible,
.expand-dots a:focus-visible,
.view-button:focus-visible,
.content a:focus-visible {
  text-decoration: underline;
}

/* Optional: utility to opt-out and use accent color when needed */
a.link-accent {
  color: var(--accent, #36b3a8) !important; /* or your brand color */
  text-decoration: underline;
}
