.form-livia {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.form-livia form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
  }
}

.form-group {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-albert);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4b4efc;
  outline: none;
  box-shadow: 0 0 0 2px rgba(75, 78, 252, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #4b4efc;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  margin: 0;
}

.checkbox-group label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

button[type="submit"] {
  min-width: 200px;
  font-family: var(--font-albert);
  width: fit-content;
  background-color: #4b4efc;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  align-self: left;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  will-change: background-position;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  position: relative;
  background-image: linear-gradient(to right, #4b4efc 50%, #ffffff 50%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  transition: background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.4s ease;
}

button[type="submit"]:hover {
  background-position: 100% 0%;
  color: #4b4efc;
}

button[type="submit"]:active {
  background-position: 100% 0%;
  color: #4b4efc;
}

#message-success,
#message-error {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

#message-success {
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
}

#message-error {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}
