/* form-style.css */
.input.readonly { background-color: #f0f0f0; color: #666; cursor: not-allowed; }
.flex { display: flex; }
.gap-4 { gap: 1rem; }
.bg-gray-500 { background-color: #6b7280; }
.input { width: 100%; padding: 0.5em; margin-bottom: 1em; border: 1px solid #ccc; border-radius: 4px; }
.btn { background-color: #0073aa; color: white; padding: 0.5em 1em; border: none; border-radius: 4px; cursor: pointer; }
.btn:disabled { background-color: #ccc; cursor: not-allowed; }
.checkbox-wrapper { display: flex; align-items: center; margin-bottom: 1em; }
.checkbox-wrapper input { margin-right: 0.5em; }
.text-green-600 { color: #16a34a; }
.underline { text-decoration: underline; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: .5rem; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 10000; }
.modal { background: #fff; border-radius: 12px; padding: 1rem 1.25rem; max-width: 520px; width: 92%; box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.modal header { font-weight: 600; font-size: 1.1rem; margin-bottom: .5rem; }
.modal footer { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }
.btn-secondary { background: #6b7280; color: #fff; border: none; padding: .5rem 1rem; border-radius: 8px; cursor: pointer; }
.btn-primary { background: #0073aa; color: #fff; border: none; padding: .5rem 1rem; border-radius: 8px; cursor: pointer; }
.countdown { font-variant-numeric: tabular-nums; }

.waiting-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; z-index: 10001; }
.waiting-box { background: #fff; border-radius: 12px; padding: 1rem 1.25rem; width: 92%; max-width: 420px; box-shadow: 0 10px 25px rgba(0,0,0,.12); display: flex; align-items: center; gap: .75rem; }
.spinner { width: 32px; height: 32px; border: 4px solid rgba(0,0,0,.1); border-left-color: #0073aa; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { color: #b91c1c; margin-top: .5rem; }

