/* Avoid duplicates: keep ONE version of these at the end of the file */
html, body { height: 100%; overflow-y: auto; }
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  text-align: center; /* so headers default to centered */
}
/* Reset */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-y: auto;
}

/* Layout */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center; /* headings default centered */
}

/* Container for content */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* center children horizontally */
  justify-content: flex-start;
  padding: 24px;
}

/* Logo image */
img {
  display: block;
  margin: 40px auto 0;
  max-width: 140px;      /* or bump to 60% if you want larger */
  height: auto;
}

/* Headings */
h1 {
  color: orange;
  font-size: 2rem;
  margin: 16px 0 10px;
}

h2 {
  font-size: 20px;
  margin: 24px 0 8px;
  font-weight: bold;
  text-align: center; /* ensure it stays centered */
}

h3 {
  font-size: 17px;
  margin: 20px 0 6px;
  font-weight: normal;
}

/* Paragraphs */
p {
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Lists */
ul {
  padding-left: 36px;
  margin: 0 0 16px;
}

li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Form wrapper */
.form, .reset-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;    /* inputs stretch across form width */
  gap: 12px;
  width: min(520px, 90vw); /* fixed / responsive width */
  margin: 16px auto;       /* <--- centers the form horizontally */
  text-align: left;        /* labels/headings aligned left inside */
}


/* Inputs & textarea */
.reset-input,
.input,
.form input,
.form textarea {
  margin: 0;
  padding: 12px;
  width: 100%;             /* fills the form width */
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  display: block;
}

/* Make text orange inside inputs if you want */
.reset-input {
  color: orange;
}

/* Button */
.reset-button,
.form button {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: orange;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  align-self: center; /* centers the button itself */
}

.reset-button:hover,
.form button:hover {
  background-color: darkorange;
}

/* Message text */
.reset-message,
#message {
  margin-top: 15px;
  font-weight: bold;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  padding: 20px;
  margin-top: 50px;
  border-top: 1px solid #ccc;
}

.footer a {
  color: #3366cc;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
