/* Admin Bar Button */
#wp-admin-bar-admin-hero a {
  padding: 4px 8px 4px 8px !important;
  /*font-size: 18px;
  line-height: 30px;
  color: white;
  text-decoration: none;*/
  display: inline-block;
}

/* Admin-bar logo */
#wp-admin-bar-admin-hero > a .admin-hero-bar-logo {
  display: inline-block;
  height: calc(100% - 8px);
  width: auto;
  vertical-align: top;
  border-radius: 2px !important;
}
#wp-admin-bar-admin-hero > a:hover .admin-hero-bar-logo {
  opacity: 0.8;
}

/* ensure our bar group is flexbox */
#wp-admin-bar-top-secondary {
  display: flex !important;
}

/* push Admin Hero to sit just left of the profile item */
#wp-admin-bar-top-secondary #wp-admin-bar-admin-hero {
  order: -1 !important;
}

/* ensure the profile item itself comes after everything else */
#wp-admin-bar-top-secondary #wp-admin-bar-my-account {
  order: 0 !important;
}

/* Admin hero Modal */
#admin-hero-modal,
#admin-hero-modal * {
  box-sizing: border-box;
  line-height: 1 !important;
}

#admin-hero-modal {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 400px;
  max-width: 90vw;
  height: 400px;
  max-height: 80vh;
  background: #333333;
  padding: 0 16px 16px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  overflow: hidden;
  visibility: visible !important;
  z-index: 100001;
  font-family: "Roboto", sans-serif !important;
}

#admin-hero-modal.admin-hero-hidden {
  display: none !important;
}

/* Modal Header */
#admin-hero-modal #admin-hero-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: #e0e0e0;
  padding-top: 38px;
  padding-bottom: 0;
  z-index: 100005;
  background: transparent;
}

/* Modal Controls */
#admin-hero-modal .admin-hero-close-btn,
#admin-hero-modal .admin-hero-settings-toggle,
#admin-hero-modal .admin-hero-info-toggle {
  position: absolute;
  cursor: pointer;
  padding: 5px;
  z-index: 100010;
  pointer-events: auto;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Settings Icon */
#admin-hero-modal .admin-hero-settings-toggle {
  left: -6px;
  top: 6px;
}

#admin-hero-modal .admin-hero-settings-toggle i {
  font-size: 15px;
  color: #aaaaaa;
}

#admin-hero-modal .admin-hero-settings-toggle:hover i {
  color: #56ff00;
}

/* Info Icon */
#admin-hero-modal .admin-hero-info-toggle {
  left: 20px;
  top: 6px;
}

#admin-hero-modal .admin-hero-info-toggle i {
  font-size: 15px;
  color: #aaaaaa;
}

#admin-hero-modal .admin-hero-info-toggle:hover i {
  color: #56ff00;
}

/* New Container for Enabled Settings Icons */
#admin-hero-modal #admin-hero-settings-icons {
  position: absolute;
  left: 46px;
  top: 6px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 100010;
}

/* Close Button */
#admin-hero-modal .admin-hero-close-btn {
  right: -6px;
  top: 6px;
}

#admin-hero-modal .admin-hero-close-btn i {
  font-size: 20px;
  color: #aaaaaa;
}

#admin-hero-modal .admin-hero-close-btn:hover i {
  color: red;
}

/* Settings Header */
#admin-hero-modal #admin-hero-settings-header {
  font-size: 18px;
  font-weight: bold;
  color: #e0e0e0;
  text-align: center;
  padding: 8px 0 10px;
  z-index: 100003;
}

/* Buttons */
#admin-hero-modal button {
  font-family: "Roboto", sans-serif !important;
}

#admin-hero-modal .button-pro {
  margin-top: 10px;
}

#admin-hero-modal #admin-hero-save,
#admin-hero-modal .button-pro {
  background: #50992b;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none !important;
  text-transform: uppercase;
  pointer-events: auto !important;
  z-index: 100002;
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

