/* ============================================================
   admin.css — Visual Editor UI
   ============================================================ */

/* ===== LOGIN MODAL ===== */
.admin-login-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 8, 18, 0.82);
  backdrop-filter: blur(10px);
  animation: adminFadeIn 0.2s ease;
}

.admin-login-box {
  position: relative;
  width: min(400px, 88vw);
  padding: 40px 36px 32px;
  background: linear-gradient(145deg, rgba(8, 28, 48, 0.97), rgba(4, 14, 28, 0.99));
  border: 1px solid rgba(93, 215, 255, 0.3);
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 40px rgba(93,215,255,0.08);
  animation: adminSlideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}

.admin-login-logo {
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(93, 215, 255, 0.8);
  margin-bottom: 28px;
}

.admin-login-box input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.admin-login-box input:focus {
  border-color: rgba(93, 215, 255, 0.5);
}

.admin-login-box input::placeholder {
  color: rgba(255,255,255,0.3);
}

.admin-login-btn-submit {
  width: 100%;
  margin-top: 8px;
  padding: 13px 18px;
  background: linear-gradient(135deg, rgba(30,120,180,0.8), rgba(48,174,222,0.6));
  border: 1px solid rgba(93,215,255,0.4);
  border-radius: 12px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}

.admin-login-btn-submit:hover {
  box-shadow: 0 0 20px rgba(93,215,255,0.3);
  border-color: rgba(93,215,255,0.7);
}

.admin-login-error {
  color: rgba(255, 120, 120, 0.9);
  font-size: 12px;
  min-height: 20px;
  margin-top: 10px;
  font-family: 'Cairo', sans-serif;
  text-align: center;
}

.admin-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  font-family: 'Cairo', sans-serif;
}

.admin-modal-close:hover {
  color: rgba(93,215,255,0.9);
}

