/* Scope everything to the plugin modal only */
#wpjmue-modal * { box-sizing: border-box; }

#wpjmue-modal-panel{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#wpjmue-modal-panel{
  border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}

#wpjmue-modal-panel label span{
  font-weight: 600;
  color: rgba(0,0,0,.72);
}

#wpjmue-modal-panel input[type="text"],
#wpjmue-modal-panel input[type="email"],
#wpjmue-modal-panel select,
#wpjmue-modal-panel textarea{
  width: 100%;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

#wpjmue-modal-panel input[type="text"]:focus,
#wpjmue-modal-panel input[type="email"]:focus,
#wpjmue-modal-panel select:focus,
#wpjmue-modal-panel textarea:focus{
  border-color: rgba(0,0,0,.35) !important;
  box-shadow: 0 0 0 3px rgba(17,17,17,.08);
}

#wpjmue-modal-msg{
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.03);
}

#wpjmue-token-row button{
  border: 1px solid rgba(0,0,0,.12) !important;
  background: #fff !important;
  color: rgba(0,0,0,.75);
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
}

#wpjmue-token-row button:hover{
  background: rgba(0,0,0,.03) !important;
  border-color: rgba(0,0,0,.22) !important;
}

#wpjmue-token-row button:active{
  transform: translateY(1px);
}

#wpjmue-send{
  background: #111 !important;
  color: #fff !important;
}

#wpjmue-send:disabled{
  opacity: .6;
  cursor: not-allowed !important;
}

#wpjmue-cancel{
  background: #fff !important;
}

#wpjmue-attachment{
  padding: 10px !important;
  border-radius: 10px;
  border: 1px dashed rgba(0,0,0,.20);
  background: rgba(0,0,0,.02);
}

#wpjmue-attachment-name{
  margin-top: 4px;
}

/* Make WP TinyMCE editor fit nicely inside modal */
#wpjmue-modal-panel .wp-editor-wrap{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
}

#wpjmue-modal-panel .mce-top-part::before{
  box-shadow: none !important;
}
