@import url("/styles/styles.css");



.nominate {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  margin-top: 9em;
}

.nominate h1 {
  font-size: 2rem;
  color: #002b55;
  margin-bottom: 1rem;
  text-align: center;
}

.nominate p {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

.nomination-forms h2 {
  font-size: 1.5rem;
  color: #002b55;
  margin-bottom: 0.5rem;
}

.nomination-forms p {
  margin-bottom: 1rem;
  color: #666;
}



form > .step{
  display: flex;
  flex-direction: column;
}

form .nomination-form-step-2,
form .nomination-form-step-3{
  display: none;
}

form .nomination-form-navigation-container{
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}

form .error-message{
  color: var(--danger);
  font-weight: 500;
  font-size: .8rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 200ms ease;
  display: flex;
  justify-content: end; /*for some reason text-align wasnt working*/
}

form .error-message.show{
  transform: translateY(0px);
  opacity: 1;
}

input,
select,
textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: 1px solid #002b55;
}

button {
  padding: 1rem;
  background-color: #002b55;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #004080;
  transform: translateY(-2px);
}

#confirmation-message {
  background-color: #e0f7e9;
  padding: 1rem;
  border-left: 4px solid #00a859;
  margin-top: 2rem;
  border-radius: 6px;
}

/* footer {
  background-color: var(--jci-blue);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem; */
/* color: #777; */
/* margin-top: 2rem;
  border-top: 1px solid #eee;
} */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* classlists for nomination for js */
.show{
  display: flex;
}

form .steps.show{
  opacity: 1;
}




/* Responsive */
@media (max-width: 768px) {
  .nominate {
    padding: 1rem;
  }

  /* header {
    flex-direction: column;
    align-items: flex-start;
  } */

  .nominate h1 {
    font-size: 1.5rem;
  }

  button {
    font-size: 1rem;
  }
}
