:root {
  --jvc: #1e4f9e;
  --jvc-dark: #163d7a;
  --jvc-ink: #1f1f1f;
  --jvc-cream: #edf5fd;
  --tmu-secondary: #edf5fd;
  --tmu-orange: #f48220;
  --tmu-black: #1f1f1f;
  --tmu-gray: #e5e7eb;
  --tmu-gray-light: #f3f4f6;
  --tmu-radius: 0.25rem;
  --tmu-radius-sm: 0.125rem;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--tmu-black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: var(--jvc);
}

.hero-gradient h1,
.hero-gradient h2,
.hero-gradient h3 {
  color: #ffffff;
}

h1.text-slate-900,
h2.text-slate-900,
h3.text-slate-900,
h4.text-slate-900,
h5.text-slate-900,
h6.text-slate-900 {
  color: var(--jvc) !important;
}

p, span, a {
  font-family: 'Inter', sans-serif;
}

a:hover {
  color: var(--jvc);
}

.serif {
  font-family: 'Inter', sans-serif;
}

.text-jvc {
  color: var(--jvc);
}

.text-icon {
  color: var(--tmu-orange);
}

.bg-jvc {
  background-color: var(--jvc);
}

.bg-jvc-dark {
  background-color: var(--jvc-dark);
}

.bg-tmu-secondary {
  background-color: var(--tmu-secondary);
}

.bg-slate-900 {
  background-color: var(--jvc) !important;
}

.bg-slate-900\/30 {
  background-color: rgba(30, 79, 158, 0.3) !important;
}

.bg-jvc\/10 {
  background-color: rgba(30, 79, 158, 0.1);
}

.bg-jvc\/20 {
  background-color: rgba(30, 79, 158, 0.2);
}

.bg-jvc-dark\/60 {
  background-color: rgba(22, 61, 122, 0.6);
}

.border-jvc {
  border-color: var(--jvc);
}

.border-jvc\/20 {
  border-color: rgba(30, 79, 158, 0.2);
}

.hover\:text-jvc:hover {
  color: var(--jvc);
}

.hover\:bg-jvc-dark:hover {
  background-color: var(--jvc-dark);
}

.hover\:bg-jvc\/10:hover {
  background-color: rgba(30, 79, 158, 0.1);
}

.hover\:border-jvc\/20:hover {
  border-color: rgba(30, 79, 158, 0.2);
}

.group:hover .group-hover\:text-jvc {
  color: var(--jvc);
}

.view-container,
[view-container] {
  display: none;
}

.view-container.active,
[view-container].active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}



.page-hero {
  background: linear-gradient(rgba(30, 79, 158, 0.78), rgba(30, 79, 158, 0.78)),
    url('https://tmu.edu.vn/upload/banner/thumb_1920x0/banner-1671594770.jpg');
  background-size: cover;
  background-position: center;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .page-hero {
    min-height: 60vh;
    padding: 5rem 2rem;
  }
}

.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 48rem;
  margin: 0;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

.page-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid var(--tmu-gray);
}

.page-breadcrumb-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 640px) {
  .page-breadcrumb-inner {
    padding: 0.875rem 1.5rem;
  }
}

.page-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.page-breadcrumb a:hover {
  color: var(--jvc);
}

.page-breadcrumb-sep {
  color: #94a3b8;
  user-select: none;
}

.page-breadcrumb-current {
  color: var(--tmu-black);
  font-weight: 600;
}

.author-bio-section {
  margin-bottom: 2.5rem;
}

.article-sidebar-card .author-bio-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(30, 79, 158, 0.12);
}

.article-sidebar-cover {
  margin: -0.5rem 0 1.25rem;
  border-radius: var(--tmu-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 79, 158, 0.12);
  border: 1px solid rgba(30, 79, 158, 0.1);
}

.article-sidebar-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.article-sidebar-card .author-bio-list li {
  font-size: 0.8125rem;
  line-height: 1.55;
}

.author-bio-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tmu-black);
  margin-bottom: 1rem;
}

