medicines-requests {
  display: block;
  contain: layout paint style;
}

medicines-requests,
medicines-requests * {
  box-sizing: border-box;
}

/* Outer wrapper – μόνο padding, ΧΩΡΙΣ background */
medicines-requests .pn-mr-wrap {
  padding: clamp(40px, 7vw, 86px) 0;
}

/* Αν θες να ακολουθεί πλήρως το πλάτος του Elementor container */
medicines-requests .pn-mr-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 30px);
}

/* Inner panel με πιο ομαλό “σβήσιμο” */

medicines-requests .pn-mr-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(148, 163, 184, 0.10);
  padding: clamp(28px, 5vw, 42px) clamp(22px, 5vw, 38px) clamp(34px, 5vw, 44px);
  position: relative;
  overflow: hidden;
}

medicines-requests .pn-mr-panel::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 55%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.08), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

medicines-requests .pn-mr-panel > * {
  position: relative;
  z-index: 1;
}

/* Intro */

medicines-requests .pn-mr-intro {
  text-align: center;
  margin: 0 0 28px;
}

medicines-requests .pn-mr-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.8vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

medicines-requests .pn-mr-intro-text {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards grid – πιο "ανοιχτό" */

medicines-requests .pn-mr-cards {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

@media (max-width: 1040px) {
  medicines-requests .pn-mr-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  medicines-requests .pn-mr-cards {
    grid-template-columns: 1fr;
  }
}

/* Cards */

medicines-requests .pn-mr-card {
  position: relative;
  border-radius: 22px;
  padding: clamp(22px, 3.2vw, 28px);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.38), transparent 60%) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background-color 0.18s ease-out;
}

medicines-requests .pn-mr-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 16px 22px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(15, 23, 42, 0.22), transparent 70%);
  opacity: 0.3;
  filter: blur(10px);
  pointer-events: none;
}

medicines-requests .pn-mr-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 44px rgba(15, 23, 42, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
  border-color: rgba(59, 130, 246, 0.6);
}

/* Card title με δικό του background */

medicines-requests .pn-mr-card-title {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(90deg, #e0ecff 0%, #eef2ff 50%, #e0f7ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 0 0 1px rgba(148, 163, 184, 0.35);
}

/* Bullets μέσα σε κάθε card */

medicines-requests .pn-mr-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

medicines-requests .pn-mr-points li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 10px;
  color: #1f2933;
  font-size: 0.97rem;
  line-height: 1.7;
}

medicines-requests .pn-mr-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #2563eb 40%, #1d4ed8 100%);
  transform: translateY(-50%);
}

/* CTA */

medicines-requests .pn-mr-cta {
  margin-top: 34px;
  display: grid;
  place-items: center;
}

medicines-requests .pn-mr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #ffffff !important;
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    filter 0.16s ease-out;
}

medicines-requests .pn-mr-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(37, 99, 235, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.46) inset;
  filter: brightness(1.02);
}

medicines-requests .pn-mr-btn:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 6px rgba(37, 99, 235, 0.85);
}

/* Responsive tweaks */

@media (max-width: 720px) {
  medicines-requests .pn-mr-panel {
    border-radius: 18px;
    padding: 22px 16px 28px;
  }

  medicines-requests .pn-mr-intro {
    margin-bottom: 22px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  medicines-requests .pn-mr-card,
  medicines-requests .pn-mr-btn {
    transition: none !important;
  }
}