/* ===== Overlay ===== */
#po-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ===== Popup ===== */
#po-popup {
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animation */
@keyframes poFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.po-popup-inner {
  position: relative;
  animation: poFadeUp 0.5s ease-out;
}

/* Bouton fermer */
#po-close {
  all: unset;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 100;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;

  -webkit-tap-highlight-color: transparent;
}

/* Header */
.po-header {
  background: #2C2B3F;
  padding: 20px 10px 10px 10px;
  border-radius: 14px 14px 0 0;
  margin: 3px 3px 0 3px
}

.po-header h2 {
  margin: 0;
  font-size: 22px;
  color: #FDCB0E;
  text-transform: uppercase;
  line-height: 24px;
  font-weight: bold;
}

.po-header p {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  font-weight: bold;
}

/* Corps */
.po-body {
  padding: 20px 20px 10px 20px;
}

.po-body h3 {
  font-weight: bold;
  margin: 0;
}

.po-hours {
  margin-bottom: 10px;
  margin: 0;
}

/* Boutons */
.po-btn {
  display: block;
  margin: 10px 0;
  padding: 12px 25px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Couleurs */
.po-btn.ecole   { background: #ffd200; color:#fff; }
.po-btn.ecole:hover { background: #ffd200; color:#fff; }
.po-btn.college { background: #e30613; color:#fff; }
.po-btn.college:hover { background: #e30613; color:#fff; }
.po-btn.lycee   { background: #009fe3; color:#fff; }
.po-btn.lycee:hover { background: #009fe3; color:#fff; }
.po-btn.ufa     { background: #575a8a; color:#fff; }
.po-btn.ufa:hover { background: #575a8a; color:#fff; }
