/* ============================================================
   JOURNAL WEBSITE - MAIN STYLESHEET
   Aesthetic: Refined Academic / Editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy:       #1a3a5c;
  --navy-light: #2a4f7c;
  --navy-dark:  #0f2440;
  --gold:       #c8922a;
  --gold-light: #e6b84a;
  --red:        #c0392b;
  --green:      #27ae60;
  --gray-100:   #f8f9fa;
  --gray-200:   #e9ecef;
  --gray-300:   #dee2e6;
  --gray-500:   #adb5bd;
  --gray-700:   #495057;
  --gray-900:   #212529;
  --white:      #ffffff;
  --text:       #2c3e50;
  --text-light: #6c757d;
  --border:     #dce3ea;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --radius:     6px;
  --radius-lg:  12px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Source Sans 3', Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul, ol { padding-left: 1.5rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-8 { flex: 0 0 calc(66.666% - 12px); max-width: calc(66.666% - 12px); }
.col-4 { flex: 0 0 calc(33.333% - 12px); max-width: calc(33.333% - 12px); }
.col-6 { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 6px 0;
  letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.8); }
.topbar a:hover { color: var(--gold-light); }
.topbar .issn-info span { margin-right: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--navy);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-badge {
  width: 54px; height: 54px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  flex-shrink: 0;
}
.logo-badge img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; }
.logo-text .journal-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  max-width: 380px;
}
.logo-text .journal-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* Main Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 18px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
}
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--navy-dark);
  min-width: 220px;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 999;
  list-style: none; padding: 6px 0; margin: 0;
}
.main-nav .dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.main-nav .dropdown-menu li a:hover { color: var(--gold-light); background: rgba(255,255,255,0.05); }

.btn-submit-nav {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  margin-left: 12px;
}
.btn-submit-nav:hover { background: var(--gold-light) !important; }

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: all var(--transition); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.slider-section { position: relative; overflow: hidden; height: 380px; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s ease;
  background: var(--navy);
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.4);
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,0.85) 0%, rgba(26,58,92,0.6) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  max-width: 700px;
  padding: 0 40px;
}
.slide-content h2 {
  font-family: var(--font-head);
  color: white;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.slide-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}
.slider-controls {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
  transition: all var(--transition);
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none; color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer; z-index: 10;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.slider-arrow:hover { background: var(--gold); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-dark); color: white; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.6); color: white; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: white; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-danger { background: var(--red); color: white; }
.btn-success { background: var(--green); color: white; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.section-heading h2 { margin-bottom: 10px; }
.section-heading p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-heading-left {
  margin-bottom: 24px;
}
.section-heading-left h2 {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-heading-left h2::before {
  content: '';
  display: block;
  width: 4px; height: 28px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-header {
  background: var(--navy);
  color: white;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}
.card-body { padding: 20px; }
.card-footer { padding: 14px 20px; background: var(--gray-100); border-top: 1px solid var(--border); }

/* ============================================================
   JOURNAL INFO TABLE (Homepage)
   ============================================================ */
.journal-info-section { padding: 48px 0; background: var(--gray-100); }
.journal-info-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.journal-cover-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.journal-cover-box img { width: 100%; object-fit: cover; }
.journal-cover-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  height: 260px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white; text-align: center; padding: 20px;
}
.journal-cover-placeholder .abbr {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 700;
  color: var(--gold);
}
.journal-details-table table { width: 100%; border-collapse: collapse; }
.journal-details-table tr { border-bottom: 1px solid var(--border); }
.journal-details-table tr:last-child { border-bottom: none; }
.journal-details-table td {
  padding: 10px 14px;
  font-size: 0.9rem;
  vertical-align: top;
}
.journal-details-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 42%;
  white-space: nowrap;
}

/* ============================================================
   CURRENT ISSUE
   ============================================================ */
