 /* Reset */
body, h1, h2, p, input, button, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tai Heritage Pro', serif;
      font-weight: bold;
      background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px #3456a363;
}

header img {
  max-height: 60px;
  width: auto;
}

/* Container */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-top: 70px;
    margin-bottom: 70px;
}

.box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0px -1px 19px #e8562561;
  max-width: 500px;
  width: 100%;
}

h1 {
      color: #3456a3;
    margin-bottom: 70px;
    margin-top: 20px;
}

p {
  color: #e85625;
  margin-bottom: 25px;
  font-size: 18px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

label {
  font-size: 14px;
  font-weight: bold;
  color: #e85625;
}

input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #3456a3;
  box-shadow: 0 0 5px rgba(52, 86, 163, 0.4);
}
select {
  font-family: 'Tai Heritage Pro', serif;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #e85625;
    box-shadow: 0 0 5px rgba(232,86,37,0.5);
}


button {
    font-family: 'Tai Heritage Pro', serif;
    font-weight: bold;
    padding: 12px;
    background: #3456a3;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 45px;
}

button:hover {
  background: #e85625;
}

#firstFields, #secondFields{
  display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 600px) {
  .box {
    padding: 25px 15px;
    max-width: 75%;
  }

  h1 {
    font-size: 18px;
    margin-bottom: 57px;
  }

  p {
    font-size: 13px;
  }
  label {
    font-size: 13px;
    }
}