#admin-hero-modal .button-pro {
  margin-bottom: 10px !important;
}

#admin-hero-modal .button-pro:hover {
  background: #56ff00;
}

#admin-hero-modal .button-pro:focus {
  box-shadow: none !important;
  outline: none !important;
}

#admin-hero-modal #admin-hero-save:hover {
  background: #56ff00;
}

#admin-hero-modal #admin-hero-save i.fa-floppy-disk {
  font-size: 14px;
}

#admin-hero-modal #admin-hero-reset-modal {
  background: #50992b;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: auto;
  pointer-events: auto;
  z-index: 100002;
}

#admin-hero-modal #admin-hero-reset-modal:hover {
  background: #56ff00;
}

/* Quill Editor */
#admin-hero-modal #admin-hero-editor {
  flex-grow: 1;
  width: 100%;
  margin-bottom: 4px !important;
  background: #eeeeee !important;
  color: #333333 !important;
  border: 1px solid #eeeeee !important;
  border-radius: 4px !important;
  z-index: 100002;
}

#admin-hero-modal #admin-hero-editor .ql-editor {
  padding: 8px;
}

#admin-hero-modal #admin-hero-editor .ql-editor,
#admin-hero-modal #admin-hero-editor h1,
#admin-hero-modal #admin-hero-editor h2,
#admin-hero-modal #admin-hero-editor h3,
#admin-hero-modal #admin-hero-editor h4,
#admin-hero-modal #admin-hero-editor h5,
#admin-hero-modal #admin-hero-editor h6,
#admin-hero-modal #admin-hero-editor p,
#admin-hero-modal #admin-hero-editor li,
#admin-hero-modal #admin-hero-editor blockquote,
#admin-hero-modal #admin-hero-editor pre,
#admin-hero-modal #admin-hero-editor code {
  background: transparent !important;
  color: #333333 !important;
  line-height: 1.2 !important;
}

#admin-hero-modal #admin-hero-editor h1,
#admin-hero-modal #admin-hero-editor h2,
#admin-hero-modal #admin-hero-editor h3,
#admin-hero-modal #admin-hero-editor h4,
#admin-hero-modal #admin-hero-editor h5,
#admin-hero-modal #admin-hero-editor h6 {
  margin-bottom: 8px !important;
  font-weight: bold !important;
}

#admin-hero-modal #admin-hero-editor p {
  margin-bottom: 8px !important;
}

#admin-hero-modal h3 {
  font-size: 1.8em !important;
  color: #eed13b !important;
  margin: 10px 0 10px 0 !important;
}

#admin-hero-modal h4 {
  font-size: 1.4em !important;
  color: #eed13b !important;
  margin: 10px 0 10px 0 !important;
}

#admin-hero-modal h5 {
  font-size: 1.1em !important;
  color: #eed13b !important;
  margin: 10px 0 10px 0 !important;
}

#admin-hero-modal #admin-hero-editor li {
  margin-bottom: 4px !important;
}

#admin-hero-modal #admin-hero-editor:focus,
#admin-hero-modal #admin-hero-editor:focus-within,
#admin-hero-modal #admin-hero-editor:focus-visible {
  outline: none;
  border: 1px solid #56ff00 !important;
}

/* Style Quill Toolbar */
#admin-hero-modal .ql-toolbar.ql-snow {
  display: flex;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #aaaaaa !important;
  border: 1px solid #aaaaaa !important;
  border-radius: 4px !important;
  margin-bottom: 4px !important;
  padding: 4px;
}

#admin-hero-modal .ql-toolbar.ql-snow .ql-formats {
  display: flex;
  align-items: center;
  gap: 0 !important;
  margin-right: 0 !important;
}

#admin-hero-modal .ql-toolbar.ql-snow .ql-picker-options {
  z-index: 100003 !important;
}

