/* Gatekeeper Operatori Sanitari - Eurocolumbus */
.ec-hcp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 15, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ec-hcp-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.ec-hcp-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  color: #1d1d1b;
  border-radius: 20px;
  padding: 36px 34px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
  box-sizing: border-box;
}

.ec-hcp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3b73;
  background: rgba(255, 59, 115, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ec-hcp-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: #1d1d1b;
}

.ec-hcp-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #3f3f3c;
}

.ec-hcp-note {
  margin: 0 0 26px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6e6e6a;
  padding-top: 12px;
  border-top: 1px solid #ecece9;
}

.ec-hcp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ec-hcp-btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ec-hcp-btn--confirm {
  background: linear-gradient(90deg, #ff3b73 0%, #fdc348 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 59, 115, 0.28);
}

.ec-hcp-btn--confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 59, 115, 0.36);
}

.ec-hcp-btn--decline {
  background: #f2f2ef;
  color: #1d1d1b;
}

.ec-hcp-btn--decline:hover {
  background: #e5e5e0;
}

body.ec-hcp-locked {
  overflow: hidden !important;
}

@media (max-width: 520px) {
  .ec-hcp-modal {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }
  .ec-hcp-title {
    font-size: 20px;
  }
  .ec-hcp-actions {
    flex-direction: column;
  }
  .ec-hcp-btn {
    flex: none;
    width: 100%;
  }
}
