.proposer-form { display: flex; flex-direction: column; gap: 1.25rem; } .field-group { display: flex; flex-direction: column; gap: 0.375rem; } .field-group label, .field-group legend { font-size: 0.875rem; font-weight: 600; color: var(--nav-text); display: block; } .field-group fieldset { border: none; padding: 0; margin: 0; } .required { color: #c0392b; } .label-hint { font-weight: 400; color: var(--nav-text-muted); font-size: 0.8rem; margin-left: 0.25rem; } .field-group input[type="text"], .field-group input[type="url"], .field-group input[type="email"], .field-group textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid rgba(26, 34, 56, 0.2); border-radius: 8px; font-size: 0.9rem; color: var(--nav-text); background: var(--nav-surface); font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; } .field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--nav-primary-solid); box-shadow: 0 0 0 2px rgba(245, 179, 66, 0.4); } .field-group textarea { resize: vertical; min-height: 100px; } .field-error input, .field-error textarea { border-color: #c0392b !important; } .error-msg { font-size: 0.8rem; color: #c0392b; } .field-meta { display: flex; justify-content: flex-end; } .char-count { font-size: 0.75rem; color: var(--nav-text-muted); } .char-warn { color: #e67e22; } .radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.375rem; } .radio-label { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border: 1px solid rgba(26, 34, 56, 0.2); border-radius: 6px; font-size: 0.85rem; color: var(--nav-text); background: var(--nav-surface); cursor: pointer; transition: all 0.15s; user-select: none; } .radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; } .radio-label:hover { border-color: var(--nav-primary-solid); background: var(--nav-bg-alt); } .radio-label.active { background: var(--nav-primary); border-color: transparent; color: var(--nav-text-on-primary); } .checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.375rem; } @media (max-width: 400px) { .checkbox-grid { grid-template-columns: 1fr; } } .checkbox-label { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border: 1px solid rgba(26, 34, 56, 0.2); border-radius: 6px; font-size: 0.85rem; color: var(--nav-text); background: var(--nav-surface); cursor: pointer; transition: all 0.15s; user-select: none; position: relative; } .checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; } .checkbox-label:hover:not(.disabled) { border-color: var(--nav-primary-solid); background: var(--nav-bg-alt); } .checkbox-label.active { background: var(--nav-primary); border-color: transparent; color: var(--nav-text-on-primary); } .checkbox-label.disabled { opacity: 0.4; cursor: not-allowed; } .fn-order { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; background: var(--nav-accent); color: var(--nav-text); border-radius: 50%; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; } .server-error { padding: 0.875rem 1rem; background: #fdf0ee; border: 1px solid #e74c3c; border-radius: 8px; font-size: 0.875rem; color: #c0392b; } .form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; } .btn-primary { padding: 0.75rem 1.5rem; background: var(--nav-primary); color: var(--nav-text-on-primary); border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.15s, opacity 0.15s; } .btn-primary:hover:not(:disabled) { background: rgba(26, 34, 56, 0.75); } .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; } .form-note { font-size: 0.75rem; color: var(--nav-text-muted); text-align: center; margin: 0; } @media (max-width: 480px) { .form-actions { flex-direction: column-reverse; } .btn-primary { width: 100%; justify-content: center; } }