#admin-hero-modal .ql-toolbar.ql-snow .ql-formats select,
#admin-hero-modal .ql-toolbar.ql-snow .ql-picker {
  background: transparent !important;
  color: #666666 !important;
  font-size: 13px !important;
  line-height: 1.53846153 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  padding-right: 0 !important;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-right: 8px;
}

/* Style the picker dropdown items */
#admin-hero-modal .ql-toolbar.ql-snow .ql-picker-options .ql-picker-item {
  color: #666666 !important;
  background: transparent !important;
}

/* Change picker item color on hover */
#admin-hero-modal .ql-toolbar.ql-snow .ql-picker-options .ql-picker-item:hover {
  color: #56ff00 !important;
  background: transparent !important;
}

/* Set default colors for toolbar button SVGs */
#admin-hero-modal .ql-toolbar.ql-snow .ql-formats button .ql-fill {
  fill: #666666 !important;
}

/* Change SVG colors on hover and active states for all toolbar buttons except undo/redo */
#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-undo):not(.ql-redo):hover
  .ql-fill,
#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-undo):not(.ql-redo).ql-active
  .ql-fill {
  fill: #56ff00 !important;
}

/* Default dropdown label + arrow */
#admin-hero-modal .ql-toolbar .ql-picker-label {
  color: #666666 !important;
}
#admin-hero-modal .ql-toolbar .ql-picker-label svg .ql-stroke {
  stroke: #666666 !important;
}

/* When picker is active/expanded/selected via selected text */
#admin-hero-modal .ql-toolbar .ql-picker.ql-active .ql-picker-label,
#admin-hero-modal .ql-toolbar .ql-picker.ql-selected .ql-picker-label,
#admin-hero-modal .ql-toolbar .ql-picker.ql-expanded .ql-picker-label {
  color: #56ff00 !important;
}

/* ...but caret (arrow) stays #666666 even when active */
#admin-hero-modal
  .ql-toolbar
  .ql-picker.ql-active
  .ql-picker-label
  svg
  .ql-stroke,
#admin-hero-modal
  .ql-toolbar
  .ql-picker.ql-selected
  .ql-picker-label
  svg
  .ql-stroke,
#admin-hero-modal
  .ql-toolbar
  .ql-picker.ql-expanded
  .ql-picker-label
  svg
  .ql-stroke {
  stroke: #666666 !important;
}

/* Optional: arrow hover = green */
#admin-hero-modal .ql-toolbar .ql-picker:hover .ql-picker-label svg .ql-stroke {
  stroke: #56ff00 !important;
}

/* Push the undo/redo group to the right */
#admin-hero-modal .ql-toolbar.ql-snow .ql-formats:last-child {
  margin-left: auto !important;
}

/* Popup Link Editor */
#admin-hero-modal .ql-snow .ql-tooltip {
  bottom: 14px !important;
  left: 5px !important;
  right: 5px !important;
  top: auto !important;
  background: #222222 !important;
  color: #eeeeee !important;
  border-radius: 8px !important;
  padding: 8px !important;
  font-size: 14px !important;
  border: 1px solid #56ff00 !important;
  box-shadow: 0 0 5px #444444 !important;
  white-space: nowrap !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

#admin-hero-modal .ql-snow .ql-hidden {
  display: none !important;
}

#admin-hero-modal .ql-snow .ql-tooltip input,
#admin-hero-modal .ql-snow .ql-tooltip .ql-preview {
  flex-grow: 1 !important;
  min-height: 0 !important;
}

#admin-hero-modal .ql-snow .ql-tooltip a.ql-action {
  margin-left: 8px !important;
  background: transparent !important;
  color: #56ff00 !important;
}

#admin-hero-modal .ql-snow .ql-tooltip a.ql-remove {
  color: red !important;
}

#admin-hero-modal .ql-snow .ql-tooltip a.ql-action::after {
  margin-left: 0 !important;
}

