/* APEX ENERGY PARTNERS — inline text CMS chrome (admin-only) */

.cms-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
}
.cms-bar__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #14213d;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.cms-bar__btn:hover {
  background: #1f3563;
}

.cms-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: #14213d;
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cms-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.cms-admin [data-cms-key] {
  cursor: text;
  outline: 1px dashed rgba(20, 33, 61, 0.35);
  outline-offset: 2px;
}
body.cms-admin [data-cms-key]:hover {
  outline-color: rgba(20, 33, 61, 0.7);
  background: rgba(20, 33, 61, 0.04);
}
.cms-editing {
  outline: 2px solid #14213d !important;
  background: rgba(20, 33, 61, 0.06) !important;
}

.cms-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 4px;
  background: #14213d;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.cms-toolbar.show {
  display: flex;
}
.cms-toolbar button {
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  border: none;
  background: transparent;
  color: #fff;
  padding: 7px 9px;
  border-radius: 5px;
  cursor: pointer;
}
.cms-toolbar button:hover {
  background: rgba(255, 255, 255, 0.15);
}
.cms-toolbar__sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}
.cms-toolbar__save {
  background: #3ddc97 !important;
  color: #0b1a12 !important;
  font-weight: 700;
}
.cms-toolbar__save:hover {
  background: #33c688 !important;
}
