/**
 * plugins/themes/modernojs/styles/backend.css
 *
 * Modern OJS Editorial Dashboard & Backend Theme
 * Emerald Green Academic Styling
 */

/* ==========================================================================
   GLOBAL APP STYLES & TYPOGRAPHY
   ========================================================================== */
body.pkp_page_submissions,
body.pkp_page_management,
body.pkp_page_stats,
body.pkp_page_workflow,
body.pkp_page_dashboard,
.app {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  color: #0f172a;
  background-color: #f8fafc !important;
}

/* ==========================================================================
   HEADER / TOPBAR
   ========================================================================== */
.app__header {
  background: linear-gradient(135deg, #042f24 0%, #064e3b 60%, #065f46 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 20px !important;
  z-index: 1000 !important;
}

.app__contextTitle {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.app__contextTitle:hover {
  color: #a7f3d0 !important;
}

.app__headerAction button {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.app__headerAction button:hover {
  background: #10b981 !important;
  border-color: #10b981 !important;
}

/* ==========================================================================
   SIDEBAR NAVIGATION
   ========================================================================== */
.app__nav {
  background-color: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.03) !important;
}

.app__nav a {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  margin: 2px 8px !important;
  transition: all 0.15s ease !important;
}

.app__nav a:hover {
  background-color: #ecfdf5 !important;
  color: #064e3b !important;
}

.app__nav a.-isCurrent {
  background-color: #064e3b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.25) !important;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.pkpButton--primary {
  background-color: #064e3b !important;
  border-color: #064e3b !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}

.pkpButton--primary:hover {
  background-color: #042f24 !important;
  border-color: #042f24 !important;
}

.pkpBadge {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
}
