/* ═══════════════════════════════════════════════════════════════
   PYQ – Previous Year Questions  |  pyq.css
   Covers: PYQList, PYQExam, question-layout-client,
           questions-client, question-answers-client
═══════════════════════════════════════════════════════════════ */

/* ── 1. Layout containers ─────────────────────────────────────── */
.pyq-page-bg {
  background: #eaf0ff;
  min-height: calc(100vh - 80px);
  padding: 28px 0;
}

.common-space {
  padding: 1.5rem 0;
}

.paper-tabs {
  padding-top: 1rem;
  overflow: hidden;
}

/* ── 2. Sidebar column ────────────────────────────────────────── */
.border-set-right {
  border-right: 1px solid #e8edf5;
}

.mechanic-head {
     color: #083E9D;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: .5rem 0;
    border-bottom: 1px solid #083e9d;
    margin-bottom: 3rem;
    display: flex;
}

.mechanic-head h3 {
  font-size: 15px;
  color: #1a3c8f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mechanic-head h3 img{
    height: 1.4rem;
    margin-right: .5rem;
}

.outer-tab-scroll {
  height: calc(100vh - 10rem);
    overflow-x: auto;
}

.outer-tab-scroll::-webkit-scrollbar {
  width: 4px;
}

.outer-tab-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.outer-tab-scroll::-webkit-scrollbar-thumb {
  background: #c8d5f0;
  border-radius: 4px;
}

/* Mobile sidebar overlay */
/* .mobile-side-menu-open {
  display: none;
}

.mobile-side-menu-open.show {
  display: block;
} */

/* ── 3. PYQExam sidebar styles ────────────────────────────────── */
.pyq-sidebar-title {
  font-size: 16px;
  color: #1a3c8f;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 0;
}

.pyq-unit-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
    margin: 0;
    color: #1a3c8f;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.pyq-chapter-link {
  /* cursor: pointer;
  font-size: 13px !important;
  padding: 8px 10px !important;
  border-radius: 8px;
  display: flex !important;
  align-items: center !important;
  gap: 8px; */
  padding: .5rem .75rem;
    color: #696969;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: .75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* .pyq-chapter-img {
  opacity: 0.7;
  flex-shrink: 0;
}

.pyq-chapter-img--active {
  opacity: 1;
} */
.pyq-chapter-link:hover,
.pyq-chapter-link:focus,
.pyq-chapter-link.active{
      background: var(--Primary-Color, #083E9D) !important;
    color: #fff !important;
}
.pyq-sidebar-spinner {
  text-align: center;
  padding: 24px 0;
}

/* ── 4. Topic list ────────────────────────────────────────────── */
.pyq-topics-wrap {
  padding-left: 16px;
  margin-bottom: 4px;
}

.pyq-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
padding: .5rem;
  cursor: pointer;
  background: transparent;
  transition: background 0.15s;
    border-radius: 0;
    border-bottom: 1px solid #d7def0;
}

.pyq-topic-item--active {
  background: #e8f0fe;
}

.pyq-topic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid #222;
  margin-top: 9px;
  flex-shrink: 0;
}

.pyq-topic-label {
  
    color: #222;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    
    margin: 0;
}

.pyq-topic-label--active {
  color: #1a3c8f;
  font-weight: 600;
}

/* ── 5. Right-content search bar ──────────────────────────────── */
.pyq-search-bar {
  margin-bottom: 16px;
}

.pyq-search-bar__inner {
  background: #f5f7ff;
  border-radius: 10px;
  border: 1px solid #e0e6f0;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 10px;
}

.pyq-search-bar__placeholder {
  color: #bbb;
  font-size: 14px;
}

/* Search dropdown (question-layout-client) */
.pyq-search-dropdown-wrap {
  position: relative;
}

.pyq-search-dropdown {
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pyq-search-dropdown-item {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
}

.pyq-search-dropdown-item:hover {
  background: #f1f1f1;
}

/* ── 6. Subject tabs ──────────────────────────────────────────── */
.pyq-subject-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pyq-subject-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1a3c8f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pyq-subject-tab:hover {
  opacity: 0.85;
}

.pyq-subject-tab__img {
  filter: brightness(10);
  flex-shrink: 0;
}

/* ── 7. Practice banner ───────────────────────────────────────── */
.pyq-practice-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b5fc0 60%, #4f7ef2 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  flex-wrap: wrap;
}