.author-bio-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.author-bio-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--tmu-black);
}

.author-bio-list .author-name {
  font-weight: 700;
}

.author-bio-list .author-affiliation {
  font-style: italic;
}

.article-abstract-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-abstract-paragraph {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--tmu-black);
  text-align: justify;
  margin: 0;
}

.article-abstract-paragraph strong {
  font-weight: 700;
  color: var(--tmu-black);
}

.issue-sections-block {
  margin-top: 0.25rem;
}

.issue-sections-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--jvc);
  margin-bottom: 0.75rem;
}

.issue-sections-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.issue-section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--tmu-black);
  padding: 0.375rem 0;
  border-bottom: 1px dashed rgba(30, 79, 158, 0.12);
}

.issue-section-item:last-child {
  border-bottom: none;
}

.issue-section-name {
  font-weight: 600;
}

.issue-section-count {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.issue-doi-line {
  font-size: 0.875rem;
  color: var(--tmu-black);
}

.issue-doi-label {
  font-weight: 700;
  color: var(--jvc);
  margin-right: 0.375rem;
}

.issue-doi-value {
  color: var(--jvc);
  font-weight: 600;
}

#issue-header .latest-issue-cover {
  min-height: 320px;
}

.hero-gradient {
  background: linear-gradient(120deg, rgba(30, 79, 158, 0.82), rgba(22, 61, 122, 0.68)),
    url('https://tmu.edu.vn/upload/banner/thumb_1920x0/banner-1671594770.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
}

.hero-gradient::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url('/tmu-media/styles/footer-bg.webp');
  background-size: 100%;
  background-position: bottom left;
  z-index: 1;
  background-repeat: no-repeat;
  opacity: .5;
  transform: skewY(10deg);
}

.hero-content-container{
  padding-top: 15rem;
  margin: 0 auto;
  text-align: center;
}

.hero-gradient h1 {
  font-size: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .hero-gradient h1 {
    font-size: 2.25rem;
  }
}

.nav-btn {
  transition: all 0.2s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
}

.nav-bar{
  /* background: url('/tmu-media/styles/bg1.jpg');
  background-position: bottom left;
  background-size: cover; */
  border-color: #0d3475;
  background: #fff;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0d3475;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 0.5rem;
  border-radius: var(--tmu-radius-sm);
  text-transform: uppercase;
}

.nav-link:hover {
  background: var(--tmu-secondary);
  color: var(--jvc);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--tmu-radius);
  box-shadow: 0 15px 35px rgba(30, 79, 158, 0.12);
  padding: 0.75rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  color: var(--tmu-black);
}

.nav-dropdown a:hover {
  background: var(--tmu-secondary);
  color: var(--jvc);
}

.brand-logo {
  width: auto;
  max-width: 280px;
  height: 56px;
  object-fit: contain;
}

.info-chip {
  border: 1px solid var(--tmu-gray);
  border-radius: var(--tmu-radius);
  padding: 1rem;
  background: var(--tmu-secondary);
}

.info-chip .text-2xl.font-black {
  color: var(--tmu-orange);
}

.stat-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tmu-orange);
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--tmu-radius-sm);
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bg-slate-900 .text-lg.font-black {
  color: var(--tmu-orange);
}

.bg-slate-900 h3,
.bg-jvc h3 {
  color: #ffffff !important;
}

.bg-slate-900 .text-slate-400 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.scope-section {
  margin-bottom: 0.5rem;
}

.scope-section-title {
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--jvc);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .scope-section-title {
    font-size: 2rem;
  }
}

.scope-section-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .scope-section-body {
    grid-template-columns: 5fr 7fr;
    gap: 1.5rem;
  }
}

.scope-section-image {
  min-height: 280px;
}

.scope-section-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--tmu-radius);
  display: block;
}

@media (min-width: 1024px) {
  .scope-section-image,
  .scope-section-image img {
    min-height: 100%;
  }
}

.scope-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-content: start;
}

