/* Exam listing only — EduXperti Royal Blue SaaS Theme */
.exam-list-page {
  --list-border: #DBEAFE;
  --list-panel: #FFFFFF;
  --list-heading: #12346B;
}
html[data-theme="dark"] .exam-list-page {
  --list-border: rgba(219, 234, 254, 0.12);
  --list-panel: #0E182A;
  --list-heading: #F8FAFC;
}
.exam-list-page .page-head {
  margin: 12px 0 32px;
}
.exam-list-page .page-head h1 {
  font-size: 32px !important;
  line-height: 1.25;
  color: #12346B;
  margin: 8px 0 0;
  font-weight: 800;
}
.exam-list-page .eyebrow {
  font-size: 11px;
  color: #155EEF !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.exam-list-page .allaccess {
  padding: 24px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #DBEAFE !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(18, 52, 107, 0.04) !important;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
html[data-theme="dark"] .exam-list-page .allaccess {
  background: #0E182A !important;
  border-color: rgba(219, 234, 254, 0.12) !important;
}
.exam-list-page .allaccess > div {
  flex: 1;
  min-width: 0;
}
.exam-list-page .allaccess h3 {
  font-size: 18px;
  line-height: 1.5;
  color: #12346B;
  margin: 0 0 6px;
  font-weight: 800;
}
html[data-theme="dark"] .exam-list-page .allaccess h3 {
  color: #F8FAFC;
}
.exam-list-page .allaccess p {
  font-size: 13px;
  line-height: 1.6;
  color: #4B6382;
  margin: 0;
  max-width: 560px;
}
.exam-list-page .allaccess .btn {
  flex-shrink: 0;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(21, 94, 239, 0.25);
  white-space: normal;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  background-color: #155EEF !important;
  border: 1px solid #155EEF !important;
  color: #FFFFFF !important;
}
.exam-list-page .allaccess .btn:hover {
  background-color: #0F4CD9 !important;
}
.exam-list-page .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;
  align-items: stretch;
}
.exam-list-page .domain-row {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 24px !important;
  min-width: 0;
  min-height: 320px;
  background: #FFFFFF !important;
  border: 1.5px solid #DBEAFE !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(18, 52, 107, 0.04) !important;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.exam-list-page .domain-row:hover {
  transform: translateY(-4px);
  border-color: #93C5FD !important;
  box-shadow: 0 12px 28px rgba(21, 94, 239, 0.12) !important;
}
.exam-list-page .domain-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #F0F6FF;
  color: #155EEF;
  border: 1px solid #DBEAFE;
  font-size: 24px;
}
html[data-theme="dark"] .exam-list-page .domain-icon {
  background: rgba(21, 94, 239, 0.15);
  color: #60A5FA;
  border-color: rgba(96, 165, 250, 0.3);
}
.exam-list-page .domain-row .grow {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exam-list-page .domain-row h3 {
  font-size: 20px;
  line-height: 1.3;
  color: #12346B;
  margin: 0 0 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
html[data-theme="dark"] .exam-list-page .domain-row h3 {
  color: #F8FAFC;
}
.exam-list-page .domain-row p {
  font-size: 14px;
  line-height: 1.6;
  color: #4B6382;
  margin: 0 0 12px;
}
html[data-theme="dark"] .exam-list-page .domain-row p {
  color: #94A3B8;
}
.exam-list-page .domain-row p.meta {
  font-size: 13px;
  margin: auto 0 0;
  color: #12346B;
  font-weight: 700;
  padding-top: 10px;
}
html[data-theme="dark"] .exam-list-page .domain-row p.meta {
  color: #F8FAFC;
}
.exam-list-page .domain-row .col {
  min-width: 0 !important;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.exam-list-page .domain-row .col:has(> a:only-child) {
  grid-template-columns: minmax(0, 1fr);
}
.exam-list-page .domain-row .btn {
  font-size: 13px;
  min-height: 42px;
  width: 100%;
  padding: 10px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.exam-list-page .domain-row .btn-ghost {
  background-color: #F0F6FF !important;
  border: 1.5px solid #DBEAFE !important;
  color: #155EEF !important;
}
.exam-list-page .domain-row .btn-ghost:hover {
  background-color: #E0EDFF !important;
  border-color: #BFDBFE !important;
  color: #0F4CD9 !important;
}
.exam-list-page .domain-row .btn-primary,
.exam-list-page .domain-row a.btn:not(.btn-ghost) {
  background-color: #155EEF !important;
  border: 1px solid #155EEF !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(21, 94, 239, 0.25) !important;
}
.exam-list-page .domain-row .btn-primary:hover,
.exam-list-page .domain-row a.btn:not(.btn-ghost):hover {
  background-color: #0F4CD9 !important;
  box-shadow: 0 4px 12px rgba(21, 94, 239, 0.35) !important;
}
@media (max-width: 1000px) {
  .exam-list-page .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .exam-list-page .page-head {
    margin: 8px 0 24px;
  }
  .exam-list-page .page-head h1 {
    font-size: 26px !important;
  }
  .exam-list-page .allaccess {
    padding: 20px !important;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .exam-list-page .allaccess .btn {
    width: 100%;
  }
  .exam-list-page .grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }
  .exam-list-page .domain-row {
    padding: 20px !important;
    min-height: auto;
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .exam-list-page .domain-row {
    transition: none;
  }
  .exam-list-page .domain-row:hover {
    transform: none;
  }
}
