/* SEBI Project Jagrook — homepage modal (before Risk Disclosure) */
.jagrook-pop-up {
  width: 100%;
  position: fixed;
  z-index: 10020;
  top: 0;
  left: 0;
  display: none;
}
.jagrook-pop-up__bg {
  background-color: #000;
  opacity: 0.65;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 10020;
  top: 0;
  left: 0;
}
.jagrook-pop-up__close {
  font-weight: 900;
  z-index: 10030;
  background-color: #fff;
  color: #001e38;
  border: 0;
  font-size: 24px;
  line-height: 1;
  padding: 6px 14px;
  top: 10px;
  right: 10px;
  position: fixed;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.jagrook-pop-up__close:focus,
.jagrook-pop-up__close:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
.jagrook-pop-up__panel {
  position: fixed;
  z-index: 10025;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 94vw);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 0;
}
.jagrook-pop-up__header {
  background: linear-gradient(135deg, #001e38 0%, #013c70 60%, #0099e8 100%);
  color: #fff;
  padding: 18px 20px 16px;
}
.jagrook-pop-up__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffe9a8;
}
.jagrook-pop-up__title {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  font-weight: 700;
}
.jagrook-pop-up__title-hi {
  margin: 6px 0 0;
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #e8f4ff;
}
.jagrook-pop-up__body {
  padding: 16px 18px 18px;
}
.jagrook-pop-up__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.jagrook-pop-up__item {
  border: 1px solid #d7e0ea;
  border-left: 4px solid #c9a227;
  border-radius: 4px;
  padding: 12px 14px;
  background: #f7f9fc;
}
.jagrook-pop-up__item-en {
  display: block;
  font-weight: 700;
  color: #001e38;
  font-size: 0.98rem;
}
.jagrook-pop-up__item-hi {
  display: block;
  margin-top: 4px;
  color: #35506b;
  font-size: 0.92rem;
}
.jagrook-pop-up__footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
}
.jagrook-pop-up__note {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5b6b7c;
}
.jagrook-pop-up__link {
  display: inline-block;
  background: #013c70;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 4px;
}
.jagrook-pop-up__link:hover,
.jagrook-pop-up__link:focus {
  background: #0099e8;
  color: #fff !important;
}
.jagrook-pop-up__link:focus,
.jagrook-pop-up__link:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
body.jagrook-modal-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .jagrook-pop-up__panel {
    width: 96vw;
    max-height: 88vh;
  }
  .jagrook-pop-up__header {
    padding: 14px 14px 12px;
  }
  .jagrook-pop-up__body {
    padding: 12px;
  }
}
