/* forms.css */

form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid rgb(51, 65, 85);
  color: rgb(241, 245, 249);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Placeholder */
form input::placeholder,
form textarea::placeholder {
  color: rgb(148, 163, 184);
}

/* Focus состояние */
form input:focus,
form select:focus,
form textarea:focus {
  border-color: rgb(99, 102, 241);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Disabled состояние */
form input:disabled,
form select:disabled,
form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Checkbox */
form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  accent-color: rgb(99, 102, 241);
}

/* Radio */
form input[type="radio"] {
  width: 1rem;
  height: 1rem;
  accent-color: rgb(99, 102, 241);
}
