/* ==========================================================================
   BUTEX Journal of Textile Science and Engineering (BJTSE)
   JMERD Design Integration for OJS 3.x
   Color Palette:
     Primary: #6c3135 (Deep Maroon)
     Secondary: #f1e6d5 (Warm Parchment/Cream)
     Tertiary: #e6a962 (Amber / Warm Gold)
     Dark: #542528 (Deep Accent)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --jmerd-theme: #bf1430;
  --jmerd-primary: #6c3135;
  --jmerd-secondary: #f1e6d5;
  --jmerd-tertiary: #e6a962;
  --jmerd-dark: #542528;
  --jmerd-hover: #7c3737;
  --jmerd-text: #222222;
  --jmerd-light: #ffffff;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  color: var(--jmerd-text);
  margin: 0;
  padding: 0;
  background-color: #faf8f5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--jmerd-primary);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--jmerd-theme);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   LAYOUT & GRID UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1180px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.container-fluid {
  width: 100%;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

.basic-flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-jc-sb { justify-content: space-between; }
.flex-jc-fe { justify-content: flex-end; }
.flex-jc-c  { justify-content: center; }
.flex-jc-fs { justify-content: flex-start; }
.flex-ai-c  { align-items: center; }
.flex-ai-fs { align-items: flex-start; }
.flex-nowrap { flex-wrap: nowrap; }
.jmerd-flex-column { flex-direction: column; }

.col-md-3 { flex: 0 0 100%; max-width: 100%; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; }
.col-md-5 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-md-7 { flex: 0 0 100%; max-width: 100%; }
.col-md-8 { flex: 0 0 100%; max-width: 100%; }
.col-md-9 { flex: 0 0 100%; max-width: 100%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

.col-xl-4 { flex: 0 0 100%; max-width: 100%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

/* Margin / Padding helpers */
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-0 { padding-top: 0 !important; }
.pb-5 { padding-bottom: 2.5rem; }
.p-1 { padding: 0.35rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }

.tc { text-align: center; }
.tr { text-align: right; }
.tl { text-align: left; }

/* Colors & Backgrounds */
.jmerd-bg-primary { background-color: var(--jmerd-primary) !important; }
.jmerd-bg-secondary { background-color: var(--jmerd-secondary) !important; }
.jmerd-bg-tertiary { background-color: var(--jmerd-tertiary) !important; }
.jmerd-bg-dark { background-color: var(--jmerd-dark) !important; }
.jmerd-bg-transparent { background-color: transparent !important; }