#admin-hero-modal .ql-snow .ql-tooltip a.ql-preview {
  padding: 5px 5px !important;
}

/* Overlay */
#admin-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: none; /* hide by default */
  flex-direction: column; /* Stack icon and text vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out; /* fade‑in/out */
  pointer-events: none !important;
  z-index: 100006;
  pointer-events: none !important;
}

#admin-hero-overlay.admin-hero-visible {
  display: flex; /* show when visible */
  opacity: 1;
  pointer-events: auto !important;
}

#admin-hero-overlay .save-icon,
#admin-hero-overlay .autosave-icon {
  display: block;
  margin: 0 auto 5px;
  font-size: 28px;
  color: #56ff00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#admin-hero-overlay span {
  display: block; /* ensure text sits below the icon */
  text-align: center;
}

/* Settings Panel */
#admin-hero-modal #admin-hero-settings-panel.admin-hero-settings-overlay {
  position: absolute;
  top: 37px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: #444444;
  padding: 8px;
  border-radius: 4px;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  gap: 0;
  z-index: 100004;
}

#admin-hero-modal .admin-hero-settings-content {
  background: transparent;
  border: none;
  color: #eee;
  text-align: center;
  margin-top: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

#admin-hero-modal .admin-hero-pro-features {
  width: 100%;
  max-width: 700px;
}

#admin-hero-modal .admin-hero-pro-features ul {
  font-size: 1em !important;
  color: #eeeeee !important;
  margin-bottom: 0 !important;
}

#admin-hero-modal .admin-hero-pro-features ul li {
  margin-bottom: 8px !important;
  display: inline-block !important;
  padding-left: 8px !important;
}

#admin-hero-modal .admin-hero-pro-features .fa-square-check {
  color: #56ff00 !important;
  margin-right: 6px !important;
}

#admin-hero-modal h4 {
  font-size: 1.4em !important;
  color: #eed13b !important;
  margin: 10px 0 10px 0 !important;
}

/* Toggle Switch */
#admin-hero-modal .admin-hero-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: bold;
  color: #eee;
}

#admin-hero-modal .admin-hero-toggle-text {
  font-size: 14px;
  font-weight: bold;
  color: #eee;
  text-align: center;
  margin-bottom: 10px;
  user-select: none;
}

#admin-hero-modal #admin-hero-autosave-switch,
#admin-hero-modal #admin-hero-frontend-floating-switch,
#admin-hero-modal #admin-hero-backend-floating-switch {
  transform: scale(1.4);
  cursor: pointer;
  vertical-align: middle;
  margin-left: 8px;
}

#admin-hero-modal .switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 21px;
}

#admin-hero-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#admin-hero-modal .switch .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  cursor: pointer;
  transition: 0.4s;
}

#admin-hero-modal .switch .slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  top: 3px;
  left: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

#admin-hero-modal .switch input:checked + .slider {
  background-color: #50992b !important;
}

#admin-hero-modal .switch input:checked + .slider:before {
  transform: translate3d(24px, 0, 0) !important;
}

/* Settings Lines (Label + Control Inline) */
#admin-hero-modal .admin-hero-setting-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  padding: 4px 0 4px 0;
}

#admin-hero-modal .admin-hero-setting-line label {
  font-size: 14px;
  font-weight: bold;
  color: #eee;
  margin: 0;
  padding: 0;
  user-select: none;
}

#admin-hero-modal .admin-hero-setting-line select {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #555;
  background: #222;
  color: #eee;
  font-size: 14px;
}

#admin-hero-modal .admin-hero-setting-line .switch {
  margin-left: 8px;
}

/*** Info Panel ***/
#admin-hero-modal #admin-hero-info-panel.admin-hero-info-overlay {
  position: absolute;
  top: 37px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: #444444;
  padding: 8px;
  border-radius: 4px;
  box-sizing: border-box;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  gap: 0;
  z-index: 100004;
}

