/* Extra styles for the data-driven dashboard pages */
.sidebar-link.is-soon { opacity: .55; cursor: default; }
.soon-tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eef1ff; color: #3155f5; }
.status-badge.draft, .status-badge.closed { background: #f2f4f7; color: #475467; }
.status-badge.draft .dot, .status-badge.closed .dot { background: #98a2b3; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-light, #667085); }
.empty-state i { font-size: 30px; color: #c9d3fb; margin-bottom: 10px; }
.empty-state h4 { margin: 0 0 6px; color: var(--text, #101a43); font-size: 16px; }
.empty-state p { margin: 0 0 14px; font-size: 14px; }
.page-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; font-weight: 600; font-size: 14px; }
.note-banner { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; color: #93370d; font-size: 14px; line-height: 1.55; }
.form-card { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 16px; padding: 26px; max-width: 820px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text, #101a43); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; background: #fff; color: var(--text, #101a43); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #3155f5; box-shadow: 0 0 0 3px rgba(49,85,245,.12); }
.field .hint { display: block; margin-top: 6px; font-size: 13px; color: var(--text-light, #667085); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.status-select { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 10px; border: 1px solid var(--border, #e5e7eb); border-radius: 8px; background: #fff; color: var(--text, #101a43); cursor: pointer; }
.cell-sub { display: block; font-size: 12px; color: var(--text-light, #667085); margin-top: 2px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 18px; } }
.verify-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #fffaeb; color: #93370d; border: 1px solid #fedf89; font-size: 14px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 16px 20px; }
.form-row input, .modal-card input, .modal-card textarea { width: 100%; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 10px; font: inherit; font-size: 14px; box-sizing: border-box; }
.modal-card textarea { min-height: 90px; resize: vertical; }
.modal-card label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; color: #344054; }
.log-content { white-space: pre-wrap; background: #f6f8ff; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.6; max-height: 40vh; overflow-y: auto; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
