.e4s-quickfind-enhanced {
  position: relative;
}

.e4s-quickfind-enhanced input,
.e4s-quickfind-enhanced .quick-find-input,
.e4s-quickfind-enhanced [contenteditable="true"] {
  box-shadow:
    0 0 0 1px rgba(255, 186, 73, 0.18),
    0 0 18px rgba(255, 84, 30, 0.10),
    inset 0 0 0 1px rgba(255,255,255,0.02) !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.e4s-quickfind-enhanced input:focus,
.e4s-quickfind-enhanced .quick-find-input:focus,
.e4s-quickfind-enhanced [contenteditable="true"]:focus {
  box-shadow:
    0 0 0 1px rgba(255, 120, 48, 0.45),
    0 0 24px rgba(255, 76, 29, 0.20),
    0 0 34px rgba(255, 183, 76, 0.10) !important;
  border-color: rgba(255, 120, 48, 0.55) !important;
}

.e4s-quickfind-enhanced::after {
  content: "LIVE";
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff4e9;
  background:
    linear-gradient(135deg, rgba(255,83,32,.96), rgba(255,156,52,.96));
  box-shadow:
    0 0 12px rgba(255, 94, 43, 0.40),
    0 0 24px rgba(255, 150, 48, 0.16);
  pointer-events: none;
}

.e4s-qf-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(35, 8, 18, 0.97);
  border: 1px solid rgba(255, 121, 61, 0.22);
  border-radius: 18px;
  box-shadow:
    0 12px 40px rgba(8, 8, 16, .30),
    0 0 25px rgba(255, 92, 35, .14);
  padding: 8px;
  backdrop-filter: blur(10px);
}

.e4s-qf-panel[hidden] {
  display: none !important;
}

.e4s-qf-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.e4s-qf-result:hover,
.e4s-qf-result.is-active {
  background: linear-gradient(135deg, rgba(255,56,56,.16), rgba(255,140,54,.12));
  box-shadow: inset 0 0 0 1px rgba(255, 119, 60, .22);
}

.e4s-qf-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffe5d2;
  background: linear-gradient(135deg, rgba(255,59,59,.28), rgba(255,140,54,.18));
  box-shadow: 0 0 18px rgba(255, 88, 38, .15);
  flex: 0 0 34px;
}

.e4s-qf-body {
  min-width: 0;
  flex: 1 1 auto;
}

.e4s-qf-title {
  display: block;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 3px;
  color: #fff2ea;
}

.e4s-qf-meta {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 233, 220, 0.74);
  word-break: break-word;
}

.e4s-qf-empty {
  padding: 14px 14px;
  border-radius: 14px;
  color: rgba(255, 235, 227, 0.85);
  background: rgba(255,255,255,0.02);
  font-size: 13px;
}

.e4s-attention-card {
  position: relative !important;
  overflow: hidden !important;
}

.e4s-attention-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.e4s-attention-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  color: #fff4ed;
  background: linear-gradient(135deg, rgba(255,63,32,.96), rgba(255,145,34,.96));
  box-shadow:
    0 0 12px rgba(255, 84, 39, 0.35),
    0 0 30px rgba(255, 138, 39, 0.18);
}

.e4s-attention-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff5ee;
  box-shadow:
    0 0 0 0 rgba(255,255,255,0.75),
    0 0 14px rgba(255,255,255,0.95);
  animation: e4sPulseAttention 1.15s infinite;
}

.e4s-attention-danger {
  box-shadow:
    0 0 0 1px rgba(255, 76, 45, .18),
    0 0 22px rgba(255, 84, 36, .14),
    0 0 48px rgba(255, 143, 38, .12) !important;
}

.e4s-attention-danger::before {
  background:
    linear-gradient(135deg, rgba(255, 66, 31, 0.10), rgba(255, 151, 42, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 99, 44, .24);
}

.e4s-attention-value {
  color: #d21818 !important;
  text-shadow:
    0 0 10px rgba(255, 84, 36, .18),
    0 0 16px rgba(255, 151, 42, .08);
  font-weight: 900 !important;
}

.e4s-attention-label {
  color: #8a0915 !important;
  font-weight: 900 !important;
}

.e4s-attention-subtext {
  color: #8e2020 !important;
  font-weight: 700 !important;
}

@keyframes e4sPulseAttention {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255,255,255,0.75),
      0 0 10px rgba(255,255,255,0.9);
  }
  70% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 8px rgba(255,255,255,0.0),
      0 0 18px rgba(255,255,255,0.95);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255,255,255,0.0),
      0 0 12px rgba(255,255,255,0.85);
  }
}