.pyq-practice-banner__content {
  flex: 1;
  min-width: 0;
}

.pyq-practice-banner__title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 20px;
  line-height: 1.4;
}

.pyq-practice-banner__img-wrap {
  flex-shrink: 0;
}

.pyq-practice-banner__img {
  width: 160px;
  object-fit: contain;
}

/* ── 8. Type chips (inside banner) ───────────────────────────── */
.pyq-type-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pyq-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}

.pyq-type-chip--active {
  background: rgba(255, 255, 255, 0.3);
}

.pyq-type-badge {
  background: #fff;
  color: #1a3c8f;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.pyq-type-badge--attempted {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
}

.pyq-start-btn {
  background: #fff;
  color: #1a3c8f;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pyq-start-btn:hover {
  opacity: 0.9;
}

/* ── 9. Filter tags (practice mode) ──────────────────────────── */
.pyq-filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pyq-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: #1a3c8f;
  border: 1px solid #1a3c8f;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pyq-filter-tag--active {
  background: #1a3c8f;
  color: #fff;
}

.pyq-filter-tag__count {
  background: #1a3c8f;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.pyq-filter-tag--active .pyq-filter-tag__count {
  background: #fff;
  color: #1a3c8f;
}

/* ── 10. Section title ────────────────────────────────────────── */
.pyq-section-title {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 18px;
}

.pyq-section-title--browse {
  margin-bottom: 4px;
}

/* ── 11. Spinner wrappers ─────────────────────────────────────── */
.pyq-spinner-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 0;
}

.pyq-spinner-center--lg {
  padding: 80px 0;
}

.pyq-spinner-center--full {
  height: 100vh;
  padding: 0;
}

/* ── 12. Pagination ───────────────────────────────────────────── */
.pyq-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.pyq-pagination--inner {
  margin: 20px 0 32px;
}

.pyq-page-btn {
  padding: 8px 22px;
  border: none;
  border-radius: 7px;
  background: #1a3c8f;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.pyq-page-btn:disabled {
  background: #ddd;
  cursor: not-allowed;
}

.pyq-page-info {
  color: #555;
  font-size: 14px;
}

/* ── 13. No-data ──────────────────────────────────────────────── */
.pyq-no-data {
  text-align: center;
  padding: 60px 0;
}

.pyq-no-data__img {
  display: block;
  margin: 0 auto 16px;
  opacity: 0.6;
  max-width: 300px;
}

.pyq-no-data__text {
  color: #aaa;
  font-size: 15px;
  margin: 0;
}

/* ── 14. E-library card ───────────────────────────────────────── */
.pyq-elibrary-card,
.elibrary-redirect-box {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
  border: 1px solid #e8edf5;
  transition: box-shadow 0.2s;
}

.pyq-elibrary-card:hover,
.elibrary-redirect-box:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

.pyq-elibrary-card__img {
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}

.pyq-elibrary-card__desc,
.elibrary-redirect-box p {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pyq-elibrary-card__btn {
  width: 100%;
}

/* ── 15. PYQList – filter row ─────────────────────────────────── */
.pyq-dropdown-toggle {
  background: #fff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  color: #333 !important;
  font-weight: 500;
  font-size: 14px;
  box-shadow: none !important;
}

.pyq-dropdown-toggle::after {
  display: none !important;
}

.pyq-dropdown-toggle-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pyq-dropdown-clear {
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #999;
  background: none;
  border: none;
  padding: 0;
}

.pyq-dropdown-chevron {
  font-size: 10px;
  color: #666;
}

.pyq-dropdown-menu {
  z-index: 10;
  width: 100%;
  border-radius: 8px !important;
  border: 1px solid #eee !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.pyq-dropdown-item {
  font-size: 14px;
  padding: 10px 16px !important;
}

.pyq-search-group {
  background: #fff;
  border-radius: 8px !important;
  border: 1px solid #dee2e6 !important;
  overflow: hidden;
  flex-wrap: nowrap;
}

.pyq-search-group .input-group-text {
  background: #fff !important;
  border: none !important;
  padding-right: 4px !important;
}

.pyq-search-group .form-control {
  border: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  padding: 10px 4px !important;
}

/* ── 16. PYQList – exam card ──────────────────────────────────── */
.pyq-exam-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 20px 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pyq-exam-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  flex: 1;
}

