.uvp-overlay {
  display: none;      
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: "Quicksand", sans-serif;
}

.uvp-box {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  background: #161519;
  border-radius: 20px;
  padding: 2rem;
  box-sizing: border-box;
}

/* Chhota modal (sirf form wale popups ke liye) */
.uvp-box.small { max-width: 440px; }

.uvp-box * { box-sizing: border-box; }

.uvp-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #555;
  background: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1rem;
}

.uvp-title {
  font-family: "Zilla Slab", serif;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 1.2rem;
}

.uvp-step { display: none; }
.uvp-step.active { display: block; }

.uvp-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 0.5rem;
}

.uvp-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: #fff;
  background: #0d0d10;
  border: 1px solid #3a3a3f;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  outline: none;
  margin-bottom: 0.3rem;
}

.uvp-input:focus { border-color: #f4693c; }
.uvp-input.error { border-color: #ff5a52; }

.uvp-error-text {
  display: none;
  color: #ff5a52;
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.uvp-error-text.show { display: block; }

.uvp-field { margin-bottom: 0.9rem; }

.uvp-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  margin: 1.2rem 0;
}

@media (max-width: 640px) {
  .uvp-body { grid-template-columns: 1fr; }
}

.uvp-course-card {
  background: #0d0d10;
  border: 1px solid #2c2c31;
  border-radius: 14px;
  padding: 0.8rem;
}

/* Image ke upar name+tags overlay ke liye wrapper */
.uvp-course-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.uvp-course-img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  background: linear-gradient(135deg, #2b3a67, #3d2b3f);
  display: block;
}

/* Image ke neeche wala dark gradient taaki text padha ja sake */
.uvp-course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 12, 0.85) 0%, transparent 55%);
}

/* Name + tags — image ke upar, neeche ki taraf */
.uvp-course-overlay {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
}

.uvp-course-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.45rem;
}

/* Colored tags */
.uvp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.uvp-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.uvp-tag.blue   { background: #2477c9; }
.uvp-tag.green  { background: #2e9e4f; }
.uvp-tag.orange { background: #e0862a; }

.uvp-course-desc {
  font-size: 0.83rem;
  color: #bbb;
  line-height: 1.5;
  margin: 0;
}

.uvp-btn {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #f4693c;
  border: none;
  border-radius: 999px;
  padding: 1rem;
  cursor: pointer;
}

.uvp-btn:hover { background: #ff7a4d; }
.uvp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.uvp-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  color: #fff;
}

/* Orange circle + check icon (ring ke saath) */
.uvp-success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f4693c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  outline: 10px solid #241a16;   /* icon ke chaaro taraf halka dark ring */
}

.uvp-success-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.uvp-success h3 {
  font-family: "Zilla Slab", serif;
  font-size: 1.5rem;
  margin: 0 0 0.7rem;
}

.uvp-success p {
  color: #bbb;
  margin: 0 auto 1.6rem;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 40ch;
}

/* "in Collaboration with" + partner logos (Advanced popup) */
.uvp-collab-label {
  font-size: 0.85rem;
  color: #bbb;
  margin: -0.5rem 0 0.7rem;
}

.uvp-collab-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.uvp-collab-logos .uvp-logo {
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

/* Logo image lagane par size control */
.uvp-collab-logos .uvp-logo img {
  height: 22px;
  display: block;
}

/* Image na ho tab text fallback */
.uvp-collab-logos .uvp-logo span {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1c1c22;
}