/* ===== VIEWPORT SWITCHER ===== */
.adm-viewport-switcher {
  position: fixed;
  top: 84px;   /* hamburger top(22) + height(52) + gap(10) */
  right: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  background: linear-gradient(160deg, rgba(4,18,34,0.95), rgba(2,10,22,0.97));
  border: 1px solid rgba(93, 215, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.adm-vp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(93, 215, 255, 0.1);
  background: rgba(93, 215, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.adm-vp-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(93, 215, 255, 0.35);
  background: rgba(93, 215, 255, 0.1);
}

.adm-vp-btn.active {
  color: #5dd7ff;
  border-color: rgba(93, 215, 255, 0.5);
  background: rgba(93, 215, 255, 0.14);
  box-shadow: 0 0 10px rgba(93, 215, 255, 0.15);
}

.adm-vp-label {
  font-family: 'Cairo', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(93, 215, 255, 0.7);
  text-align: center;
  min-height: 12px;
}

/* Mobile: hamburger shifts to top:4px right:12px */
@media (max-width: 1024px) {
  .adm-viewport-switcher {
    top: 64px;  /* hamburger top(4) + height(52) + gap(8) */
    right: 12px;
  }
}

/* ===== VIEWPORT STAGE (dark backdrop when iframe is constrained) ===== */
.adm-vp-stage {
  position: fixed;
  top: 48px;
  left: 64px;
  right: 0;
  bottom: 0;
  background: #030a12;
  z-index: 0;
  display: none;
}

/* ===== IFRAME CONSTRAINED OUTLINE ===== */
.site-frame.viewport-constrained {
  box-shadow: 0 0 0 1px rgba(93, 215, 255, 0.25), 0 0 40px rgba(0, 0, 0, 0.8);
  outline: none;
}

/* ===== ADMIN BAR (shell level) ===== */
.admin-bar {
  position: fixed;
  top: 0;
  left: 64px;
  right: 0;
  height: 48px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  background: linear-gradient(90deg, rgba(4,20,36,0.97), rgba(6,26,44,0.97));
  border-bottom: 1px solid rgba(93,215,255,0.2);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  animation: adminSlideDown 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes adminSlideDown {
  from { transform: translateY(-48px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.admin-bar-label {
  font-family: 'Cairo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(93, 215, 255, 0.9);
  padding: 4px 10px;
  border: 1px solid rgba(93,215,255,0.3);
  border-radius: 20px;
  margin-right: 8px;
  white-space: nowrap;
}

.admin-bar-pages {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}

.admin-page-btn {
  padding: 5px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  color: rgba(255,255,255,0.55);
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-page-btn:hover,
.admin-page-btn.active {
  background: rgba(93,215,255,0.15);
  border-color: rgba(93,215,255,0.4);
  color: rgba(255,255,255,0.95);
}

.admin-bar-saved {
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  color: rgba(93,215,255,0.8);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.4s;
  margin-left: 6px;
  white-space: nowrap;
}

.admin-bar-saved.visible {
  opacity: 1;
}

.admin-bar-spacer {
  flex: 1;
}

.admin-bar-layout,
.admin-bar-clear,
.admin-bar-logout {
  padding: 5px 14px;
  border-radius: 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 4px;
}

.admin-bar-layout {
  background: rgba(93,215,255,0.08);
  border: 1px solid rgba(93,215,255,0.2);
  color: rgba(93,215,255,0.7);
}

.admin-bar-layout:hover,
.admin-bar-layout.active {
  background: rgba(93,215,255,0.18);
  border-color: rgba(93,215,255,0.5);
  color: #5dd7ff;
  box-shadow: 0 0 12px rgba(93,215,255,0.15);
}

.admin-bar-clear {
  background: rgba(255,180,50,0.1);
  border: 1px solid rgba(255,180,50,0.25);
  color: rgba(255,200,80,0.75);
}

.admin-bar-clear:hover {
  background: rgba(255,180,50,0.2);
  border-color: rgba(255,200,80,0.5);
  color: rgba(255,210,100,1);
}

.admin-bar-logout {
  background: rgba(220,60,60,0.1);
  border: 1px solid rgba(220,80,80,0.25);
  color: rgba(255,120,120,0.75);
  margin-left: auto;
}

.admin-bar-logout:hover {
  background: rgba(220,60,60,0.2);
  border-color: rgba(255,100,100,0.5);
  color: rgba(255,150,150,1);
}

/* Shift iframe down when admin bar is showing */
body.shell-page .admin-bar ~ .site-frame,
body.shell-page.has-admin-bar .site-frame {
  top: 48px;
  height: calc(100vh - 48px);
}

/* ===== EDITABLE ELEMENTS (frame level) ===== */
body.admin-mode .admin-editable {
  outline: 1px dashed rgba(93, 215, 255, 0.25);
  outline-offset: 3px;
  cursor: pointer;
  transition: outline-color 0.2s;
}

body.admin-mode .admin-editable:hover {
  outline-color: rgba(93, 215, 255, 0.75);
  outline-style: solid;
}

body.admin-mode .admin-editing-text {
  outline: 2px solid rgba(93, 215, 255, 0.9) !important;
  outline-style: solid !important;
  background: rgba(93, 215, 255, 0.04);
  border-radius: 4px;
  cursor: text !important;
}

body.admin-mode .admin-editing-text:focus {
  outline-color: rgba(93, 215, 255, 1) !important;
}

/* ===== FLOATING CONTROLS PANEL (frame level) ===== */
.admin-controls-panel {
  position: fixed;
  z-index: 99990;
  display: flex;
  align-items: center;
  pointer-events: all;
  animation: adminFadeIn 0.15s ease;
}

.admin-panel-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(4,18,34,0.97), rgba(6,24,42,0.98));
  border: 1px solid rgba(93,215,255,0.28);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(93,215,255,0.05);
}

.acp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  color: rgba(255,255,255,0.8);
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.acp-btn:hover {
  background: rgba(93,215,255,0.18);
  border-color: rgba(93,215,255,0.45);
  color: #fff;
  box-shadow: 0 0 12px rgba(93,215,255,0.15);
}

.acp-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.1);
  margin: 0 2px;
  flex-shrink: 0;
}

.acp-bigger,
.acp-smaller {
  font-size: 14px;
  padding: 4px 10px;
  min-width: 32px;
}

.acp-reset {
  color: rgba(255,160,80,0.7);
  border-color: rgba(255,160,80,0.15);
  background: rgba(255,160,80,0.06);
}

.acp-reset:hover {
  background: rgba(255,160,80,0.15);
  border-color: rgba(255,180,80,0.45);
  color: rgba(255,190,100,1);
  box-shadow: 0 0 10px rgba(255,160,80,0.1);
}

/* ===== SAVE BUTTON (text editing state) ===== */
.acp-save-btn {
  background: rgba(30, 160, 80, 0.25);
  border-color: rgba(60, 200, 100, 0.5);
  color: rgba(120, 230, 150, 1);
  font-size: 12px;
  padding: 6px 16px;
  letter-spacing: 1px;
}

.acp-save-btn:hover {
  background: rgba(30, 160, 80, 0.45);
  border-color: rgba(80, 220, 120, 0.8);
  color: #fff;
  box-shadow: 0 0 16px rgba(40, 180, 90, 0.3);
}

/* ===== CANCEL BUTTON ===== */
.acp-cancel-btn {
  background: rgba(180, 40, 40, 0.15);
  border-color: rgba(220, 80, 80, 0.3);
  color: rgba(255, 140, 140, 0.8);
}

.acp-cancel-btn:hover {
  background: rgba(200, 50, 50, 0.25);
  border-color: rgba(255, 100, 100, 0.5);
  color: rgba(255, 160, 160, 1);
  box-shadow: 0 0 12px rgba(200,50,50,0.15);
}

/* ===== DONE BUTTON ===== */
.acp-done-btn {
  color: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 4px 10px;
  font-size: 13px;
}

.acp-done-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  box-shadow: none;
}

/* ===== SELECTED ELEMENT (locked panel) ===== */
body.admin-mode .admin-selected {
  outline: 2px solid rgba(93, 215, 255, 0.75) !important;
  outline-offset: 3px;
  outline-style: solid !important;
}

/* ===== SAVED TOAST (frame level) ===== */
.admin-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 99991;
  padding: 9px 22px;
  background: linear-gradient(135deg, rgba(4,20,36,0.96), rgba(6,24,44,0.98));
  border: 1px solid rgba(93,215,255,0.3);
  border-radius: 30px;
  color: rgba(93,215,255,0.95);
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.admin-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== SCALE WIDGET (frame level, bottom-right) ===== */
.admin-scale-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99992;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: linear-gradient(135deg, rgba(4,18,34,0.97), rgba(6,24,42,0.98));
  border: 1px solid rgba(93,215,255,0.28);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(93,215,255,0.05);
  animation: adminFadeIn 0.2s ease;
  user-select: none;
}

.admin-scale-icon {
  font-size: 15px;
  line-height: 1;
  color: rgba(93,215,255,0.65);
  margin-right: 2px;
}

.admin-scale-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Cairo', sans-serif;
  line-height: 1;
  flex-shrink: 0;
}

