/* wpmc-more-about-service/assets/css/frontend.css */
.wpmc-mas-wrapper{
  position: fixed;
  z-index: 99999;
  width: var(--wpmc-mas-width, 320px);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
  background:#fff;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
  overflow:hidden;
  touch-action:none; /* enable custom drag via pointer events */
}
.wpmc-mas-wrapper.corner-top-left   { top: var(--wpmc-mas-offset-y, 20px);  left: var(--wpmc-mas-offset-x, 20px); }
.wpmc-mas-wrapper.corner-top-right  { top: var(--wpmc-mas-offset-y, 20px);  right: var(--wpmc-mas-offset-x, 20px); }
.wpmc-mas-wrapper.corner-bottom-left{ bottom: var(--wpmc-mas-offset-y, 20px); left: var(--wpmc-mas-offset-x, 20px); }
.wpmc-mas-wrapper.corner-bottom-right{ bottom: var(--wpmc-mas-offset-y, 20px); right: var(--wpmc-mas-offset-x, 20px); }

.wpmc-mas-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  cursor:pointer;
  user-select:none;
  background:linear-gradient(#ffffff, #f7f7f7);
}
.wpmc-mas-thumb{
  width:36px; height:36px; object-fit:cover; border-radius:6px; flex:0 0 auto;
  border:1px solid rgba(0,0,0,0.08);
  background:#fafafa;
}
.wpmc-mas-title{
  font-size:14px; font-weight:600; line-height:1.2; flex:1;
}
.wpmc-mas-toggle{
  font-size:16px; opacity:0.6;
}
.wpmc-mas-body{
  padding:12px;
  max-height: 60vh;
  overflow:auto;
  border-top:1px solid rgba(0,0,0,0.06);
}
.wpmc-mas-cat-name{
  font-size:12px; font-weight:700; text-transform:uppercase; opacity:.6; margin-bottom:8px;
}
.wpmc-mas-posts{
  list-style:none; margin:0; padding:0;
}
.wpmc-mas-posts li{
  margin:0 0 8px 0;
}
.wpmc-mas-posts a{
  text-decoration:none; color:#0a58ca;
}
.wpmc-mas-posts a:hover{
  text-decoration:underline;
}

.wpmc-mas-empty{
  font-size:13px; opacity:.7;
}

/* Dragging feedback */
.wpmc-mas-wrapper.dragging{
  opacity:.95;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  transition:none !important;
}


/* Drag UX: show grab/grabbing cursor */
.wpmc-mas-wrapper { cursor: default; }
.wpmc-mas-wrapper.draggable, .wpmc-mas-header { cursor: grab; }
.wpmc-mas-wrapper.dragging { cursor: grabbing; }
