.vp-card {
  position: relative;
  top: -200px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

.vp-video-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

/* Main Video */
.vp-main-video {
  position: relative;
  flex: 2;
  min-width: 300px;
}

.vp-main-video-player {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.vp-overlay {
  position: absolute;
  bottom: 20px;
  background: rgba(12, 12, 12, 0.432);
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  color: #fff !important;
}

.vp-category {
  background-color: crimson;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.vp-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.vp-meta span {
  font-size: 13px;
  color: #555;
  margin-right: 12px;
}

/* Playlist */
.vp-playlist {
  flex: 1;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 5px;
}

/* Playlist item */
.vp-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.vp-item:hover {
  background-color: #eaeaea;
}

.vp-item.active {
  border-left: 3px solid crimson;
  background-color: #e0e0e0;
}

.vp-item img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.vp-info h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.vp-meta span {
  font-size: 12px;
  margin-right: 10px;
  color: #777;
}

.vp-meta1 span {
  font-size: 12px;
  margin-right: 10px;
  color: #fff;
}

/* Scrollbar */
.vp-playlist::-webkit-scrollbar {
  width: 6px;
}
.vp-playlist::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.vp-playlist::-webkit-scrollbar-thumb {
  background-color: crimson;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .vp-video-container {
    flex-direction: column;
  }

  .vp-playlist {
    max-height: 300px;
  }
}

@media (max-width: 600px) {
  .vp-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vp-item img {
    width: 100%;
    height: auto;
  }

  .vp-info h4 {
    font-size: 13px;
  }
}

.vp-video-wrapper {
  position: relative;
  width: 100%;
}

.vp-main-image-preview {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}


.vp-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  color: #fff;
  background: crimson;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  z-index: 2;
}

.vp-play-button span{
 margin-left: 5px;
}

.vp-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.vp-playlist {
  height: 600px; /* Fixed height */
  overflow-y: auto; /* Vertical scroll */
  padding-right: 10px; /* Optional, spacing from content */
}

.vp-playlist * {
  direction: ltr; /* Keep child content in normal direction */
  text-align: left;
}


.vp-main-video {
  width: 100%;
  max-width: 360px; /* optional: limit size */
  margin: 0 auto;
}

.vp-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 16:9 = 56.25%, 9:16 = 177.78% */
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.vp-main-image-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: crimson;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

/*////////////////////////quiz/////////////////////////////////////////////////////*/
:root {
  --theme-blue: #0d6efd;
  --theme-red:  #dc3545;
}

body { 
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial; 
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}

/* On-screen question cards */
.question-card {
  border-left: 6px solid var(--theme-blue);
  background: #fff;
  padding: 1rem;
  border-radius: .5rem;
  margin-bottom: 1rem;
}

.yesno-group {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Buttons */
.btn-primary { background-color: var(--theme-blue); border-color: var(--theme-blue); }
.btn-outline-danger { border-color: var(--theme-red); color: var(--theme-red); }

/* Summary on-screen */
.page-card {
  border: 1px dashed rgba(13,110,253,0.15);
  padding: .9rem;
  border-radius: .5rem;
  background: #fbfdff;
}

.summary-answer {
  font-size: 0.95rem;
}

/* =================== PRINT STYLES =================== */
@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11px;
    line-height: 1.4;
  }

  /* Hide all UI elements */
  nav, footer, #quiz-container, .btn, #modify-btn, #save-mods-btn {
    display: none !important;
  }

  #summary-container {
    display: block !important;
    padding: 0;
    margin: 0;
    border: none !important;

  }

  #pages-output .row {
    display: flex;
    justify-content: space-between;
    border: none;
  }

  #pages-output .col-4, #pages-output .col-8 {
    display: inline-block; /* Makes them flow next to each other */
    width: auto; /* Allow the content to determine width */
    padding: 0;
    margin: 0;
    color: #000;
    font-size: 9px;
}

#pages-output .col-4 {
    font-weight: bold; /* Bold the question label */
}

#pages-output .col-8 {
    color: #222;
    text-align: left;
    flex: 1; /* Allows it to take up the rest of the space */
    word-wrap: break-word;
}

  .page-output-card {
    page-break-inside: avoid;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 6px;
    background: transparent !important;
  }

  /* Title for each page */
  .page-output-card .fw-bold {
    font-size: 11px;
    margin-bottom: 6px;
  }

  /* Remove all extra spacing for a clean layout */
  #pages-output .row + .row {
    margin-top: 2px;
  }
}
 
#paymentModal .modal-content {
  border-radius: 20px;
  overflow: hidden;
}

#paymentModal .modal-header {
  background: #0056b3; /* same as VisaRichie blue */
  color: white;
}

#paymentModal .form-control {
  background: white;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

#paymentModal .form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.2);
}

#paymentModal .form-check-input:checked {
  background-color: #0056b3;
  border-color: #0056b3;
}

#paypal-button-container {
  margin-top: 10px;
}

.modal-backdrop.show {
  opacity: 0.75 !important;
  background-color: rgba(0,0,0,0.6);
}