.admin-scale-btn:hover {
  background: rgba(93,215,255,0.18);
  border-color: rgba(93,215,255,0.45);
  color: #fff;
  box-shadow: 0 0 8px rgba(93,215,255,0.2);
}

.admin-scale-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}

.admin-scale-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(93,215,255,0.9);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(93,215,255,0.5);
}

.admin-scale-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(93,215,255,0.9);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(93,215,255,0.5);
}

.admin-scale-value {
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(93,215,255,0.85);
  min-width: 34px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ===== GLOBAL SAVE BUTTON (frame level, bottom-left) ===== */
.admin-global-save-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99992;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px 8px 14px;
  background: linear-gradient(135deg, rgba(4,18,34,0.97), rgba(6,24,42,0.98));
  border: 1px solid rgba(93,215,255,0.28);
  border-radius: 50px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(93,215,255,0.05);
  animation: adminFadeIn 0.2s ease;
  cursor: pointer;
  color: rgba(255,255,255,0.88);
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  user-select: none;
  outline: none;
}
.admin-global-save-btn:hover {
  border-color: rgba(93,215,255,0.55);
  box-shadow: 0 8px 32px rgba(0,0,0,0.7), 0 0 16px rgba(93,215,255,0.18);
  background: linear-gradient(135deg, rgba(6,22,40,0.98), rgba(8,30,52,0.99));
}
.admin-global-save-btn:active {
  transform: scale(0.96);
}
.admin-global-save-btn .gsb-icon {
  font-size: 15px;
  line-height: 1;
  color: rgba(93,215,255,0.8);
  flex-shrink: 0;
}
.admin-global-save-btn.gsb-flash {
  border-color: rgba(93,255,180,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(93,255,180,0.25);
  color: #a0ffd6;
}
.admin-global-save-btn.gsb-flash .gsb-icon {
  color: rgba(93,255,180,0.9);
}

/* ===== LAYOUT TWEAKS PANEL ===== */
.adm-layout-panel {
  position: fixed;
  top: 48px;
  right: -300px;
  width: 280px;
  height: calc(100vh - 48px);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(4,18,36,0.98), rgba(2,10,22,0.99));
  border-left: 1px solid rgba(93,215,255,0.15);
  box-shadow: -8px 0 40px rgba(0,0,0,0.6);
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}