.pyq-exam-card__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.pyq-exam-card__name {
      color: #1e50a7;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.pyq-exam-card__desc {
 color: #000;
    font-size: .85rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.pyq-view-btn {
 border-radius: 6px;
    background: transparent;
    padding: .65rem 1.25rem;
    color: #083e9d;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
    border: 1px solid #083e9d;
    box-shadow: none;
    cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pyq-view-btn:hover {
  background: #1a3c8f;
  color: #fff;
}

/* ── 17. QuestionPreviewBlock ─────────────────────────────────── */
.pyq-questions-list {
  padding: 0;
  list-style: none;
  margin: 0;
}

.pyq-preview-item {
  cursor: pointer;
  list-style: none;
}

.pyq-preview-item:last-child {
  border-bottom: none;
}

.pyq-preview-flex {
  display: flex;
  gap: 12px;
  align-items: flex-start;
      list-style: none;
    padding: 1rem;
    border-radius: 12px;
    background: #E5ECF8;
    margin-bottom: 1.5rem;
}

.pyq-preview-num {
 font-size: .8rem;
    font-style: normal;
    font-weight: 600;
    background: #083e9d;
    color: #fff;
    display: flex;
    height: 1.5rem;
    min-width: 1.5rem;
    margin-right: .5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pyq-preview-body {
  flex: 1;
  min-width: 0;
  color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: .75rem;
}

.pyq-preview-img {
  margin-top: 6px;
  max-width: 100%;
}

.pyq-source-badge {
  display: inline-block;
     background-color: #f0fff0 !important;
    border-radius: .3rem;
    font-size: .8rem !important;
    padding: .1rem .5rem;
    color: #16a34a !important;
    font-weight: 400;
    margin-top: .5rem;
}

/* ── 18. QuestionAnswerBlock ──────────────────────────────────── */

/* Used in both PYQExam and question-answers-client */
.pyq-question-box {
      border-radius: 12px;
    background: linear-gradient(99deg, #FFF 9.77%, rgba(255, 255, 255, .13) 36.23%, rgba(61, 171, 93, .05) 57.06%, rgba(255, 255, 255, .1) 82.35%, #FFF 95.74%), #FFF;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .15);
    padding: 1.5rem;
    margin-left: .5rem;
    margin-bottom: 1rem;
}

.pyq-question-meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.pyq-answer-type-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1a3c8f;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.pyq-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.pyq-info-icon {
  font-size: 18px;
  color: #1a3c8f;
  cursor: pointer;
  line-height: 1;
}

.pyq-code-tooltip {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a3c8f;
  white-space: nowrap;
  z-index: 100;
}

.pyq-question-img {
  margin-top: 8px;
  max-width: 100%;
}

/* ── 19. Options (PYQExam new-style) ──────────────────────────── */
.pyq-options-wrap {
  margin-top: 16px;
}

.pyq-options-heading {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.pyq-option-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e0e6f0;
  background: #fff;
  margin-bottom: 8px;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.pyq-option-btn--chosen {
  background: #e8f0fe;
  border: 1.5px solid #1a3c8f !important;
}

.pyq-option-btn--correct {
  background: #dcfce7;
  border-color: #86efac !important;
}

.pyq-option-btn--wrong {
  background: #fee2e2;
  border-color: #fca5a5 !important;
}

.pyq-option-circle {
      font-size: .8rem;
    font-style: normal;
    font-weight: 600;
    background: #083e9d;
    color: #fff;
    display: flex;
    height: 1.5rem;
    min-width: 1.5rem;
    margin-right: .5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.common-btn.view-sub-btn {
    min-width: -moz-max-content;
    min-width: max-content;
    display: none;
}
.pyq-option-circle--correct {
  background: #419b41;
}

.pyq-option-circle--wrong {
  background: #ca2a30;
}

.pyq-option-body {
  flex: 1;
  min-width: 0;
  color: #000;
    font-size: .9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pyq-answer-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff;
      position: absolute;
    top: 0px;
    right: 3px;
}

.pyq-answer-badge--wrong {
  background: #ca2a30;
}

.pyq-answer-badge--correct {
  background: #419b41;
}

/* ── 20. Options (question-answers-client legacy style) ───────── */

/* border-blue: chosen but not yet answered */
.border-blue {
  background: #e8f0fe !important;
  border: 1.5px solid #1a3c8f !important;
}
.pyq-question-box .border-btn{
          border: 1px solid #083e9d !important;
    color: #083e9d !important;
    border-radius: 18px;
        background: transparent !important;
    padding: 0.5rem 1rem;
    margin: 0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    /* min-width: 10rem; */
    text-align: center;
}

.answer-tag {
  padding: 0;
  list-style: none;
  margin: 0;
}

.answer-tag h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.answer-tag li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.answer-tag li button {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 12px 120px 12px 16px;
  border-radius: 10px;
  border: 1px solid #e0e6f0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s, border-color 0.15s;
}

.pyq-abs-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  color: #fff;
  font-weight: 600;
}

.pyq-abs-badge--wrong {
  background: #ca2a30;
}

.pyq-abs-badge--correct {
  background: #419b41;
}

/* ── 21. Numeric answer input ─────────────────────────────────── */
.normal-input-ans {
  border-radius: 8px;
  font-size: 15px;
}

.border-success-correct {
  border: 2px solid #419b41 !important;
  background: #f0fff4 !important;
}

.border-danger-wrong {
  border: 2px solid #ca2a30 !important;
  background: #fff5f5 !important;
}

/* ── 22. Submit / hint action row ─────────────────────────────── */
.next-question {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

/* ── 23. Answer & hint display ────────────────────────────────── */
.pyq-solution-box {
  margin-top: 10px;
}

.pyq-hint-box {
  margin-top: 10px;
}

.pyq-hint-box__content {
  margin-top: 10px;
}

.subjective-answer-box {
  margin-top: 12px;
  background: #f8faff;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid #e0e6f0;
}

/* ── 24. question-answers-client head ─────────────────────────── */
.head-box {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.bg-box-qs-type {
  display: inline-block;
  background: #e8f0fe;
  color: #1a3c8f;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.info-outer {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.info-outer img {
  width: 22px;
  height: 22px;
}

.info-outer .desc-outer {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a3c8f;
  white-space: nowrap;
  z-index: 100;
}

.info-outer:hover .desc-outer {
  display: block;
}

.question-tag {
 display: flex;
    align-items: flex-start;
    gap: .4rem;
    color: #000;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 1rem;
}

.question-tag > span {
  font-weight: 700;
}

/* ── 25. Previous question list (browse mode) ─────────────────── */
.previous-question-list {
  padding: 0;
  list-style: none;
  margin: 0;
}

/* ── 26. Start practice set banner (questions-client) ────────── */
.start-practice-set {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b5fc0 60%, #4f7ef2 100%);
  border-radius: 16px;
  padding: 28px 32px;
  color: #fff;
}

.start-practice-set h1 {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 0;
}

.start-practice-set img {
  width: 100%;
  object-fit: contain;
}

.question-type-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.question-type-list.active {
  background: rgba(255, 255, 255, 0.35);
}

.question-type-list span {
  background: #fff;
  color: #1a3c8f;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ── 27. Practice banner – new card layout ────────────────────── */

.pyq-banner-wrapper {
  background: #fff;
  border: 1.5px solid #e0e6f0;
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Breadcrumb */
.pyq-banner-breadcrumb {
  font-size: 13px;
  color: #1a3c8f;
  margin-bottom: 8px;
  font-weight: 500;
}

.pyq-banner-breadcrumb span {
  cursor: pointer;
  color: #1a3c8f;
}

.pyq-banner-breadcrumb span:hover {
  text-decoration: underline;
}

/* Chapter title */
.pyq-banner-chapter-title {
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.2;
}

/* Subtitle */
.pyq-banner-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

/* ── Stats card (per question type) ───────────────────────────── */
.pyq-stats-card {
    background: #fff;
    border: 1.5px solid #e0e6f0;
    border-radius: 12px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pyq-stats-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pyq-stats-card__title {
  font-weight: 700;
  font-size: 14px;
  color: #222;
}

.pyq-stats-card__pct {
  background: #1a3c8f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

/* Progress bar */
.pyq-stats-card__bar {
  height: 5px;
  background: #e8edf5;
  border-radius: 4px;
  margin-bottom: 6px;
  overflow: hidden;
}

.pyq-stats-card__bar-fill {
  height: 100%;
  background: #1a3c8f;
  border-radius: 4px;
  transition: width 0.5s ease;
  min-width: 2px;
}

/* Completion text */
.pyq-stats-card__completion {
  font-size: 11px;
  color: #999;
  margin-bottom: 16px;
}

/* Stat circles row */
.pyq-stats-card__circles {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-bottom: 16px;
  flex: 1;
}

.pyq-stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background-color: #e3feed;
    padding: 10px;
    width: 30%;
    border-radius: 10px;
}
.pyq-stat-circle.attempted{
  background-color: #e3ecf7 ;

}
.pyq-stat-circle.incorrect{
  background-color: #fde4e4;
}

.pyq-stat-circle__ring {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
}

.pyq-stats-card .pyq-stat-circle__ring--correct {
  border: 2px solid #16a34a !important;
  color: #16a34a !important;
  background: #bbf7d0 !important;
}

.pyq-stats-card .pyq-stat-circle__ring--incorrect {
  border: 2px solid #dc2626 !important;
  color: #dc2626 !important;
  background: #fecaca !important;
}

.pyq-stats-card .pyq-stat-circle__ring--attempted {
  border: 2px solid #2563eb !important;
  color: #2563eb !important;
  background: #bfdbfe !important;
}

.pyq-stat-circle__val {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1;
    color: #16a34a;
    margin: 6px 0;
}
.pyq-stat-circle.incorrect .pyq-stat-circle__val{
    color: #dc2626;
}
.pyq-stat-circle.attempted .pyq-stat-circle__val{
    color: #2563eb;
}

.pyq-stat-circle__lbl {
  font-size: 11px;
  color: #16a34a;
  line-height: 1;
}

.pyq-stat-circle.incorrect  .pyq-stat-circle__lbl{
color: #dc2626;
}
.pyq-stat-circle.attempted  .pyq-stat-circle__lbl{
  color: #2563eb;
}

/* Continue Practice button */
.pyq-stats-card__continue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 1.5px solid #e0e6f0;
  border-radius: 8px;
  color: #1a3c8f;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: auto;
}

.pyq-stats-card__continue:hover {
  background: #f5f7ff;
  border-color: #1a3c8f;
}

/* Full-width Start Practice button */
.pyq-start-btn-full {
  width: auto;
  padding:15px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  background: #1a3c8f;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.3px;
}

.pyq-start-btn-full:hover {
  opacity: 0.9;
}

/* ── Responsive for banner cards ──────────────────────────────── */
@media (max-width: 991px) {
 

  .pyq-banner-chapter-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .pyq-banner-wrapper {
    border-radius: 12px;
  }

  .pyq-banner-chapter-title {
    font-size: 18px;
  }

  .pyq-stat-circle__ring {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .pyq-start-btn-full {
    padding: 12px;
    font-size: 15px;
    border-radius: 24px;
  }

  .pyq-stats-card {
    padding: 12px;
  }
}

@media (max-width: 575px) {
  .pyq-stats-card__circles {
    gap: 4px;
  }

  .pyq-stat-circle__ring {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .pyq-stat-circle__val {
    font-size: 13px;
  }

  .pyq-banner-chapter-title {
    font-size: 16px;
  }
}

/* ── 28. List style utility ──────────────────────────────────── */
.list-style-circle {
  list-style-type: circle;
}

/* ── 28. Paragraph content ────────────────────────────────────── */
.pyq-paragraph-content,
.paragraph-content {
  background: #f0f4ff;
  border-left: 4px solid #4f46e5;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

.pyq-practice-banner__stats{
    background-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
      padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}
.pyq-practice-banner__stats h6{
      color: #fff;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
   
}
.pyq-practice-banner__stats h6 span {
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
    /* padding: 4px 12px; */
    border-radius: 20px;
    font-size: 0.8rem;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.correction-count{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.correction-count span{
  background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.8rem;

}
.correction-count span span{
 height: 26px;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.correction-count span.attempt{
background-color: #083E9D;
}
.correction-count span.correct{
background-color: #10B981;
}
.correction-count span.incorrect{
background-color: #EF4444;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 991px) ─────────────────────────────────────────── */
@media (max-width: 991px) {


  /* .mobile-side-menu-open {
    display: none;
  }

  .mobile-side-menu-open.show {
    display: block;
  } */

  .pyq-practice-banner {
    padding: 20px;
    gap: 16px;
  }

  .pyq-practice-banner__img-wrap {
    display: none;
  }

  .pyq-practice-banner__title {
    font-size: 17px;
  }

  .start-practice-set {
    padding: 20px;
  }

  .start-practice-set h1 {
    font-size: 17px;
  }

  .pyq-elibrary-card,
  .elibrary-redirect-box {
    margin-top: 24px;
  }
}

/* ── Mobile (≤ 767px) ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .pyq-page-bg {
    padding: 16px 0;
  }

  .common-space {
    padding: 1rem 0;
  }

  .pyq-practice-banner {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .pyq-practice-banner__title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .pyq-type-chips {
    gap: 8px;
    margin-bottom: 14px;
  }

  .pyq-type-chip {
    font-size: 12px;
    padding: 5px 10px;
  }

  .pyq-start-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
  }

  .pyq-question-box {
    padding: 14px 12px;
  }

  .pyq-option-btn {
    padding: 10px 12px;
    gap: 8px;
  }

  .pyq-option-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .pyq-section-title {
    font-size: 16px;
  }

  .pyq-exam-card {
    padding: 14px 14px 12px;
  }

  .pyq-filter-tags {
    gap: 6px;
  }

  .pyq-filter-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .pyq-subject-tab {
    font-size: 12px;
    padding: 6px 10px;
  }

  .pyq-sidebar-title {
    font-size: 14px;
  }

  .pyq-view-btn {
    padding: 8px;
    font-size: 13px;
  }

  .pyq-page-btn {
    padding: 7px 16px;
    font-size: 13px;
  }

  .pyq-search-bar {
    margin-bottom: 12px;
  }

  .pyq-elibrary-card,
  .elibrary-redirect-box {
    padding: 16px;
  }

  .pyq-answer-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .start-practice-set {
    padding: 16px;
    border-radius: 12px;
  }

  .start-practice-set h1 {
    font-size: 15px;
  }

  .answer-tag li button {
    padding: 10px 100px 10px 12px;
  }

  .next-question .d-flex {
    flex-wrap: wrap;
    gap: 8px;
  }
  .outer-tab-scroll.mobile-side-menu-open {
    position: fixed;
    width: 28rem;
    top: 7.2rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: .5rem;
    height: calc(100vh - 7.2rem);
    left: -28rem;
    z-index: 11;
    transition: all .5s ease-in-out;
}
    .outer-tab-scroll.mobile-side-menu-open.show {
        left: 0;
    }
        .common-btn.view-sub-btn {
        display: block !important;
    }
    .outer-tab-scroll{
      max-height: 100%;
    }
        .paper-tabs .mechanic-head {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 11;
        top: 3.2rem;
        background-color: #fff;
        padding: .5rem 1rem !important;
        min-height: 4rem;
    }
    .border-set-right{
      border: none;
    }
}

/* ── Small mobile (≤ 575px) ───────────────────────────────────── */
@media (max-width: 575px) {
  .pyq-practice-banner__title {
    font-size: 13px;
  }

  .pyq-exam-card__top {
    gap: 10px;
  }

  .pyq-exam-card__logo {
    width: 44px;
    height: 44px;
  }

  .pyq-exam-card__name {
    font-size: 14px;
  }

  .pyq-filter-tag {
    font-size: 11px;
    padding: 5px 10px;
    gap: 6px;
  }

  .pyq-filter-tag__count {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .pyq-pagination {
    gap: 8px;
  }

  .pyq-page-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .pyq-preview-num {
    min-width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .pyq-option-circle {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .mechanic-head h3 {
    font-size: 13px;
  }

  .start-practice-set h1 {
    font-size: 13px;
  }

  .question-type-list {
    font-size: 11px;
    padding: 5px 10px;
  }
}
