/* Match Card widget — scoped to Elementor widget */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@800;900&display=swap');

.elementor-widget-matchcard .mt-matchcard {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 2rem;
  box-sizing: border-box;
}

.elementor-widget-matchcard .mt-card-stack-wrapper {
  position: relative;
  width: 320px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-widget-matchcard .mt-match-card {
  position: absolute;
  width: 300px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
  will-change: filter, transform, opacity;
  background: #f3f4f6;
}

.elementor-widget-matchcard .mt-match-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.elementor-widget-matchcard .mt-match-card .mt-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 2.5px solid #f5a623;
  border-radius: 24px;
  font-family: system-ui, sans-serif;
}

.elementor-widget-matchcard .mt-match-card .mt-placeholder-icon {
  font-size: 2.5rem;
}

.elementor-widget-matchcard .mt-match-card .mt-placeholder-text {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.5;
}

@keyframes mt-matchcard-bump-in {
  0% {
    transform: scale(0.86);
    opacity: 0;
    filter: blur(4px);
  }
  65% {
    transform: scale(1.04);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes mt-matchcard-blur-out {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
    filter: blur(7px);
  }
}

.elementor-widget-matchcard .mt-swipe-card {
  position: absolute;
  width: 300px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transform: rotate(-3deg) translateY(-18px);
  will-change: transform, opacity;
  box-shadow:
    0 8px 40px rgba(27, 42, 94, 0.18),
    0 2px 8px rgba(27, 42, 94, 0.08);
  background: #f3f4f6;
}

.elementor-widget-matchcard .mt-swipe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.elementor-widget-matchcard .mt-vote-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.elementor-widget-matchcard .mt-vote-overlay.mt-like {
  background: rgba(34, 197, 94, 0.22);
}

.elementor-widget-matchcard .mt-vote-overlay.mt-nope {
  background: rgba(239, 68, 68, 0.22);
}

.elementor-widget-matchcard .mt-vote-stamp {
  font-family: Nunito, 'Arial Black', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 4px solid;
  padding: 0.3rem 0.9rem;
  border-radius: 10px;
}

.elementor-widget-matchcard .mt-vote-overlay.mt-like .mt-vote-stamp {
  color: #22c55e;
  border-color: #22c55e;
  transform: rotate(-12deg);
}

.elementor-widget-matchcard .mt-vote-overlay.mt-nope .mt-vote-stamp {
  color: #ef4444;
  border-color: #ef4444;
  transform: rotate(12deg);
}

.elementor-widget-matchcard .mt-dot-row {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 15;
}

.elementor-widget-matchcard .mt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(27, 42, 94, 0.18);
  transition: background 0.3s;
}

.elementor-widget-matchcard .mt-dot.mt-active {
  background: #f5a623;
}