.adm-layout-panel.open {
  right: 0;
}

.adm-lp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(93,215,255,0.1);
  flex-shrink: 0;
}

.adm-lp-title {
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(93,215,255,0.85);
}

.adm-lp-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  font-family: sans-serif;
  transition: color 0.2s;
}

.adm-lp-close:hover { color: rgba(93,215,255,0.8); }

/* Breakpoint selector */
.adm-lp-bp-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(93,215,255,0.08);
  flex-shrink: 0;
}

.adm-lp-bp-label {
  font-family: 'Cairo', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.adm-lp-bp-tabs {
  display: flex;
  gap: 3px;
}

.adm-lp-bp-tab {
  flex: 1;
  padding: 5px 2px;
  border-radius: 7px;
  border: 1px solid rgba(93,215,255,0.1);
  background: rgba(93,215,255,0.04);
  color: rgba(255,255,255,0.4);
  font-family: 'Cairo', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-lp-bp-tab.active {
  background: rgba(93,215,255,0.14);
  border-color: rgba(93,215,255,0.4);
  color: #5dd7ff;
}

.adm-lp-bp-tab:hover:not(.active) {
  background: rgba(93,215,255,0.08);
  color: rgba(255,255,255,0.7);
}

/* Scrollable body */
.adm-lp-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(93,215,255,0.2) transparent;
}

.adm-lp-body::-webkit-scrollbar { width: 4px; }
.adm-lp-body::-webkit-scrollbar-thumb { background: rgba(93,215,255,0.2); border-radius: 2px; }

/* Groups */
.adm-lp-group {
  margin-bottom: 4px;
  padding: 8px 14px 4px;
  border-bottom: 1px solid rgba(93,215,255,0.06);
}

.adm-lp-group-title {
  font-family: 'Cairo', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(93,215,255,0.5);
  margin-bottom: 8px;
}

/* Each tweak row */
.adm-lp-row {
  margin-bottom: 10px;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.adm-lp-row.is-active {
  opacity: 1;
}

.adm-lp-row-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.adm-lp-row-label {
  font-family: 'Cairo', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-lp-val {
  font-family: 'Cairo', monospace;
  font-size: 10px;
  font-weight: 700;
  color: rgba(93,215,255,0.8);
  min-width: 36px;
  text-align: right;
}

.adm-lp-toggle {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid rgba(93,215,255,0.2);
  background: rgba(93,215,255,0.06);
  color: rgba(93,215,255,0.6);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
  font-family: sans-serif;
}

.adm-lp-toggle:hover {
  background: rgba(93,215,255,0.15);
  border-color: rgba(93,215,255,0.5);
  color: #5dd7ff;
}

.is-active .adm-lp-toggle {
  background: rgba(93,215,255,0.12);
  border-color: rgba(93,215,255,0.4);
  color: #ff8080;
}

/* Range sliders */
.adm-lp-slider {
  width: 100%;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, rgba(93,215,255,0.6), rgba(93,215,255,0.3));
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.adm-lp-slider.adm-slider-off {
  background: rgba(255,255,255,0.1);
  cursor: default;
}

.adm-lp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #5dd7ff;
  box-shadow: 0 0 6px rgba(93,215,255,0.5);
  cursor: pointer;
}

.adm-slider-off::-webkit-slider-thumb {
  background: rgba(255,255,255,0.2);
  box-shadow: none;
  cursor: default;
}

.adm-lp-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  background: #5dd7ff;
  box-shadow: 0 0 6px rgba(93,215,255,0.5);
  cursor: pointer;
}

/* Footer */
.adm-lp-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(93,215,255,0.08);
  flex-shrink: 0;
}

.adm-lp-reset-bp {
  width: 100%;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,180,50,0.2);
  background: rgba(255,180,50,0.06);
  color: rgba(255,200,80,0.6);
  font-family: 'Cairo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.adm-lp-reset-bp:hover {
  background: rgba(255,180,50,0.14);
  border-color: rgba(255,200,80,0.4);
  color: rgba(255,220,100,0.9);
}

/* ===== ANIMATIONS ===== */
@keyframes adminFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes adminSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
