/* styles.css */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

.user-list li {
  padding: 1rem;
  border-bottom: 1px solid #444; /* subtle separator */
}

.user-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Light mode safe version */
.user-list li:nth-child(even) {
  background-color: #2a2a2a;  /* light gray */
}
.user-list li:nth-child(odd) {
  background-color: #1e1e1e;  /* slightly darker gray */
}

body {
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  background-color: #eb472d;
  color: #1a1a1a;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background-color: #eb472d;
}

header img {
  height: 60px;
  margin-bottom: 0.5rem;
}

header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.section {
  max-width: 800px;
  margin: auto;
  padding: 3rem 1rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

img.preview-image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section h3 {
font-family: 'Times New Roman', Times, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.manifesto p {
  margin-bottom: 1.5rem;
}

.vow-section {
  background-color: #1a1a1a;
  color: white;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
}

.vow-section h3 {
  color: #eb472d;
}

.vow {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease-out;
}

.vow.visible {
  opacity: 1;
  transform: translateY(0);
}

.vow span {
  color: #eb472d;
  font-weight: bold;
  display: block;
  margin-bottom: 0.25rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

.dogma-button-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.top-buttons {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
}

.dogma-button.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #1a1a1a
}

.dogma-button {
  background-color: #eb472d;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.dogma-button:hover {
  background-color: #c93b26;
}

.form-section {
  max-width: 500px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #1a1a1a; /* black box */
  color: white; /* white text */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
}

.form-section form label {
  display: block;
  margin-bottom: -1.5rem;
  text-align: left;
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="password"],
.form-section input[type="password"],
.form-section input[type="url"] {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-section textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.form-section button {
  background-color: #eb472d; /* DOGMA red */
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.input-error {
  border: 1px solid #eb472d !important;
}

.form-error-slot {
  height: 1.2rem;
  margin-top: 0.25rem;
  padding-left: 2px;
  display: flex;
  align-items: flex-start;
}

.form-error-inline {
  color: #eb472d;
  font-size: 0.85rem;
  line-height: 1.2rem;
}


.form-section button:hover {
  background-color: #c93b26;
}

.captcha-wrapper {
  margin-top: 0.7rem; /* ⬅️ try increasing this */
  color: #eb472d;
}

.captcha-error {
  color: #eb472d;
  margin-top: 0.5rem;
}

h2.page-title {
  margin-bottom: -2rem; /* or try 0.5rem */
  text-align:center; 
  margin-top:1rem;
}

html {
  overflow-y: scroll; /* always reserves space for scrollbar */
}

.application-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.application-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #333;
}

.application-list li:nth-child(even) {
  background-color: #2a2a2a; /* dark gray */
}

.application-list li:nth-child(odd) {
  background-color: #1e1e1e; /* darker gray */
}

.application-text {
  max-width: 75%;
  color: #f0f0f0;
}

.application-text a {
  color: #99ccff;
  text-decoration: none;
}

.application-text a:hover {
  text-decoration: underline;
}

.thumbnail {
  width: 80px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  object-fit: cover;
}