/* Info Header */
#admin-hero-modal #admin-hero-info-header {
  font-size: 18px;
  font-weight: bold;
  color: #e0e0e0;
  text-align: center;
  padding: 8px 0 10px 0;
  z-index: 100003;
}

/* Info Footer */
#admin-hero-modal .admin-hero-settings-footer,
#admin-hero-modal .admin-hero-info-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0 0 0;
}
/******************/

/*** Settings and Info Close Button ***/
#admin-hero-modal #admin-hero-close-settings,
#admin-hero-modal #admin-hero-close-info {
  margin-top: auto;
  margin-bottom: 0;
  background: transparent;
  color: rgb(198, 26, 26);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  pointer-events: auto !important;
  z-index: 100002;
}
#admin-hero-modal #admin-hero-close-settings:hover,
#admin-hero-modal #admin-hero-close-info:hover {
  background: transparent;
  color: rgb(255, 0, 0);
}
/******************/

/* Add Font Awesome icons for undo and redo buttons */
#admin-hero-modal .ql-toolbar .ql-undo,
#admin-hero-modal .ql-toolbar .ql-redo {
  position: relative;
  width: 18px;
  height: 18px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 5px !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

#admin-hero-modal .ql-toolbar .ql-undo::before,
#admin-hero-modal .ql-toolbar .ql-redo::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: #666666;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#admin-hero-modal .ql-toolbar .ql-undo::before {
  content: "\f2ea";
}

#admin-hero-modal .ql-toolbar .ql-redo::before {
  content: "\f2f9";
}

/* Hover effect for undo/redo */
#admin-hero-modal .ql-toolbar .ql-undo:hover::before,
#admin-hero-modal .ql-toolbar .ql-redo:hover::before {
  color: #56ff00 !important;
}

/* Disabled state for undo/redo */
#admin-hero-modal .ql-toolbar .ql-undo.ql-disabled::before,
#admin-hero-modal .ql-toolbar .ql-redo.ql-disabled::before {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Toolbar button icon default colors */
#admin-hero-modal .ql-toolbar.ql-snow .ql-formats button .ql-stroke {
  stroke: #666666 !important;
  fill: none !important;
}

#admin-hero-modal .ql-toolbar.ql-snow .ql-formats button .ql-fill {
  fill: #666666 !important;
}

/* Hover + active state for editor buttons */
#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-undo):not(.ql-redo):hover
  .ql-stroke,
#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-uno):not(.ql-redo).ql-active
  .ql-stroke {
  stroke: #56ff00 !important;
}

#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-undo):not(.ql-redo):hover
  .ql-fill,
#admin-hero-modal
  .ql-toolbar.ql-snow
  .ql-formats
  button:not(.ql-undo):not(.ql-redo).ql-active
  .ql-fill {
  fill: #56ff00 !important;
}

/* Prevent hover fill on stroke-based icons like bold/underline/link */
#admin-hero-modal .ql-toolbar.ql-snow .ql-bold:hover .ql-stroke,
#admin-hero-modal .ql-toolbar.ql-snow .ql-underline:hover .ql-stroke,
#admin-hero-modal .ql-toolbar.ql-snow .ql-link:hover .ql-stroke,
#admin-hero-modal .ql-toolbar.ql-snow .ql-bold.ql-active .ql-stroke,
#admin-hero-modal .ql-toolbar.ql-snow .ql-under line.ql-active .ql-stroke,
#admin-hero-modal .ql-toolbar.ql-snow .ql-link.ql-active .ql-stroke {
  fill: none !important;
}

/* Push the undo/redo group to the right */
#admin-hero-modal .ql-toolbar.ql-snow .ql-formats:last-child {
  margin-left: auto !important;
}

/* Autosave Icon in Overlay */
#admin-hero-overlay .autosave-icon {
  display: block;
  margin: 0 auto 5px;
  font-size: 28px;
  color: #56ff00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Manual Save Icon in Overlay */
