.contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.contact-form .group {
  position: relative;
  margin-bottom: 26px;
}

.contact-form .group label {
  position: absolute;
  left: 0;
  top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.contact-form .group.focused label {
  top: -10px;
  font-size: 12px;
  color: var(--color-white);
}

.contact-form .group input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-white);
  border-radius: 0;
  color: var(--color-white);
  font-size: 16px;
  padding: 12px 0 8px;
  outline: none;
}

.contact-form .group input:focus {
  border-bottom-color: var(--color-white);
}

.contact-form .submit {
  align-self: flex-start;
  margin-top: 10px;
  min-width: 120px;
  padding: 10px 28px;
  border: 1px solid var(--color-white);
  border-radius: 6px;
  background: transparent;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form .submit:hover {
  background: rgba(255, 255, 255, 0.12);
}

.contact-form .success,
.contact-form .error {
  margin-top: 12px;
  font-size: 14px;
}

.contact-form .success {
  color: var(--color-white);
}

.contact-form .error {
  color: #ffd4d4;
}