@media (min-width: 640px) {
  .scope-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.scope-card {
  background: var(--tmu-secondary);
  border: 1px solid var(--tmu-gray);
  border-radius: var(--tmu-radius);
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 148px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.scope-card:hover {
  background: var(--jvc);
  border-color: var(--jvc);
}

.scope-card-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.scope-card-icon-wrap [data-lucide] {
  color: var(--tmu-orange);
  transition: color 0.25s ease;
}

.scope-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tmu-black);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.scope-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--tmu-black);
  line-height: 1.55;
  flex: 1;
  transition: color 0.25s ease;
}

.scope-card-arrow {
  color: var(--jvc);
  margin-top: auto;
  line-height: 0;
  transition: color 0.25s ease;
}

.scope-card:hover .scope-card-title,
.scope-card:hover .scope-card-desc {
  color: #ffffff;
}

.scope-card:hover .scope-card-icon-wrap {
  background: rgba(255, 255, 255, 0.18);
}

.scope-card:hover .scope-card-icon-wrap [data-lucide] {
  color: #ffffff;
}

.scope-card:hover .scope-card-arrow {
  color: #ffffff;
}

.latest-issue-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  overflow: hidden;
  min-height: 480px;
}

.latest-issue-cover-bg {
  position: absolute;
  inset: -48px;
  background-image: url('/tmu-media/styles/cover-tmu.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(32px);
  transform: scale(1.12);
}

.latest-issue-cover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 79, 158, 0.42);
}

.latest-issue-cover-fg {
  position: relative;
  z-index: 1;
  border-radius: var(--tmu-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.latest-issue-cover-img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.partners-section {
  background: #ffffff;
  border-top: 1px solid var(--tmu-gray);
  padding: 3rem 0 4rem;
}

.partners-section-title {
  font-family: 'Lora', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--jvc);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.partners-carousel.owl-carousel {
  position: relative;
  padding: 0 2.75rem;
}

.partners-carousel.owl-carousel .owl-stage-outer {
  padding: 0.5rem 0 1rem;
}

.partners-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-carousel .owl-nav {
  margin-top: 1rem;
}

.partners-carousel .owl-nav button.owl-prev,
.partners-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tmu-secondary) !important;
  border: 1px solid var(--tmu-gray) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.partners-carousel .owl-nav button.owl-prev {
  left: -0.5rem;
}

.partners-carousel .owl-nav button.owl-next {
  right: -0.5rem;
}

.partners-carousel .owl-nav button.owl-prev:hover,
.partners-carousel .owl-nav button.owl-next:hover {
  background: var(--jvc) !important;
  border-color: var(--jvc) !important;
}

.partners-carousel .owl-nav button.owl-prev:hover .partners-nav-btn,
.partners-carousel .owl-nav button.owl-next:hover .partners-nav-btn {
  color: #ffffff;
}

.partners-nav-btn {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--jvc);
  font-weight: 700;
}

.partners-carousel .owl-dots {
  margin-top: 1.25rem;
}

.partners-carousel .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px 5px;
  background: var(--tmu-gray);
  transition: background 0.2s ease, transform 0.2s ease;
}

.partners-carousel .owl-dots .owl-dot.active span,
.partners-carousel .owl-dots .owl-dot:hover span {
  background: var(--jvc);
  transform: scale(1.15);
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  min-width: 120px;
  max-width: 180px;
  height: 72px;
}

.partner-item img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.partner-item:hover img {
  filter: none;
  opacity: 1;
}

#mobile-menu button {
  transition: all 0.2s ease;
}

#mobile-menu button:hover {
  transform: translateX(2px);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 31, 0.4);
  backdrop-filter: blur(2px);
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  width: 88%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--tmu-gray);
  box-shadow: -8px 0 30px rgba(30, 79, 158, 0.1);
  padding: 1rem;
  overflow-y: auto;
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--tmu-gray);
  border-radius: var(--tmu-radius);
  background: var(--tmu-secondary);
}

