.mmva-widget,
.mmva-widget * {
  box-sizing: border-box;
}

.mmva-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: Inter, Arial, sans-serif;
}

.mmva-panel {
  width: min(360px, calc(100vw - 32px));
  background: rgba(10, 15, 35, 0.92);
  border: 1px solid rgba(120, 160, 255, 0.25);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  color: #ffffff;
  overflow: hidden;
  display: none;
}

.mmva-widget.mmva-open .mmva-panel {
  display: block;
}

.mmva-header {
  padding: 16px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.35), rgba(14, 165, 233, 0.22));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mmva-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.mmva-subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.mmva-close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
}

.mmva-body {
  padding: 16px;
}

.mmva-status {
  min-height: 42px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.mmva-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.mmva-btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
}

.mmva-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
}

.mmva-input-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mmva-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  outline: none;
}

.mmva-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.mmva-small {
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.mmva-floating {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, #38bdf8, #4f46e5 58%, #111827);
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.35);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.mmva-widget.mmva-open .mmva-floating {
  display: none;
}

@media (max-width: 480px) {
  .mmva-widget {
    right: 12px;
    bottom: 12px;
  }

  .mmva-actions {
    grid-template-columns: 1fr;
  }
}
