/* components.css: shared widgets — Squaroe Workspace
   Extracted from inline <style> blocks on 2026-11-22. */

/* ---- recent site updates widget (includes/recent_site_updates.php) ---- */
.sur-card{background:#fff;border-radius:16px;box-shadow:0 2px 10px rgba(15,22,40,.06);padding:16px 18px;margin-bottom:22px}
.sur-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.sur-head h6{margin:0;font-weight:800;color:#0f1628}
.sur-head a{font-size:.8rem;font-weight:600;color:#0f1628;text-decoration:none}
.sur-head a:hover{color:#e0a500}
.sur-row{display:flex;align-items:center;gap:12px;padding:8px 6px;border-radius:10px;text-decoration:none;color:#0f1628}
.sur-row:hover{background:#f6f7fa;color:#0f1628}
.sur-ico{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:0 0 34px;font-size:1rem;background:color-mix(in srgb,var(--c) 14%,#fff)}
.sur-t{font-weight:600;font-size:.88rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sur-m{font-size:.74rem;color:#7a8295;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sur-when{font-size:.72rem;color:#9aa1b1;white-space:nowrap;margin-left:auto}
.sur-crit{font-size:.62rem;font-weight:700;background:#dc3545;color:#fff;border-radius:20px;padding:1px 6px;margin-left:4px;vertical-align:middle}
.sur-empty{font-size:.85rem;color:#7a8295;padding:6px}
/* Log-to-site-updates box inside task modal */
.sur-log{border:1px dashed #d9dde6;border-radius:12px;padding:12px 14px;margin-top:14px;background:#fafbfd}
.sur-log .form-check-label{font-weight:600;font-size:.9rem}
.sur-log-fields{display:none;margin-top:10px}
.sur-log.on .sur-log-fields{display:flex}