.jmerd-white { color: #ffffff !important; }
.jmerd-primary { color: var(--jmerd-primary) !important; }
.jmerd-secondary { color: var(--jmerd-secondary) !important; }
.jmerd-tertiary { color: var(--jmerd-tertiary) !important; }

.jmerd-border-primary { border: 2px solid var(--jmerd-primary); }
.jmerd-border-tertiary { border: 2px solid var(--jmerd-tertiary); }
.jmerd-border-white { border: 2px solid #ffffff; }

/* ==========================================================================
   TOP BAR (Dual Logos: BUTEX Journal + BUTEX University)
   ========================================================================== */

.header-top {
  align-items: center;
  gap: 1rem;
}

.jmerd-logo-flex {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-top-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.header-top-link:hover {
  text-decoration: none;
}

.jmerd-top-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-top-link:hover .jmerd-top-logo {
  transform: scale(1.03);
}

.journal-title-block {
  display: flex;
  flex-direction: column;
}

.journal-sub {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--jmerd-theme);
  line-height: 1.2;
}

.journal-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--jmerd-primary);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.univ-branding-block {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.univ-short {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--jmerd-primary);
  letter-spacing: 2px;
  line-height: 1.1;
}

.univ-full {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .header-top {
    flex-direction: column;
    text-align: center;
  }
  .jmerd-logo-flex {
    justify-content: center;
  }
  .univ-branding-block {
    text-align: center;
  }
  .journal-main {
    font-size: 1.05rem;
  }
  .jmerd-top-logo {
    max-height: 65px;
  }
}

/* ==========================================================================
   PRIMARY NAVIGATION & AUTH BUTTONS (STICKY HEADER)
   ========================================================================== */

.top-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.flex-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  padding: 1.25rem 1.15rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover {
  background-color: var(--jmerd-hover);
  color: #ffffff;
  text-decoration: none;
}

.nav-link.active-tab {
  background-color: #ffffff;
  color: var(--jmerd-primary);
  font-weight: 700;
  text-decoration: none;
}

/* Navigation Dropdown (for About menu: About Journal, Submissions, Privacy Statement, Contact) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  cursor: pointer;
  gap: 0.35rem;
}

.nav-caret {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: var(--jmerd-primary);
  border-top: 3px solid var(--jmerd-tertiary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  padding: 0.4rem 0;
  z-index: 1050;
  animation: fadeInDown 0.2s ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--jmerd-hover);
  color: #ffffff;
  padding-left: 1.7rem;
}

/* Header Auth Buttons (Register & Login on Header - Stays strictly on Right Side) */
.header-auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin-left: auto;
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-auth-login {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-auth-login:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-auth-register {
  background-color: var(--jmerd-tertiary);
  color: #3b171a;
  border: 1.5px solid var(--jmerd-tertiary);
}

.btn-auth-register:hover {
  background-color: #f0b979;
  border-color: #f0b979;
  color: #22080a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-auth-dash {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-auth-dash:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-auth-profile {
  color: var(--jmerd-secondary);
  font-weight: 600;
  padding: 0.45rem 0.6rem;
}

.btn-auth-profile:hover {
  color: #ffffff;
}

.btn-auth-logout {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.8rem;
}

.btn-auth-logout:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  padding: 0.5rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .header-nav-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 1rem;
  }
  .header-nav-collapse.is-open {
    display: flex;
  }
  .flex-nav {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .nav-link {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: none;
    border-left: 3px solid var(--jmerd-tertiary);
    margin: 0 0 0.5rem 1rem;
    padding: 0;
    min-width: 0;
  }
  .dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
  }
  .header-auth-buttons {
    width: 100%;
    padding: 1rem 0 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   HERO / CALL FOR PAPERS SECTION
   ========================================================================== */

.jmerd-cover-bg {
  background-image: linear-gradient(0deg, rgba(30, 10, 15, 0.78), rgba(30, 10, 15, 0.78)), 
                    url('../res/jmerd_cover_bg.jpg');
  background-color: #2b0c12;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  color: #ffffff;
}

.hero-overlay {
  background-color: rgba(1, 1, 1, 0.5);
  backdrop-filter: blur(2px);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem auto;
}

.hero-cover-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.hero-volume-card {
  background: linear-gradient(135deg, #7a1826 0%, #4a0c14 100%);
  border: 4px solid var(--jmerd-tertiary);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  width: 100%;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-volume-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(230, 169, 98, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-volume-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
}

.hero-volume-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--jmerd-tertiary);
  margin-bottom: 0.4rem;
}

.hero-volume-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.hero-volume-issn {
  font-size: 0.75rem;
  color: var(--jmerd-secondary);
  border-top: 1px solid rgba(230, 169, 98, 0.4);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  text-align: right;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--jmerd-secondary);
  margin-bottom: 1rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-badge {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 2px solid var(--jmerd-tertiary);
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--jmerd-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--jmerd-tertiary);
  color: #2b0c12 !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-hero-learn:hover {
  background-color: #f7be7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.btn-hero-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--jmerd-theme);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-hero-submit:hover {
  background-color: #e0183b;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .hero-content {
    text-align: center;
    padding: 1.5rem 0.5rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-desc {
    margin-right: auto;
  }
}

/* ==========================================================================
   QUICK ACTION CARDS & FEATURE PILLS
   ========================================================================== */

.flex-margin-repair {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.flex-margin-repair > [class*="col-"] {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.25rem;
}

.card-jmerd {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.card-jmerd-header {
  background-color: var(--jmerd-primary);
  color: #ffffff;
  padding: 1.1rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card-jmerd-body {
  background-color: var(--jmerd-tertiary);
  color: #2b0c12;
  padding: 1.4rem 1.2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  min-height: 150px;
}

.card-jmerd-body a {
  color: #3b171a;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.15s ease;
  display: block;
  padding: 0.2rem 0;
}

.card-jmerd-body a:hover {
  color: #000000;
  text-decoration: underline;
  transform: translateX(3px);
}

.pill-jmerd {
  background-color: var(--jmerd-primary);
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   ABOUT JOURNAL SECTION
   ========================================================================== */

.jmerd-bg-cog {
  background-image: linear-gradient(0deg, rgba(241, 230, 213, 0.92), rgba(241, 230, 213, 0.92)), 
                    url('../res/jmerd_bg_cog.jpg');
  background-color: #f1e6d5;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  background-attachment: fixed;
  overflow: hidden;
}

.section-heading-lg {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--jmerd-primary);
  text-align: center;
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #333333;
  max-width: 960px;
  margin: 0 auto;
  text-align: justify;
}

.counter-strip {
  background-color: var(--jmerd-tertiary);
  color: #ffffff;
  padding: 1.5rem 0;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.counter-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  color: #2b0c12;
  margin-bottom: 0.25rem;
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #4a141a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   AIM & SCOPE SECTION
   ========================================================================== */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .scope-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scope-item {
  background-color: #ffffff;
  border-left: 4px solid var(--jmerd-primary);
  padding: 0.9rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #333333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scope-item:hover {
  transform: translateX(4px);
  border-left-color: var(--jmerd-tertiary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.scope-item i {
  color: var(--jmerd-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   INDEXING SECTION
   ========================================================================== */

.jmerd-bg-double-axle {
  background-image: linear-gradient(0deg, rgba(241, 230, 213, 0.92), rgba(241, 230, 213, 0.92)), 
                    url('../res/jmerd_bg_double_axle.jpg');
  background-color: #f1e6d5;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  background-attachment: fixed;
  overflow: hidden;
  padding: 3rem 0;
}

.indexing-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  max-width: 900px;
  margin: 1.5rem auto 2.5rem;
  text-align: center;
}

.indexing-cert-banner {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--jmerd-primary);
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(230, 169, 98, 0.25);
  border-top: 2px dashed var(--jmerd-tertiary);
  border-bottom: 2px dashed var(--jmerd-tertiary);
}

/* ==========================================================================
   CURRENT ISSUE & ARTICLES (DYNAMIC OJS)
   ========================================================================== */

.issue-container {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-top: 1.5rem;
}

.issue-article-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid #ebebeb;
}

.issue-article-card:last-child {
  border-bottom: none;
}

.issue-article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.issue-article-title a {
  color: var(--jmerd-primary);
}

.issue-article-title a:hover {
  color: var(--jmerd-theme);
}

.issue-article-authors {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 0.5rem;
}

.issue-article-galleys {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-galley-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--jmerd-primary);
  color: #ffffff !important;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn-galley-pdf:hover {
  background-color: var(--jmerd-hover);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-divider {
  background-color: var(--jmerd-tertiary);
  min-height: 24px;
}

.jmerd-footer {
  background-color: var(--jmerd-primary);
  color: #ffffff;
  padding: 3rem 0;
  font-size: 0.95rem;
}

.jmerd-footer h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--jmerd-tertiary);
  display: inline-block;
}

.jmerd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.jmerd-footer-links li a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: all 0.15s ease;
}

.jmerd-footer-links li a:hover {
  color: var(--jmerd-tertiary);
  padding-left: 4px;
}

.jmerd-contact-list {
  line-height: 2;
}

.jmerd-contact-list div {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.jmerd-contact-list div i {
  color: var(--jmerd-tertiary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.jmerd-contact-list a {
  color: var(--jmerd-tertiary);
  text-decoration: none;
}

.jmerd-contact-list a:hover {
  text-decoration: underline;
}

.footer-branding-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-univ-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-univ-text {
  text-align: right;
}

.footer-univ-abbr {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.1;
}

.footer-univ-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.buet-footer-logo {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
}

.footer-journal-info {
  text-align: right;
}

.footer-journal-info h4 {
  font-size: 0.92rem;
  margin: 0.2rem 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer-copyright-bar {
  background-color: var(--jmerd-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
  font-size: 0.88rem;
}

@media (max-width: 991px) {
  .footer-univ-header, .footer-journal-info {
    justify-content: flex-start;
    text-align: left;
  }
  .footer-univ-text {
    text-align: left;
  }
}

/* ==========================================================================
   EDITORIAL TEAM SECTION (JMERD STYLED)
   ========================================================================== */

.editorial-role-banner {
  background-color: var(--jmerd-dark);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  border-radius: 4px;
  margin: 2.2rem 0 1.5rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.editorial-profile-box {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
  border-top: 3px solid var(--jmerd-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editorial-profile-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.editorial-profile-box h3 {
  color: var(--jmerd-primary);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.editorial-profile-box .role-dept {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.25rem;
}

.editorial-profile-box .role-inst {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.editorial-board-card {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 4px solid var(--jmerd-primary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.editorial-board-card b {
  color: var(--jmerd-primary);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   PAGE CONTAINERS & ALIGNMENT (GLOBAL FALLBACK)
   ========================================================================== */

.page {
  width: 100%;
}

.page:not(.container) {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.25rem;
}

.jmerd-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid #e9e4dd;
}

.jmerd-page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--jmerd-primary);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.jmerd-page-subtitle {
  font-size: 1.05rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.jmerd-badge-accent {
  background-color: var(--jmerd-primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
}

.jmerd-badge-category {
  background-color: var(--jmerd-tertiary);
  color: var(--jmerd-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
}

/* Breadcrumbs */
.cmp_breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cmp_breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.4rem;
}

.cmp_breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #666;
}

.cmp_breadcrumbs a {
  color: var(--jmerd-primary);
  text-decoration: none;
  font-weight: 500;
}

.cmp_breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--jmerd-theme);
}

.cmp_breadcrumbs .separator {
  color: #b0a89d;
  font-size: 0.8rem;
}

.cmp_breadcrumbs .current {
  color: #333;
  font-weight: 600;
}

/* ==========================================================================
   CURRENT ISSUE & ISSUE TOC
   ========================================================================== */

.page_issue {
  min-height: 60vh;
}

.obj_issue_toc .heading {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e9e4dd;
  border-top: 5px solid var(--jmerd-primary);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.obj_issue_toc .heading.has-cover {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 768px) {
  .obj_issue_toc .heading.has-cover {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.obj_issue_toc .heading .cover img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0d9cf;
  display: block;
}

.obj_issue_toc .heading .published,
.obj_issue_toc .heading .pub_id {
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.obj_issue_toc .heading .pub_id.doi .doi-link {
  color: var(--jmerd-primary);
  font-weight: 600;
  word-break: break-all;
}

.obj_issue_toc .heading .pub_id.doi .doi-link:hover {
  text-decoration: underline;
}

.obj_issue_toc .heading .description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0ede8;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

.obj_issue_toc .galleys {
  background: #fdfbf7;
  border: 1.5px dashed var(--jmerd-tertiary);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.5rem;
}

.obj_issue_toc .galleys ul.galleys_links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
}

.obj_issue_toc .sections .section {
  margin-bottom: 2.5rem;
}

.obj_issue_toc .sections .section .section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--jmerd-primary);
  border-bottom: 2px solid var(--jmerd-primary);
  padding-bottom: 0.65rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.cmp_article_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cmp_article_list > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.obj_article_summary {
  background: #ffffff;
  border: 1px solid #e9e4dd;
  border-left: 5px solid var(--jmerd-primary);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.obj_article_summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  border-left-color: var(--jmerd-theme);
}

.obj_article_summary .title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.obj_article_summary .title a {
  color: var(--jmerd-primary);
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: var(--jmerd-theme);
  text-decoration: underline;
}

.obj_article_summary .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: #555;
  margin-top: 0.2rem;
}

.obj_article_summary .meta .authors {
  color: #333;
  font-weight: 600;
}

.obj_article_summary .meta .pages,
.obj_article_summary .meta .published {
  background: #f4eee6;
  color: var(--jmerd-dark);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.obj_article_summary .meta .pages::before {
  content: "pp. ";
}

.obj_article_summary .galleys_links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--jmerd-primary);
  color: #ffffff !important;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(108, 49, 53, 0.2);
}

.obj_galley_link:hover {
  background-color: var(--jmerd-dark);
  box-shadow: 0 4px 12px rgba(84, 37, 40, 0.35);
  transform: translateY(-1px);
}

.obj_galley_link.pdf::before {
  content: "\F396";
  font-family: "bootstrap-icons";
  font-size: 0.95rem;
}

/* ==========================================================================
   ARCHIVES PAGE & RESPONSIVE GRID
   ========================================================================== */

.page_issue_archive {
  min-height: 60vh;
}

.issues_archive {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.issues_archive > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.obj_issue_summary.jmerd-issue-card {
  background: #ffffff;
  border: 1px solid #e9e4dd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.obj_issue_summary.jmerd-issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  border-color: #d8d0c5;
}

.issue-cover-wrapper {
  background: #f7f4ee;
  border-bottom: 1px solid #e9e4dd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.issue-cover-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.obj_issue_summary:hover .issue-cover-img {
  transform: scale(1.03);
}

.issue-cover-placeholder {
  height: 200px;
  width: 100%;
  background: linear-gradient(135deg, var(--jmerd-primary) 0%, var(--jmerd-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 1.5rem;
  text-align: center;
}

.placeholder-crest {
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.placeholder-logo {
  max-height: 38px;
  width: auto;
}

.placeholder-journal {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--jmerd-tertiary);
  margin-bottom: 0.2rem;
}

.placeholder-series {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.issue-info-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.issue-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.issue-card-title a {
  color: var(--jmerd-primary);
  text-decoration: none;
}

.issue-card-title a:hover {
  color: var(--jmerd-theme);
  text-decoration: underline;
}

.issue-card-series {
  font-size: 0.88rem;
  color: #666;
  font-weight: 600;
}

.issue-card-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.btn-jmerd-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jmerd-primary);
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-jmerd-sm:hover {
  background: var(--jmerd-dark);
  box-shadow: 0 3px 8px rgba(108, 49, 53, 0.25);
  transform: translateY(-1px);
}

/* Pagination */
.cmp_pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.cmp_pagination .prev,
.cmp_pagination .next {
  background: #ffffff;
  border: 1px solid #d5cfc7;
  color: var(--jmerd-primary);
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.cmp_pagination .prev:hover,
.cmp_pagination .next:hover {
  background: var(--jmerd-primary);
  color: #ffffff;
  border-color: var(--jmerd-primary);
}

.cmp_pagination .current {
  color: #666;
  font-weight: 500;
}

/* ==========================================================================
   LOGIN & REGISTRATION CARDS AND RESPONSIVENESS
   ========================================================================== */

.page_login,
.page_register {
  min-height: 65vh;
}

.login-card-container {
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid #e8e3dc;
  padding: 2.75rem 2.5rem;
  border-top: 5px solid var(--jmerd-primary);
}

.register-card-container {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  border: 1px solid #e8e3dc;
  padding: 2.75rem 2.5rem;
  border-top: 5px solid var(--jmerd-primary);
}

@media (max-width: 768px) {
  .login-card-container,
  .register-card-container {
    padding: 1.75rem 1.25rem;
    margin: 0;
  }
}

.jmerd-form-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--jmerd-primary);
  margin-bottom: 0.35rem;
}

.jmerd-form-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
}

.jmerd-form-group {
  margin-bottom: 1.25rem;
}

.jmerd-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 1rem;
  color: #888;
  font-size: 1.05rem;
  pointer-events: none;
}

.input-with-icon .jmerd-input {
  padding-left: 2.75rem !important;
}

.jmerd-input,
.jmerd-select,
.cmp_form.login input[type="text"],
.cmp_form.login input[type="password"],
.cmp_form.register input[type="text"],
.cmp_form.register input[type="email"],
.cmp_form.register input[type="password"],
.cmp_form.register select {
  width: 100%;
  height: 48px;
  border: 1.5px solid #d5cfc7;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  background-color: #fafafa;
  color: #222;
  font-family: var(--font-body);
  transition: all 0.2s ease-in-out;
  display: block;
  box-sizing: border-box;
}

.jmerd-input:focus,
.jmerd-select:focus,
.cmp_form.login input[type="text"]:focus,
.cmp_form.login input[type="password"]:focus,
.cmp_form.register input[type="text"]:focus,
.cmp_form.register input[type="email"]:focus,
.cmp_form.register input[type="password"]:focus,
.cmp_form.register select:focus {
  border-color: var(--jmerd-primary);
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 49, 53, 0.15);
}

/* Register Fieldsets */
.cmp_form.register fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}

.cmp_form.register legend {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jmerd-primary);
  border-bottom: 2px solid #f1e6d5;
  width: 100%;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.cmp_form.register .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cmp_form.register .fields > .affiliation,
.cmp_form.register .fields > .country,
.cmp_form.register .fields > .optin,
.cmp_form.register .fields > .reviewer_interests,
.cmp_form.register .fields > .reviewer_nocontext_interests {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .cmp_form.register .fields {
    grid-template-columns: 1fr;
  }
  .cmp_form.register .fields > .affiliation,
  .cmp_form.register .fields > .country,
  .cmp_form.register .fields > .optin,
  .cmp_form.register .fields > .reviewer_interests,
  .cmp_form.register .fields > .reviewer_nocontext_interests {
    grid-column: span 1;
  }
}

.cmp_form.register .fields label {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.cmp_form.register .fields label .label {
  margin-bottom: 0.4rem;
}

.jmerd-checkbox-label,
.cmp_form.register .optin label,
.cmp_form.register .reviewer label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  font-weight: 400 !important;
  font-size: 0.92rem !important;
  color: #444 !important;
  cursor: pointer;
  line-height: 1.45;
}

.jmerd-checkbox-label input[type="checkbox"],
.cmp_form.register .optin input[type="checkbox"],
.cmp_form.register .reviewer input[type="checkbox"],
.cmp_form.login input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px !important;
  accent-color: var(--jmerd-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.btn-jmerd-primary,
.cmp_form.register .buttons .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--jmerd-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(108, 49, 53, 0.25);
  text-decoration: none !important;
}

.btn-jmerd-primary:hover,
.cmp_form.register .buttons .submit:hover {
  background-color: var(--jmerd-dark);
  box-shadow: 0 6px 16px rgba(84, 37, 40, 0.35);
  transform: translateY(-1px);
}

.btn-jmerd-primary:active,
.cmp_form.register .buttons .submit:active {
  transform: translateY(1px);
}

.jmerd-alert {
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.jmerd-alert-danger,
.cmp_form .pkp_form_error {
  background-color: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
}

.jmerd-alert-info {
  background-color: #f0f7ff;
  border: 1px solid #b8daff;
  color: #004085;
}


