/* True Platform course gating: tag and license popup (controller/true-platform-gate.php).
   Colours from Katalon DS 2.0: action-100 #ecf4f2, action-200 #cfe6df, action-700 #0c6a4e. */

.KtlTpTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  background: #cfe6df;
  color: #0c6a4e;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 28px;
}
.KtlTpTag svg { flex: 0 0 auto; }

/* Course page: the tag sits on its own row above the title. */
.KtlTpTag-row { display: flex; margin-bottom: 14px; }

/* Course cards: tag rows lay tags out in a wrapping row, True Platform tag first. */
.CourseItem_tags,
.skillate-course-col .tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.KtlTpGate {
  box-sizing: border-box;
  width: 520px;
  max-width: calc(100% - 32px);
  padding: 0;
  border: 1px solid #e1e7e4;
  border-radius: 20px;
  background: #ffffff;
  color: #1f2925;
  font-family: Inter, sans-serif;
}
.KtlTpGate::backdrop { background: rgba(15, 20, 25, 0.4); }

.KtlTpGate_box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}
.KtlTpGate_top { display: flex; justify-content: space-between; align-items: flex-start; }
.KtlTpGate_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ecf4f2;
  color: #0c6a4e;
}
.KtlTpGate_close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3c4642;
  cursor: pointer;
}
.KtlTpGate_close:hover { background: #ecf4f2; }
.KtlTpGate_close:focus-visible { outline: 2px solid #0c6a4e; outline-offset: 2px; }

.KtlTpGate .KtlTpGate_title {
  margin: 0;
  font-family: "Inter Tight", Inter, sans-serif !important;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  color: #0c1411;
}
.KtlTpGate .KtlTpGate_text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #3c4642;
}
.KtlTpGate_options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #1f2925;
}
.KtlTpGate_options ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.KtlTpGate_options li { margin: 0; }

@media (max-width: 576px) {
  .KtlTpGate_box { padding: 24px; }
}
