/* ==========================================================================
   Proje: HIZIRBEY Portal
   Paket: HIZIRBEY Design System
   Bileşen: Form Builder
   Dosya: themes/default/assets/css/hds/components/form/states.css
   Açıklama: Form kontrol validation, disabled ve readonly durumları.
   Mimari: Form Builder state katmanı.
   Yazar: Mehmet Kalli
   Oluşturuldu: 03.08.2026 01:15
   Ownership: Public validation, disabled, readonly and required states
   Contract: .has-error and native control state attributes
   Güncellendi: 12.08.2026
   Sürüm: 1.0.0
========================================================================== */
/* =========================================================================
 * >>> Form Control States
 * ========================================================================= */
.hds-field.has-error .hds-input,
.hds-field.has-error .hds-select,
.hds-field.has-error .hds-textarea { border-color: #dc3545; }
.hds-input:disabled,
.hds-select:disabled,
.hds-textarea:disabled { background: #eef1f3; color: #7b8790; cursor: not-allowed; opacity: .72; }
.hds-input[readonly],
.hds-textarea[readonly] { border-style: dashed; background: #f7f9fa; color: #425563; cursor: text; }
.hds-checkbox:disabled,
.hds-radio:disabled { cursor: not-allowed; opacity: .6; }
.hds-input[required],
.hds-select[required],
.hds-textarea[required] { scroll-margin-top: 16px; }
/* <<< Form Control States */