#admin-hero-overlay .save-icon {
  display: block;
  margin: 0 auto 5px;
  font-size: 28px;
  color: #56ff00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer bar under the Save button */
#admin-hero-modal .admin-hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

/* Left side: user name */
#admin-hero-modal .admin-hero-footer .admin-hero-title {
  font-size: 12px;
  color: #ccc;
}

/* Right side: timestamp */
#admin-hero-modal .admin-hero-footer #admin-hero-timestamp {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin: 0;
}

/* License Links */
#admin-hero-modal .enter-license-link {
  text-align: center;
  padding: 10px 0 0 0;
  cursor: pointer;
}

#admin-hero-modal .manage-license-link {
  text-align: center;
  padding: 0 0 10px 0;
  cursor: pointer;
}

/* License Links */
#admin-hero-modal .manage-license-link a,
#admin-hero-modal .enter-license-link a {
  color: #50992b !important;
  text-decoration: none;
  font-size: 14px !important;
}

#admin-hero-modal .manage-license-link a:hover,
#admin-hero-modal .enter-license-link a:hover {
  color: #56ff00 !important;
  text-decoration: none;
}

/*********************/
/* Responsive Design */
/*********************/
@media (max-width: 781px) {
  #admin-hero-modal {
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    border-radius: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  #admin-hero-modal #admin-hero-reset-modal {
    display: none !important;
  }

  #wp-admin-bar-top-secondary #wp-admin-bar-admin-hero {
    order: -1 !important;
  }

  #wpadminbar #wp-admin-bar-admin-hero {
    display: block !important;
  }

  #wp-admin-bar-admin-hero a {
    font-size: 24px !important;
    line-height: 1.9em !important;
    color: white;
    background: none;
    display: inline-block !important;
  }

  #wp-admin-bar-admin-hero a i {
    font-size: 16px;
  }

  #wp-admin-bar-admin-hero a:hover {
    color: #56ff00;
    background: rgba(255, 255, 255, 0.1);
  }

  #admin-hero-modal #admin-hero-editor {
    height: 200px;
    min-height: 150px;
    font-size: 14px;
    line-height: 1.5;
  }

  #admin-hero-modal #admin-hero-editor .ql-editor {
    font-size: 14px;
    line-height: 1.5;
  }

  #admin-hero-floating-button {
    padding: 10px;
  }
}

/* Client Info panel styling */
.client-info-field {
  margin-bottom: 12px;
}
.client-info-label {
  font-weight: bold;
  margin-bottom: 4px;
}
.client-info-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.client-info-value {
  flex: 1;
  color: #eee;
}
.client-info-input-wrapper {
  display: flex;
  gap: 4px;
}
.client-info-input {
  flex: 1;
  padding: 4px 8px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #222;
  color: #eee;
}
.admin-hero-copy-btn,
.admin-hero-save-client-btn {
  background: none;
  border: none;
  color: #56ff00;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.admin-hero-copy-btn:hover,
.admin-hero-save-client-btn:hover {
  color: #a8ff70;
}

#admin-hero-modal hr {
  display: block;
  width: 100%;
  height: 1px;
  border: 0;
  border-top: 1px solid #222222;
  margin: 0;
  padding: 0;
}

#admin-hero-modal #admin-hero-info-panel::-webkit-scrollbar {
  width: 0.5em !important;
}

#admin-hero-modal #admin-hero-info-panel::-webkit-scrollbar-track {
  background-color: #333333 !important;
}

#admin-hero-modal #admin-hero-info-panel::-webkit-scrollbar-thumb {
  background-color: #888888 !important;
  border-radius: 2px !important;
}

#admin-hero-modal #admin-hero-info-panel::-webkit-scrollbar-thumb:hover {
  background-color: #aaaaaa !important;
}