.current-issue-section { padding: 48px 0; }
.issue-header-bar {
  background: var(--navy);
  color: white;
  padding: 20px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex; justify-content: space-between; align-items: center;
}
.issue-header-bar h3 { font-family: var(--font-head); color: white; margin: 0; }
.article-list { border: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.article-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.article-item:last-child { border-bottom: none; }
.article-item:hover { background: var(--gray-100); }
.article-item-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.article-item-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.article-item-title a { color: inherit; }
.article-item-title a:hover { color: var(--gold); }
.article-item-authors {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-style: italic;
}
.article-item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-navy { background: var(--navy); color: white; }
.badge-gold { background: var(--gold); color: var(--navy-dark); }
.badge-green { background: var(--green); color: white; }
.badge-red { background: var(--red); color: white; }
.badge-gray { background: var(--gray-300); color: var(--gray-700); }
.badge-blue { background: #2980b9; color: white; }

/* ============================================================
   ARTICLE LANDING PAGE
   ============================================================ */
.article-page { padding: 40px 0; }
.article-page-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--navy-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}
.article-page-authors {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.article-meta-bar {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.article-meta-item label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 2px; font-weight: 600; }
.article-meta-item span { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.abstract-box {
  background: white;
  border-left: 4px solid var(--navy);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}
.abstract-box h4 { font-family: var(--font-head); color: var(--navy); margin-bottom: 10px; }
.abstract-box p { font-family: var(--font-serif); line-height: 1.8; font-size: 0.95rem; }
.keywords-box { margin-bottom: 24px; }
.keyword-tag {
  display: inline-block;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.82rem;
  color: var(--navy);
  margin: 3px;
}
.references-box { margin-top: 24px; }
.references-box ol { font-size: 0.88rem; line-height: 1.7; color: var(--gray-700); }
.article-stats-box {
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.article-stats-box .stat-row { display: flex; justify-content: space-around; }
.article-stats-box .stat-num { font-size: 1.8rem; font-weight: 700; color: var(--gold-light); }
.article-stats-box .stat-label { font-size: 0.78rem; opacity: 0.8; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-section { padding: 40px 0; }
.volume-block { margin-bottom: 32px; }
.volume-title {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 16px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.issue-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.issue-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.issue-card .issue-num { font-size: 2rem; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.issue-card .issue-label { font-size: 0.78rem; color: var(--text-light); }
.issue-card .issue-date { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-top: 4px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-widget-header {
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-link-list { list-style: none; padding: 0; margin: 0; }
.sidebar-link-list li { border-bottom: 1px solid var(--border); }
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a { display: block; padding: 9px 0; font-size: 0.88rem; color: var(--navy); }
.sidebar-link-list a:hover { color: var(--gold); padding-left: 6px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-box { text-align: center; padding: 12px 8px; background: var(--gray-100); border-radius: var(--radius); }
.stat-box .num { font-size: 1.5rem; font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.stat-box .lbl { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.announcement-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.announcement-item:last-child { border-bottom: none; }
.announcement-item a { font-weight: 600; color: var(--navy); }
.announcement-date { font-size: 0.75rem; color: var(--text-light); }

/* ============================================================
   INDEXING LOGOS
   ============================================================ */
.indexing-section { padding: 40px 0; background: var(--gray-100); }
.indexing-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}
.indexing-logo {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  height: 70px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.indexing-logo:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.indexing-logo img { max-height: 46px; max-width: 140px; object-fit: contain; filter: grayscale(0.3); }

/* ============================================================
   METRICS SECTION
   ============================================================ */
.metrics-section { padding: 48px 0; background: var(--navy); }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.metric-card { text-align: center; }
.metric-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.metric-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { padding: 48px 0; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.newsletter-box { max-width: 560px; margin: 0 auto; text-align: center; color: white; }
.newsletter-box h3 { color: white; margin-bottom: 8px; }
.newsletter-box p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 0; border-radius: var(--radius); overflow: hidden; }
.newsletter-form input[type=email] {
  flex: 1; padding: 14px 18px;
  border: none; font-size: 0.95rem;
  background: rgba(255,255,255,0.12);
  color: white;
  outline: none;
}
.newsletter-form input[type=email]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { padding: 14px 24px; background: var(--gold); color: var(--navy-dark); font-weight: 700; border: none; cursor: pointer; font-size: 0.9rem; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.form-label .required { color: var(--red); }
.form-control {
  display: block; width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
}
.form-control.is-invalid { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23aaa'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-text { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }
.invalid-feedback { font-size: 0.8rem; color: var(--red); margin-top: 4px; display: none; }
.is-invalid ~ .invalid-feedback { display: block; }
.form-check { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.form-check input { margin-top: 3px; flex-shrink: 0; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-danger  { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alert-warning { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; }
.alert-info    { background: #d1ecf1; border: 1px solid #bee5eb; color: #0c5460; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data-table thead { background: var(--navy); color: white; }
table.data-table thead th { padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
table.data-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
table.data-table tbody tr:hover { background: var(--gray-100); }
table.data-table tbody td { padding: 12px 16px; vertical-align: middle; }
table.data-table tbody tr:last-child { border-bottom: none; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--navy-dark);
  color: white;
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  display: flex; align-items: center; gap: 10px;
}
.admin-nav { padding: 12px 0; }
.admin-nav .nav-section-label {
  padding: 8px 20px 4px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
}
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  color: white;
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  padding-left: 17px;
}
.admin-nav a .icon { width: 18px; text-align: center; opacity: 0.8; }
.admin-topbar {
  margin-left: 260px;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-content { margin-left: 260px; padding: 28px; min-height: calc(100vh - 56px); background: var(--gray-100); }
.admin-page-title { font-family: var(--font-head); color: var(--navy-dark); font-size: 1.5rem; margin-bottom: 4px; }
.admin-breadcrumb { font-size: 0.8rem; color: var(--text-light); margin-bottom: 24px; }

/* Dashboard Stats */
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.dash-stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.dash-stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.dash-stat-icon.navy { background: rgba(26,58,92,0.1); color: var(--navy); }
.dash-stat-icon.gold { background: rgba(200,146,42,0.1); color: var(--gold); }
.dash-stat-icon.green { background: rgba(39,174,96,0.1); color: var(--green); }
.dash-stat-icon.red { background: rgba(192,57,43,0.1); color: var(--red); }
.dash-stat-icon.blue { background: rgba(41,128,185,0.1); color: #2980b9; }
.dash-stat-num { font-size: 1.8rem; font-weight: 700; color: var(--navy-dark); line-height: 1; }
.dash-stat-lbl { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ============================================================
   MULTI-STEP FORM
   ============================================================ */
.step-indicators { display: flex; margin-bottom: 32px; }
.step-indicator {
  flex: 1; text-align: center;
  position: relative; padding: 0 10px;
}
.step-indicator::after {
  content: ''; position: absolute;
  top: 20px; left: 60%; right: -40%;
  height: 2px; background: var(--border);
}
.step-indicator:last-child::after { display: none; }
.step-indicator.done::after { background: var(--navy); }
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border); color: var(--gray-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 8px;
  position: relative; z-index: 1;
  transition: all var(--transition);
}
.step-indicator.active .step-circle { background: var(--navy); color: white; }
.step-indicator.done .step-circle { background: var(--green); color: white; }
.step-label { font-size: 0.75rem; color: var(--text-light); display: block; }
.step-indicator.active .step-label { color: var(--navy); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about .journal-name { font-family: var(--font-head); font-size: 1.1rem; color: white; margin-bottom: 10px; }
.footer-about p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-issn { display: flex; gap: 20px; margin-top: 14px; }
.footer-issn span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ============================================================
   TRACKING / CERTIFICATE
   ============================================================ */
.tracking-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 600px;
  margin: 0 auto;
}
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline li { padding: 0 0 20px 50px; position: relative; }
.timeline li::before {
  content: ''; position: absolute;
  left: 10px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 2px solid white;
}
.timeline li.done::before { background: var(--green); }
.timeline li.current::before { background: var(--gold); }
.timeline-title { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.timeline-date { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   CERTIFICATE
   ============================================================ */
.certificate {
  border: 8px double var(--gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  background: white;
  max-width: 800px;
  margin: 0 auto;
}
.certificate h1 { color: var(--navy); font-size: 2.5rem; }
.certificate .cert-body { font-size: 1.1rem; line-height: 2; margin: 24px 0; }
.certificate .cert-seal { width: 80px; height: 80px; margin: 0 auto 16px; }

/* ============================================================
   LOADING STATE
   ============================================================ */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(0,0,0,0.1); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.pagination a {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem; color: var(--navy);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--navy); color: white; border-color: var(--navy); }
.pagination a.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .col-8 { flex: 0 0 100%; max-width: 100%; }
  .col-4 { flex: 0 0 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 220px; }
  .admin-topbar, .admin-content { margin-left: 220px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; }
  .main-nav .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.2); }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .slider-section { height: 280px; }
  .slider-section .slide-content { padding: 0 20px; }
  .journal-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { position: relative; width: 100%; }
  .admin-topbar, .admin-content { margin-left: 0; }
  .row { gap: 16px; }
  .col-6 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input, .newsletter-form button { width: 100%; border-radius: var(--radius) !important; }
}

/* ============================================================
   PRINT (for certificate)
   ============================================================ */
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: white; }
  .certificate { border-width: 4px; padding: 24px; }
}
