/* FASTWORK_MESSAGE_TEMPLATES_ADMIN_V1 */
.fw-message-templates-nav-v1 { display:flex; align-items:center; gap:10px; min-height:42px; padding:10px 12px; border-radius:10px; color:inherit; text-decoration:none; font:inherit; font-weight:700; }
.fw-message-templates-nav-v1:hover { background:rgba(16,185,129,.08); }

.fw-message-templates-page-v1 { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; padding:24px; background:rgba(6,13,20,.72); backdrop-filter:blur(4px); }
.fw-message-templates-shell-v1 { width:min(1040px,96vw); max-height:92vh; overflow:auto; border:1px solid rgba(148,163,184,.2); border-radius:22px; background:#0f1824; color:#f8fafc; box-shadow:0 28px 80px rgba(0,0,0,.36); }
.fw-message-templates-shell-v1 > header { display:flex; justify-content:space-between; gap:20px; padding:22px; border-bottom:1px solid rgba(148,163,184,.14); }
.fw-message-templates-shell-v1 > header span { color:#00e676; font-size:10px; font-weight:900; letter-spacing:.12em; }
.fw-message-templates-shell-v1 > header h1 { margin:5px 0 6px; color:#fff; font-size:26px; }
.fw-message-templates-shell-v1 > header p { margin:0; color:#9fb0c2; font-size:12px; line-height:1.5; }
.fw-message-templates-shell-v1 > header > button { width:38px; height:38px; flex:0 0 auto; border:1px solid rgba(148,163,184,.2); border-radius:11px; background:#152130; color:#dbe5ef; font-size:22px; cursor:pointer; }
.fw-message-templates-grid-v1 { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:16px; padding:18px; }
.fw-message-templates-card-v1 { min-width:0; padding:18px; border:1px solid rgba(148,163,184,.16); border-radius:17px; background:#111c28; }
.fw-message-templates-card-v1 h2 { margin:0 0 14px; color:#fff; font-size:18px; }
.fw-message-templates-card-v1 label { display:grid; gap:6px; margin-bottom:12px; color:#b8c5d3; font-size:11px; font-weight:800; }
.fw-message-templates-card-v1 input,
.fw-message-templates-card-v1 textarea { width:100%; box-sizing:border-box; border:1px solid rgba(148,163,184,.22); border-radius:11px; background:#0b141f; color:#f8fafc; padding:10px 11px; font:inherit; font-size:13px; outline:none; }
.fw-message-templates-card-v1 input:focus,
.fw-message-templates-card-v1 textarea:focus { border-color:#00d779; box-shadow:0 0 0 3px rgba(0,215,121,.1); }
.fw-message-templates-card-v1 button.primary { min-height:40px; border:0; border-radius:11px; padding:9px 14px; background:#00d779; color:#062317; font:inherit; font-size:12px; font-weight:900; cursor:pointer; }
.fw-message-templates-card-v1 button:disabled { opacity:.55; cursor:wait; }
.fw-message-templates-error-v1 { margin-top:10px; padding:9px 10px; border-radius:10px; background:rgba(127,29,29,.28); color:#fecaca; font-size:11px; }
.fw-message-templates-list-head-v1 { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.fw-message-templates-list-head-v1 > button { width:34px; height:34px; border:1px solid rgba(148,163,184,.2); border-radius:10px; background:#152130; color:#dbe5ef; cursor:pointer; }
.fw-message-templates-list-v1 { display:grid; gap:9px; }
.fw-message-template-item-v1 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:start; padding:12px; border:1px solid rgba(148,163,184,.15); border-radius:13px; background:#0d1722; }
.fw-message-template-item-v1 strong { display:block; color:#fff; font-size:12px; }
.fw-message-template-item-v1 p { margin:5px 0 0; color:#9fb0c2; font-size:11px; line-height:1.45; white-space:pre-wrap; }
.fw-message-template-item-v1 > button { border:1px solid rgba(248,113,113,.25); border-radius:9px; background:rgba(127,29,29,.18); color:#fecaca; padding:7px 9px; font:inherit; font-size:10px; cursor:pointer; }
.fw-message-templates-empty-v1 { padding:24px 10px; text-align:center; color:#7f91a6; font-size:11px; }

.fw-admin-support-composer { position:relative; }
.fw-message-template-suggestions-v1 { position:absolute; left:54px; right:110px; bottom:calc(100% + 8px); z-index:80; max-height:300px; overflow:auto; display:grid; gap:5px; padding:7px; border:1px solid rgba(148,163,184,.22); border-radius:13px; background:#101a26; box-shadow:0 16px 42px rgba(0,0,0,.38); }
.fw-message-template-suggestions-v1 button { display:grid; gap:3px; width:100%; border:0; border-radius:9px; background:transparent; color:#f8fafc; padding:9px 10px; text-align:left; cursor:pointer; }
.fw-message-template-suggestions-v1 button:hover { background:rgba(0,230,118,.1); }
.fw-message-template-suggestions-v1 strong { font-size:11px; color:#66efaa; }
.fw-message-template-suggestions-v1 span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#aab8c7; font-size:10px; }

@media (max-width:760px) {
  .fw-message-templates-page-v1 { padding:10px; }
  .fw-message-templates-grid-v1 { grid-template-columns:1fr; }
  .fw-message-template-suggestions-v1 { left:8px; right:8px; }
}