.partner-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}
.tmu-intro-section-content::before{
  content: '';
  position: absolute;
  inset: 0;
  background: url('/tmu-media/styles/footer-bg.webp');
  background-size: 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .85;
  transform: rotate(360deg) scaleX(-1);
}
#footer,
.site-footer {
  background-image: url('/tmu-media/styles/footer-bg.webp') !important;
  background-size: 100% !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  background-color: var(--tmu-secondary) !important;
  color: var(--jvc) !important;
  border: none !important;
  position: relative;
}

.site-footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer-main {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.site-footer-logo-link {
  display: inline-block;
}

.site-footer-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
}

.site-footer-heading {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tmu-black);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--tmu-black);
}

.site-footer-contact [data-lucide] {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--jvc);
}

.site-footer-contact a {
  color: var(--jvc);
  text-decoration: none;
}

.site-footer-contact a:hover {
  color: var(--jvc-dark);
  text-decoration: underline;
}

.site-footer-meta {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(31, 31, 31, 0.75);
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--jvc);
  text-decoration: none;
}

.site-footer-links a:hover {
  color: var(--jvc-dark);
  text-decoration: underline;
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 79, 158, 0.12);
}

@media (min-width: 768px) {
  .site-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  color: #ffffff40;
}

.site-footer-social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(30, 79, 158, 0.1);
  color: var(--jvc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  background: var(--jvc);
  color: #ffffff;
  transform: translateY(-1px);
}

.fixed-action-bar {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fixed-action-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--tmu-secondary);
  border: 1px solid rgba(30, 79, 158, 0.15);
  color: var(--jvc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 79, 158, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.fixed-action-btn:hover {
  background: var(--jvc);
  border-color: var(--jvc);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .fixed-action-bar {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .fixed-action-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
}

#footer h4 {
  color: var(--jvc);
}

#footer li {
  color: var(--jvc);
}

#footer li:hover {
  color: var(--jvc-dark);
}

#footer .text-white {
  color: var(--jvc) !important;
}

#footer .text-slate-200 {
  color: var(--jvc) !important;
}

.search-modal input::placeholder {
  color: #94a3b8;
}

.sticky-card {
  position: sticky;
  top: 96px;
}

.rounded-\[2rem\],
.rounded-2xl,
.rounded-3xl {
  border-radius: var(--tmu-radius) !important;
}

.rounded-xl,
.rounded-lg {
  border-radius: var(--tmu-radius-sm) !important;
}

.rounded-full {
  border-radius: var(--tmu-radius) !important;
}

#ojs-office-viewer-modal {
  z-index: 100000 !important;
  isolation: isolate;
}

.ojs-office-viewer-close-fab {
  z-index: 100001 !important;
}

#ojs-dflip-brand-bar {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100002;
  pointer-events: none;
  max-width: min(92vw, 28rem);
  text-align: center;
}

.ojs-dflip-brand-logo {
  display: inline-block;
  max-height: 2.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@media (min-width: 640px) {
  .ojs-dflip-brand-logo {
    max-height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .ojs-dflip-brand-logo {
    max-height: 3.25rem;
  }
}

.ojs-office-viewer-head .ojs-office-viewer-logo {
  max-height: 2.5rem;
}

/* Submissions list pagination */
.submissions-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f1f5f9;
}

.submissions-pagination[hidden] {
  display: none !important;
}

.submissions-pagination-info {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.submissions-pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.submissions-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.submissions-pagination-btn:hover:not(:disabled) {
  border-color: rgba(30, 79, 158, 0.35);
  color: var(--jvc-primary, #1e4f9e);
  background: rgba(30, 79, 158, 0.04);
}

.submissions-pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.submissions-pagination-btn.is-active {
  background: var(--jvc-primary, #1e4f9e);
  border-color: var(--jvc-primary, #1e4f9e);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 79, 158, 0.22);
}

.submissions-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2.5rem;
  color: #94a3b8;
  font-weight: 700;
  user-select: none;
}
