form {
  padding: 20px 0px;
}

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

input, select, textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

textarea {
  font-family: inherit;
  font-size: inherit;
  resize: vertical;
}

form button, input[type="submit"] {
  box-sizing: border-box;
  background: var(--debug);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

button:hover, input[type="submit"]:hover {
  background: #919191;
}

.form-with-side-buttons {
  display: flex;
  gap: 5px;

  input,textarea {
    margin: 0;
  }

  .side-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    /* opacity: 20%; */
  }

  .green {
    background-color: var(--green);
  }
  .red {
    background-color: var(--red);
  }

  .disabled {
    opacity: 20%;
    pointer-events: none;
    cursor: not-allowed;
  }
}
