/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('./montserrat/montserrat-v25-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('./montserrat/montserrat-v25-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f6f6f6;
    font-family: 'Montserrat';
    font-weight: 500;
}

  header {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: clamp(200px, 35vw, 400px);
    display: flex;
    flex-direction: column;
  }

  label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
  }

  input {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 500;
  }

  select, input[type="date"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 500;
  }

  input[type="submit"],
  button {
    width: auto;
    background-color: #238ad4;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    align-self: center;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Montserrat';
    font-weight: 500;
  }

  input[type="submit"]:hover,
  button[type="submit"]:hover {
    background-color: #00699d;
  }

  button[type="submit"] {
    display: flex;
    align-items: center;
    line-height: 20px;
    gap: 10px;
  }

  button[type="submit"]:disabled {
    background-color: #7ca8c8;
    cursor: not-allowed;
  }

  button[type="submit"]:not(:disabled) img {
    display: none;
  }

  button[type="submit"]:not(:disabled) + #stop {
    display: none;
  }

  button#stop {
    background-color: indianred;
    color: white;
  }

  .error {
    color: indianred;
    margin-bottom: 20px;
  }