/**
 * 2008 - 2026 (c) Prestaboost
 *
 * MODULE PrestaBoost - Theme PRP
 * Warning popup for healthcare professionals
 *
 * @author    Prestaboost
 * @copyright Copyright (c) permanent, Prestaboost
 * @license   Commercial
 */

/* =========================================
   OVERLAY
   ========================================= */

.prestaboost-content.prestaboost-prp {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.55);
  opacity: 0;
  display: none;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  align-items: center;
  justify-content: center;
}

.prestaboost-content.prestaboost-prp:target {
  opacity: 1;
  pointer-events: auto;
  display: flex !important;
}

/* =========================================
   POPUP WRAPPER
   ========================================= */

.prp-popup {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.30);
  width: 320px;
  max-width: 92vw;
  overflow: hidden;
  text-align: center;
  margin: auto;
}

/* =========================================
   ORANGE HEADER
   ========================================= */

.prp-header {
  background-color: #f5a623;
  padding: 42px 20px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   WARNING ICON
   ========================================= */

.prp-icon {
  width: 80px;
  height: 80px;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* =========================================
   BODY
   ========================================= */

.prp-body {
  padding: 28px 28px 30px;
  background: #ffffff;
}

/* =========================================
   TITLE
   ========================================= */

.prp-title {
  color: #f5a623;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

/* =========================================
   TEXT
   ========================================= */

.prp-text {
  color: #555555;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 26px 0;
}

/* =========================================
   CLOSE BUTTON
   ========================================= */

.prp-btn {
  display: inline-block;
  background-color: #f5a623;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 11px 44px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, box-shadow 0.2s ease;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(245, 166, 35, 0.40);
}

.prp-btn:hover,
.prp-btn:focus {
  background-color: #e09414;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.55);
  outline: none;
}

.prp-btn:active {
  background-color: #c8820f;
  box-shadow: none;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 400px) {
  .prp-popup {
    width: 94vw;
    border-radius: 10px;
  }

  .prp-header {
    padding: 32px 16px 28px;
  }

  .prp-icon {
    width: 64px;
    height: 64px;
  }

  .prp-body {
    padding: 22px 20px 24px;
  }

  .prp-title {
    font-size: 1rem;
  }

  .prp-text {
    font-size: 0.93rem;
  }
}
