/**
 * Singularities Journal Manager - Public Stylesheet
 * Beautifully themed to match singularitiesjournal.org:
 * Header Background: #F3EAEA | Accent Teal: #006C6C | Secondary/Charcoal: #4E4747 | Font: Tahoma
 */

/* General Container Styling */
.sjm-search-portal-wrap,
.sjm-archives-wrapper,
.sjm-submission-wrapper,
.sjm-tracking-wrapper,
.sjm-review-portal-wrap {
	max-width: 1100px;
	margin: 30px auto;
	padding: 0 15px;
	font-family: "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #222222;
	line-height: 1.6;
}

.sjm-portal-title,
.sjm-submit-header h2,
.sjm-track-header h2,
.sjm-review-header h2 {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 6px;
}

.sjm-portal-desc,
.sjm-subtitle {
	color: #4E4747;
	font-size: 15px;
	margin-top: 0;
	margin-bottom: 20px;
}

/* ============================================================
   1. ARCHIVES PORTAL STYLES (Matching Header Theme)
   ============================================================ */

.sjm-archives-hero {
	background: #F3EAEA;
	background: linear-gradient(135deg, #F8F3F3 0%, #EFE5E5 100%);
	color: #1a1a1a;
	border: 1px solid #E2D5D5;
	border-radius: 12px;
	padding: 38px 32px;
	margin-bottom: 28px;
	box-shadow: 0 4px 16px rgba(78, 71, 71, 0.06);
}

.sjm-hero-badge {
	display: inline-block;
	background: #006C6C;
	color: #ffffff;
	padding: 4px 14px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 14px;
	box-shadow: 0 2px 4px rgba(0, 108, 108, 0.2);
}

.sjm-archives-title {
	font-size: 32px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 10px;
	letter-spacing: -0.5px;
}

.sjm-archives-desc {
	font-size: 15px;
	color: #4E4747;
	max-width: 760px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.sjm-archives-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	font-size: 13px;
	color: #006C6C;
	padding-top: 16px;
	border-top: 1px solid #DFD2D2;
}

.sjm-archives-stats .stat-item strong {
	color: #111827;
	font-weight: 700;
}

.sjm-archives-stats .stat-sep {
	color: #C4B5B5;
}

.sjm-archives-quicksearch {
	margin-top: 24px;
}

.sjm-arch-search-box {
	display: flex;
	background: #ffffff;
	border: 2px solid #006C6C;
	border-radius: 8px;
	padding: 3px;
	box-shadow: 0 4px 14px rgba(0, 108, 108, 0.08);
}

.sjm-arch-search-box input {
	flex: 1;
	border: none;
	padding: 12px 16px;
	font-size: 15px;
	outline: none;
	border-radius: 6px 0 0 6px;
	color: #111827;
	font-family: inherit;
}

.sjm-arch-search-box button {
	padding: 12px 26px;
	background: #006C6C;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	font-family: inherit;
	transition: background 0.2s;
}

.sjm-arch-search-box button:hover {
	background: #004F4F;
}

/* Era Tabs */
.sjm-era-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
	border-bottom: 2px solid #E8DFDF;
	padding-bottom: 2px;
}

.sjm-era-tab {
	background: #F8F3F3;
	border: 1px solid #E2D5D5;
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 600;
	color: #4E4747;
	cursor: pointer;
	margin-bottom: -2px;
	transition: all 0.2s;
	font-family: inherit;
}

.sjm-era-tab:hover {
	color: #006C6C;
	background: #ffffff;
}

.sjm-era-tab.active {
	color: #ffffff;
	background: #006C6C;
	border-color: #006C6C;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2);
}

/* Volume Block */
.sjm-volume-block {
	background: #ffffff;
	border: 1px solid #E8DFDF;
	border-radius: 12px;
	padding: 26px;
	margin-bottom: 26px;
	box-shadow: 0 2px 10px rgba(78, 71, 71, 0.04);
}

.sjm-volume-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #F3EAEA;
}

.sjm-vol-title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sjm-vol-badge {
	background: #F3EAEA;
	color: #006C6C;
	font-weight: 800;
	font-size: 13px;
	padding: 5px 14px;
	border-radius: 6px;
	border: 1px solid #E2D5D5;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.sjm-vol-year {
	font-size: 21px;
	font-weight: 700;
	color: #111827;
	margin: 0;
}

.sjm-vol-meta {
	font-size: 13px;
	color: #4E4747;
	font-weight: 500;
}

/* Issue Cards Grid */
.sjm-issues-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
}

.sjm-issue-card {
	background: #FAF6F6;
	border: 1px solid #EADFDF;
	border-radius: 10px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.2s;
}

.sjm-issue-card:hover {
	background: #ffffff;
	border-color: #006C6C;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 108, 108, 0.08);
}

.sjm-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.sjm-issue-pill {
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #006C6C;
	background: #E0EFEF;
	border: 1px solid #BFE0E0;
	padding: 4px 12px;
	border-radius: 9999px;
}

.sjm-badge-passed {
	background: #dcfce7;
	color: #166534;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
}

.sjm-issue-title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 6px;
}

.sjm-issue-meta {
	font-size: 13px;
	color: #4E4747;
	margin: 0 0 12px;
}

.sjm-issue-desc {
	font-size: 13px;
	color: #4E4747;
	margin-bottom: 18px;
	line-height: 1.5;
}

.sjm-issue-actions {
	display: flex;
	gap: 10px;
	margin-top: auto;
}

.sjm-issue-actions .sjm-btn-view,
.sjm-issue-actions .sjm-btn-download {
	flex: 1;
	text-align: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
	transition: all 0.15s;
}

/* Button 1: Read Online */
.sjm-btn-view {
	background: #F3EAEA;
	color: #006C6C;
	border: 1px solid #D5C6C6;
}

.sjm-btn-view:hover {
	background: #E8DDDD;
	color: #004D4D;
	border-color: #006C6C;
}

/* Button 2: Download PDF */
.sjm-btn-download {
	background: #006C6C;
	color: #ffffff;
	border: 1px solid #006C6C;
}

.sjm-btn-download:hover {
	background: #004F4F;
	color: #ffffff;
	border-color: #004F4F;
}

.sjm-arch-search-results-box {
	background: #ffffff;
	border: 1px solid #E8DFDF;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 25px;
	box-shadow: 0 4px 12px rgba(78, 71, 71, 0.05);
}

/* ============================================================
   2. SEARCH ENGINE STYLES
   ============================================================ */

.sjm-search-hero {
	background: #F3EAEA;
	background: linear-gradient(135deg, #F8F3F3 0%, #EFE5E5 100%);
	border: 1px solid #E2D5D5;
	border-radius: 12px;
	padding: 32px 30px;
	box-shadow: 0 4px 14px rgba(78, 71, 71, 0.05);
	margin-bottom: 24px;
}

.sjm-search-input-group {
	display: flex;
	position: relative;
	align-items: stretch;
	margin-bottom: 16px;
	width: 100%;
}

.sjm-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #006C6C;
	display: flex;
	align-items: center;
	pointer-events: none;
	z-index: 10;
}

#sjm-search-app .sjm-search-input-group input[type="text"],
.sjm-search-input-group input[type="text"] {
	flex: 1 1 auto !important;
	width: auto !important;
	padding-left: 54px !important;
	padding-right: 18px !important;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
	font-size: 15px !important;
	border: 2px solid #D5C6C6 !important;
	border-right: none !important;
	border-radius: 8px 0 0 8px !important;
	outline: none !important;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #ffffff !important;
	color: #1a1a1a !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
	height: 52px !important;
	line-height: normal !important;
}

#sjm-search-app .sjm-search-input-group input[type="text"]::placeholder,
.sjm-search-input-group input[type="text"]::placeholder {
	color: #766e6e !important;
	opacity: 1 !important;
}

#sjm-search-app .sjm-search-input-group input[type="text"]:focus,
.sjm-search-input-group input[type="text"]:focus {
	border-color: #006C6C !important;
	box-shadow: 0 0 0 3px rgba(0, 108, 108, 0.15) !important;
}

.sjm-search-scope-wrap {
	display: flex;
	align-items: stretch;
}

#sjm-search-app .sjm-search-scope-select,
.sjm-search-scope-select {
	height: 52px !important;
	padding: 0 16px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border: 2px solid #D5C6C6 !important;
	border-left: 1px solid #E2D5D5 !important;
	border-right: none !important;
	border-radius: 0 !important;
	background: #FAF6F6 !important;
	color: #4E4747 !important;
	outline: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	transition: border-color 0.2s, background 0.2s;
}

#sjm-search-app .sjm-search-scope-select:focus,
.sjm-search-scope-select:focus {
	border-color: #006C6C !important;
	background: #ffffff !important;
}

#sjm-search-app .sjm-btn-search,
.sjm-btn-search {
	height: 52px !important;
	padding: 0 28px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	background: #006C6C !important;
	border: none !important;
	border-radius: 0 8px 8px 0 !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	font-family: inherit !important;
	transition: background 0.2s !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

#sjm-search-app .sjm-btn-search:hover,
.sjm-btn-search:hover {
	background: #004F4F !important;
}

.sjm-filters-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #DFD2D2;
}

.sjm-filter-field {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sjm-filter-field label {
	font-size: 13px;
	font-weight: 600;
	color: #4E4747;
}

.sjm-filter-field select {
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #D5C6C6;
	border-radius: 6px;
	background: #ffffff;
	color: #111827;
	font-family: inherit;
}

.sjm-filter-field select:focus {
	border-color: #006C6C;
	outline: none;
}

#sjm-search-app #sjm-filter-author,
#sjm-filter-author {
	padding: 8px 12px !important;
	font-size: 13.5px !important;
	border: 1px solid #D5C6C6 !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	color: #111827 !important;
	font-family: inherit !important;
	min-width: 175px !important;
	height: 38px !important;
	box-sizing: border-box !important;
}

#sjm-search-app #sjm-filter-author:focus,
#sjm-filter-author:focus {
	border-color: #006C6C !important;
	box-shadow: 0 0 0 2px rgba(0, 108, 108, 0.15) !important;
	outline: none !important;
}

.sjm-btn-link {
	background: none;
	border: none;
	color: #006C6C;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	padding: 0;
	font-family: inherit;
}

/* Quick Author Filter Chips */
.sjm-quick-authors-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed #E2D5D5;
}

.sjm-quick-label {
	font-size: 12px;
	font-weight: 700;
	color: #4E4747;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.sjm-author-chips-scroll {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.sjm-author-chip {
	background: #ffffff;
	border: 1px solid #D5C6C6;
	color: #4E4747;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 11px;
	border-radius: 14px;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	font-family: inherit;
}

.sjm-author-chip:hover {
	border-color: #006C6C;
	color: #006C6C;
	background: #EBF4F4;
	transform: translateY(-1px);
}

.sjm-author-chip.active {
	background: #006C6C !important;
	color: #ffffff !important;
	border-color: #006C6C !important;
	font-weight: 600 !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.25);
}

.sjm-search-meta-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	color: #4E4747;
	font-size: 14px;
}

.sjm-search-results {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sjm-search-initial-state {
	text-align: center;
	padding: 50px 20px;
	background: #ffffff;
	border-radius: 12px;
	border: 1px dashed #D5C6C6;
}

.sjm-search-initial-state h3 {
	margin: 12px 0 6px;
	color: #111827;
}

.sjm-search-initial-state p {
	color: #4E4747;
	max-width: 500px;
	margin: 0 auto;
}

.sjm-article-card {
	background: #ffffff;
	border: 1px solid #E8DFDF;
	border-radius: 10px;
	padding: 22px;
	box-shadow: 0 2px 6px rgba(78, 71, 71, 0.03);
	transition: transform 0.15s, box-shadow 0.15s;
}

.sjm-article-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 108, 108, 0.08);
	border-color: #006C6C;
}

.sjm-article-card.is-author-match {
	border-color: #006C6C !important;
	border-width: 2px !important;
	box-shadow: 0 4px 14px rgba(0, 108, 108, 0.12) !important;
	background: linear-gradient(180deg, #FAFCFC 0%, #FFFFFF 100%) !important;
}

.sjm-article-card.is-pdf-match {
	border-color: #D97706 !important;
	box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12) !important;
}

.sjm-art-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
	gap: 10px;
}

.sjm-art-meta-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sjm-art-badges-row {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.sjm-format-badge-pdf {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #FFF1F0;
	color: #CF1322;
	border: 1px solid #FFA39E;
	font-size: 11px;
	font-weight: 700;
	padding: 2.5px 8px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.4;
}

.sjm-format-badge-pdf svg {
	stroke: #CF1322;
	flex-shrink: 0;
}

.sjm-pdf-match-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #FEF3C7;
	color: #92400E;
	font-size: 11px;
	font-weight: 700;
	padding: 2.5px 9px;
	border-radius: 12px;
	border: 1px solid #FCD34D;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.4;
}

.sjm-pdf-match-badge svg {
	stroke: #92400E;
	flex-shrink: 0;
}

.sjm-author-match-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #E1F0F0;
	color: #006C6C;
	font-size: 11px;
	font-weight: 700;
	padding: 2.5px 9px;
	border-radius: 12px;
	border: 1px solid #B8DFDF;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.4;
}

.sjm-author-match-badge svg {
	stroke: #006C6C;
	flex-shrink: 0;
}

.sjm-art-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #006C6C;
	font-weight: 700;
}

.sjm-art-title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px;
}

.sjm-art-authors {
	font-size: 13.5px;
	color: #4E4747;
	margin-bottom: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.sjm-art-author-label {
	color: #111827;
	margin-right: 2px;
}

.sjm-author-pills-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.sjm-author-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #F3EAEA;
	border: 1px solid #D5C6C6;
	color: #006C6C;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
	line-height: 1.4;
}

.sjm-author-pill:hover {
	background: #006C6C;
	border-color: #006C6C;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2);
}

.sjm-author-pill:hover svg {
	stroke: #ffffff;
}

.sjm-author-pill svg {
	stroke: #006C6C;
	flex-shrink: 0;
	transition: stroke 0.15s ease;
}

.sjm-art-snippet {
	font-size: 14px;
	line-height: 1.6;
	color: #333333;
	background: #FAF6F6;
	padding: 12px 14px;
	border-radius: 6px;
	border-left: 3px solid #006C6C;
	margin-bottom: 16px;
}

.sjm-art-snippet.sjm-snippet-pdf {
	background: #FFFDF7;
	border-left-color: #D97706;
}

.sjm-snippet-tag {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.sjm-snippet-tag.tag-pdf {
	color: #B45309;
}

.sjm-snippet-tag.tag-pdf svg {
	stroke: #B45309;
	flex-shrink: 0;
}

.sjm-snippet-tag.tag-author {
	color: #006C6C;
}

.sjm-snippet-tag.tag-author svg {
	stroke: #006C6C;
	flex-shrink: 0;
}

.sjm-snippet-body {
	color: #333333;
	line-height: 1.6;
}

mark.sjm-highlight {
	background: #fff3bf;
	color: #854d0e;
	padding: 0 3px;
	border-radius: 2px;
	font-weight: 700;
}

.sjm-art-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 14px;
}

/* 1. Download PDF Button - Exact Matching Spruce Teal (#006C6C) */
#sjm-search-app a.sjm-btn-download,
#sjm-search-app .sjm-btn-download,
#sjm-archives-app a.sjm-btn-download,
#sjm-archives-app .sjm-btn-download,
.sjm-art-actions a.sjm-btn-download,
.sjm-issue-actions a.sjm-btn-download,
a.sjm-btn-download,
button.sjm-btn-download,
.sjm-btn-download {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 10px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	background: #006C6C !important;
	background-color: #006C6C !important;
	border: 2px solid #006C6C !important;
	border-radius: 25px !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-family: inherit !important;
	line-height: normal !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2) !important;
	transition: all 0.2s ease-in-out !important;
}

#sjm-search-app a.sjm-btn-download:link,
#sjm-search-app a.sjm-btn-download:visited,
#sjm-archives-app a.sjm-btn-download:link,
#sjm-archives-app a.sjm-btn-download:visited,
.sjm-art-actions a.sjm-btn-download:link,
.sjm-art-actions a.sjm-btn-download:visited,
a.sjm-btn-download:link,
a.sjm-btn-download:visited {
	color: #ffffff !important;
	background: #006C6C !important;
	background-color: #006C6C !important;
	border-color: #006C6C !important;
	text-decoration: none !important;
}

#sjm-search-app a.sjm-btn-download:hover,
#sjm-search-app .sjm-btn-download:hover,
#sjm-archives-app a.sjm-btn-download:hover,
#sjm-archives-app .sjm-btn-download:hover,
.sjm-art-actions a.sjm-btn-download:hover,
.sjm-issue-actions a.sjm-btn-download:hover,
a.sjm-btn-download:hover,
button.sjm-btn-download:hover,
.sjm-btn-download:hover {
	background: #004F4F !important;
	background-color: #004F4F !important;
	border-color: #004F4F !important;
	color: #ffffff !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 108, 108, 0.35) !important;
	transform: translateY(-1px) !important;
}

#sjm-search-app a.sjm-btn-download:active,
a.sjm-btn-download:active {
	transform: translateY(0) !important;
	background: #003D3D !important;
	background-color: #003D3D !important;
}

/* 2. View in Browser Button - Matching Spruce Teal (#006C6C) */
#sjm-search-app button.sjm-btn-view,
#sjm-search-app .sjm-btn-view,
#sjm-archives-app button.sjm-btn-view,
#sjm-archives-app .sjm-btn-view,
.sjm-art-actions button.sjm-btn-view,
.sjm-issue-actions button.sjm-btn-view,
button.sjm-btn-view,
a.sjm-btn-view,
.sjm-btn-view {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 10px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	background: #006C6C !important;
	background-color: #006C6C !important;
	border: 2px solid #006C6C !important;
	border-radius: 25px !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-family: inherit !important;
	line-height: normal !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2) !important;
	transition: all 0.2s ease-in-out !important;
}

#sjm-search-app button.sjm-btn-view:hover,
#sjm-search-app .sjm-btn-view:hover,
#sjm-archives-app button.sjm-btn-view:hover,
#sjm-archives-app .sjm-btn-view:hover,
.sjm-art-actions button.sjm-btn-view:hover,
.sjm-issue-actions button.sjm-btn-view:hover,
button.sjm-btn-view:hover,
a.sjm-btn-view:hover,
.sjm-btn-view:hover {
	background: #004F4F !important;
	background-color: #004F4F !important;
	border-color: #004F4F !important;
	color: #ffffff !important;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 108, 108, 0.35) !important;
	transform: translateY(-1px) !important;
}

#sjm-search-app button.sjm-btn-view:active,
button.sjm-btn-view:active {
	transform: translateY(0) !important;
	background: #003D3D !important;
	background-color: #003D3D !important;
}

/* 3. Open in New Tab Button */
#sjm-search-app a.sjm-btn-tab,
#sjm-search-app .sjm-btn-tab,
.sjm-art-actions a.sjm-btn-tab,
a.sjm-btn-tab {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 10px 18px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #006C6C !important;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border: 1.5px solid #006C6C !important;
	border-radius: 25px !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-family: inherit !important;
	line-height: normal !important;
	transition: all 0.2s ease-in-out !important;
}

#sjm-search-app a.sjm-btn-tab:hover,
.sjm-art-actions a.sjm-btn-tab:hover,
a.sjm-btn-tab:hover {
	background: #EBF4F4 !important;
	background-color: #EBF4F4 !important;
	color: #004F4F !important;
	border-color: #004F4F !important;
	text-decoration: none !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 3px 8px rgba(0, 108, 108, 0.15) !important;
}

#sjm-search-app a.sjm-btn-tab:active,
a.sjm-btn-tab:active {
	transform: translateY(0) !important;
	background: #DEEEEE !important;
}

/* Pagination */
.sjm-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-top: 30px;
}

.sjm-page-btn {
	padding: 8px 18px;
	border: 1px solid #D5C6C6;
	background: #ffffff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #4E4747;
	font-family: inherit;
	transition: all 0.15s;
}

.sjm-page-btn:hover:not(:disabled) {
	background: #F3EAEA;
	border-color: #006C6C;
	color: #006C6C;
}

.sjm-page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ============================================================
   3. SUBMISSION WIZARD STYLES
   ============================================================ */

.sjm-guidelines-banner {
	background: #F3EAEA;
	border-left: 4px solid #006C6C;
	padding: 15px 18px;
	border-radius: 6px;
	font-size: 14px;
	color: #111827;
	margin-bottom: 24px;
}

.sjm-steps-bar {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 30px;
}

.sjm-steps-bar::before {
	content: '';
	position: absolute;
	top: 18px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #E8DFDF;
	z-index: 1;
}

.sjm-step-item {
	position: relative;
	z-index: 2;
	background: #ffffff;
	padding: 0 10px;
	text-align: center;
	cursor: pointer;
}

.sjm-step-item .step-num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #E8DFDF;
	color: #4E4747;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 6px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.2s;
}

.sjm-step-item.active .step-num {
	background: #006C6C;
	color: #ffffff;
	box-shadow: 0 0 0 4px #D0EBEB;
}

.sjm-step-item.completed .step-num {
	background: #10b981;
	color: #ffffff;
}

.sjm-step-item .step-title {
	font-size: 13px;
	font-weight: 600;
	color: #4E4747;
}

.sjm-step-item.active .step-title {
	color: #006C6C;
}

.sjm-step-panel {
	display: none;
	background: #ffffff;
	border: 1px solid #E8DFDF;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 12px rgba(78, 71, 71, 0.04);
}

.sjm-step-panel.active {
	display: block;
}

.panel-heading {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #F3EAEA;
}

.sjm-form-row {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.sjm-form-col {
	flex: 1;
}

.sjm-form-col.full {
	flex: 100%;
}

@media (max-width: 768px) {
	.sjm-form-row {
		flex-direction: column;
	}
	.sjm-search-input-group {
		flex-direction: column;
		gap: 8px;
	}
	#sjm-search-app .sjm-search-input-group input[type="text"],
	.sjm-search-input-group input[type="text"] {
		border-radius: 8px !important;
		border-right: 2px solid #D5C6C6 !important;
	}
	.sjm-search-scope-wrap {
		width: 100%;
	}
	#sjm-search-app .sjm-search-scope-select,
	.sjm-search-scope-select {
		border-radius: 8px !important;
		border: 2px solid #D5C6C6 !important;
		width: 100% !important;
	}
	#sjm-search-app .sjm-btn-search,
	.sjm-btn-search {
		border-radius: 8px !important;
		width: 100% !important;
	}
	.sjm-filter-author-field {
		width: 100%;
	}
	#sjm-search-app #sjm-filter-author,
	#sjm-filter-author {
		width: 100% !important;
	}
}

.sjm-form-col label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333333;
	margin-bottom: 6px;
}

.sjm-form-col .required {
	color: #dc2626;
}

.sjm-form-col input[type="text"],
.sjm-form-col input[type="email"],
.sjm-form-col input[type="tel"],
.sjm-form-col select,
.sjm-form-col textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #D5C6C6;
	border-radius: 6px;
	font-size: 14px;
	color: #111827;
	box-sizing: border-box;
	font-family: inherit;
}

.sjm-form-col input:focus,
.sjm-form-col textarea:focus,
.sjm-form-col select:focus {
	outline: none;
	border-color: #006C6C;
	box-shadow: 0 0 0 3px rgba(0, 108, 108, 0.12);
}

.sjm-form-col .hint {
	font-size: 12px;
	color: #4E4747;
	display: block;
	margin-top: 4px;
}

.sjm-counter {
	font-size: 12px;
	font-weight: 600;
	color: #4E4747;
}

.sjm-counter.valid { color: #16a34a; }
.sjm-counter.invalid { color: #dc2626; }

.sjm-coauthors-block {
	background: #FAF6F6;
	padding: 16px;
	border-radius: 8px;
	border: 1px solid #EADFDF;
	margin: 20px 0;
}

.sjm-coauthor-row {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
}

.sjm-upload-box {
	background: #FAF6F6;
	border: 2px dashed #D5C6C6;
	border-radius: 8px;
	padding: 20px;
	position: relative;
}

.sjm-upload-box .upload-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	background: #E8DFDF;
	color: #4E4747;
}

.sjm-upload-box .upload-badge.required-badge {
	background: #fee2e2;
	color: #991b1b;
}

.sjm-upload-box input[type="file"] {
	margin-top: 10px;
	display: block;
	font-family: inherit;
}

.sjm-declarations-box {
	background: #FAF6F6;
	border: 1px solid #EADFDF;
	padding: 18px;
	border-radius: 8px;
}

.sjm-declarations-box h4 {
	margin: 0 0 12px;
	font-size: 14px;
	color: #111827;
}

.sjm-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: #333333;
	margin-bottom: 10px;
	cursor: pointer;
}

.sjm-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	accent-color: #006C6C;
}

.sjm-step-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #F3EAEA;
}

.sjm-btn-next,
.sjm-btn-submit,
.sjm-btn-primary {
	background-color: #006C6C !important;
	color: #ffffff !important;
	border: 1px solid #006C6C !important;
	padding: 10px 22px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	font-family: inherit !important;
	transition: all 0.2s ease !important;
	line-height: 1.4 !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2) !important;
}

.sjm-btn-next *,
.sjm-btn-submit *,
.sjm-btn-primary * {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

.sjm-btn-next:hover,
.sjm-btn-submit:hover,
.sjm-btn-primary:hover,
.sjm-btn-primary:focus,
.sjm-btn-primary:active {
	background-color: #004F4F !important;
	border-color: #004F4F !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 108, 108, 0.3) !important;
	transform: translateY(-1px) !important;
}

.sjm-btn-prev {
	background-color: #FAF6F6 !important;
	color: #4E4747 !important;
	border: 1px solid #D5C6C6 !important;
	padding: 10px 20px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: all 0.15s ease !important;
}

.sjm-btn-prev:hover {
	background-color: #EFE5E5 !important;
	color: #1A1A1A !important;
}

.sjm-btn-secondary {
	background-color: #4E4747 !important;
	color: #ffffff !important;
	border: 1px solid #4E4747 !important;
	padding: 10px 20px !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
}

.sjm-btn-secondary * {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

.sjm-btn-secondary:hover {
	background-color: #222222 !important;
	border-color: #222222 !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

.sjm-success-card {
	text-align: center;
	padding: 40px 20px;
}

.sjm-success-icon {
	width: 64px;
	height: 64px;
	background: #E0EFEF;
	color: #006C6C;
	border-radius: 50%;
	font-size: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.sjm-tracking-box {
	background: #FAF6F6;
	border: 2px dashed #006C6C;
	border-radius: 8px;
	padding: 20px;
	max-width: 440px;
	margin: 24px auto;
}

.sjm-tracking-box .tracking-label {
	font-size: 11px;
	font-weight: 700;
	color: #4E4747;
	letter-spacing: 1px;
	display: block;
}

.sjm-tracking-box .tracking-code-val {
	font-size: 26px;
	font-weight: 800;
	color: #006C6C;
	margin: 6px 0;
	font-family: monospace;
}

.sjm-next-steps {
	max-width: 520px;
	margin: 20px auto;
	text-align: left;
	background: #ffffff;
	padding: 16px 20px;
	border-radius: 8px;
	border: 1px solid #E8DFDF;
}

/* ============================================================
   4. TRACKING PORTAL STYLES
   ============================================================ */

.sjm-tracking-lookup-form {
	background: #ffffff;
	padding: 24px;
	border: 1px solid #E8DFDF;
	border-radius: 10px;
}

.sjm-tracking-card {
	background: #ffffff;
	border: 1px solid #E8DFDF;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 4px 12px rgba(78, 71, 71, 0.05);
}

.sjm-tracking-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.sjm-track-badge {
	font-family: monospace;
	font-size: 13px;
	background: #E0EFEF;
	color: #006C6C;
	padding: 3px 8px;
	border-radius: 4px;
	font-weight: 700;
}

.sjm-track-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	margin: 35px 0;
}

.track-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

.track-step .step-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #E8DFDF;
	color: #4E4747;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 8px;
}

.track-step.step-done .step-circle {
	background: #006C6C;
	color: #ffffff;
}

.track-step.step-active .step-circle {
	background: #006C6C;
	color: #ffffff;
	box-shadow: 0 0 0 4px #D0EBEB;
}

.track-step .step-text {
	font-size: 12px;
	font-weight: 600;
	color: #4E4747;
}

.track-line {
	flex: 1;
	height: 3px;
	background: #E8DFDF;
	margin: 0 10px 24px;
	position: relative;
	z-index: 1;
}

.track-line.line-done {
	background: #006C6C;
}

.sjm-editorial-notes-box {
	background: #FAF6F6;
	border-left: 4px solid #006C6C;
	padding: 16px 20px;
	border-radius: 6px;
}

.sjm-editorial-notes-box h4 {
	margin: 0 0 8px;
	color: #006C6C;
}

.sjm-submission-alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-top: 15px;
	font-size: 14px;
}

.sjm-alert-error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.sjm-alert-success {
	background: #dcfce7;
	color: #166534;
	border: 1px solid #bbf7d0;
}

/* Modal PDF Viewer */
.sjm-pub-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(17, 24, 39, 0.7);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sjm-pub-modal-content {
	background: #ffffff;
	border-radius: 12px;
	width: 920px;
	max-width: 95%;
	height: 85vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sjm-pub-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	background: #F3EAEA;
	border-bottom: 2px solid #E2D5D5;
}

.sjm-pub-modal-header h4 {
	margin: 0;
	color: #111827;
	font-size: 16px;
	font-weight: 700;
}

.sjm-modal-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sjm-pub-modal-close {
	font-size: 26px;
	cursor: pointer;
	color: #4E4747;
	line-height: 1;
}

.sjm-pub-modal-close:hover {
	color: #000000;
}

.sjm-pub-modal-body {
	flex: 1;
	background: #525659;
}

.sjm-pub-modal-body iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* ============================================================
   5. AUTHENTICATION PORTAL (Login & Sign-Up)
   ============================================================ */
.sjm-auth-wrapper {
	max-width: 640px;
	margin: 35px auto;
	padding: 0 15px;
	font-family: "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sjm-auth-card {
	background: #ffffff;
	border: 1px solid #E2D5D5;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(78, 71, 71, 0.08);
	padding: 32px 36px;
	overflow: hidden;
}

.sjm-auth-brand {
	margin-bottom: 24px;
}

.sjm-journal-badge {
	display: inline-block;
	background: #006C6C;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 9999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.sjm-auth-brand h2 {
	margin: 0 0 6px;
	font-size: 22px;
	color: #1a1a1a;
	font-weight: 700;
}

/* Tabs */
.sjm-auth-tabs {
	display: flex;
	border-bottom: 2px solid #E2D5D5;
	margin-bottom: 24px;
	gap: 8px;
}

.sjm-tab-btn {
	flex: 1;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #4E4747;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	outline: none;
}

.sjm-tab-btn:hover {
	color: #006C6C;
	background: #F3EAEA;
}

.sjm-tab-btn.active {
	color: #006C6C;
	border-bottom-color: #006C6C;
	background: #ffffff;
}

.sjm-tab-content {
	display: none;
}

.sjm-tab-content.active {
	display: block;
	animation: sjm-fade-in 0.25s ease;
}

@keyframes sjm-fade-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Password eye toggle */
.sjm-password-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.sjm-password-wrapper input {
	width: 100%;
	padding-right: 40px !important;
}

.sjm-toggle-eye {
	position: absolute;
	right: 12px;
	cursor: pointer;
	color: #64748b;
	font-size: 18px;
	user-select: none;
}

.sjm-toggle-eye:hover {
	color: #006C6C;
}

.sjm-remember-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	margin-top: 10px;
}

.sjm-checkbox-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: #334155;
}

.sjm-checkbox-label input {
	width: auto !important;
	margin: 0 !important;
}

.sjm-btn-primary.full-width {
	width: 100%;
	text-align: center;
	padding: 12px;
	font-size: 15px;
	font-weight: 700;
}

.sjm-terms-note {
	margin-top: 18px;
	font-size: 12px;
	color: #64748b;
	text-align: center;
	line-height: 1.5;
}

.sjm-forgot-panel {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px dashed #cbd5e1;
}

.sjm-divider {
	border: 0;
	border-top: 1px solid #e2e8f0;
	margin: 20px 0;
}

/* User Profile Card (when logged in) */
.sjm-user-profile-card {
	text-align: center;
}

.sjm-user-avatar img {
	border-radius: 50%;
	border: 3px solid #006C6C;
	box-shadow: 0 4px 10px rgba(0, 108, 108, 0.15);
}

.sjm-welcome-title {
	margin: 12px 0 4px;
	color: #1a1a1a;
	font-size: 24px;
}

.sjm-profile-summary-box {
	background: #F3EAEA;
	border: 1px solid #E2D5D5;
	border-radius: 8px;
	padding: 16px 20px;
	margin: 20px 0;
	text-align: left;
}

.sjm-profile-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid #E2D5D5;
	font-size: 14px;
}

.sjm-profile-row:last-child {
	border-bottom: none;
}

.sjm-profile-row .label {
	color: #4E4747;
	font-weight: 600;
}

.sjm-profile-row .value {
	color: #1a1a1a;
	font-weight: 500;
	text-align: right;
}

.sjm-profile-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sjm-btn-secondary {
	display: inline-block;
	background: #4E4747;
	color: #ffffff !important;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
	text-align: center;
}

.sjm-btn-secondary:hover {
	background: #2a2525;
}

.sjm-btn-link {
	background: transparent;
	border: none;
	color: #64748b;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
	padding: 6px;
}

.sjm-btn-link:hover {
	color: #dc2626;
}

/* ============================================================
   6. RESTRICTED ACCESS BARRIER (Locked Page Notice)
   ============================================================ */
.sjm-restricted-barrier {
	max-width: 620px;
	margin: 40px auto;
	background: #ffffff;
	border: 1px solid #E2D5D5;
	border-top: 4px solid #006C6C;
	border-radius: 12px;
	padding: 38px 32px;
	text-align: center;
	box-shadow: 0 8px 30px rgba(0, 108, 108, 0.08);
	font-family: "Tahoma", sans-serif;
}

.sjm-barrier-icon {
	width: 64px;
	height: 64px;
	background: #F0F8F8;
	border: 1px solid #C4E2E2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	color: #006C6C;
}

.sjm-barrier-content h3 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #1a1a1a;
	font-weight: 700;
}

.sjm-barrier-content p {
	color: #555555;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 24px;
}

.sjm-barrier-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sjm-barrier-footer {
	margin-top: 20px;
	font-size: 13px;
	color: #64748b;
}

/* ============================================================
   7. AUTHOR DASHBOARD & PROCESS TRACKER
   ============================================================ */
.sjm-author-dashboard-wrap {
	max-width: 1100px;
	margin: 30px auto;
	padding: 0 15px;
	font-family: "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #222222;
	line-height: 1.6;
}

.sjm-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	border: 1px solid #E2D5D5;
	border-top: 4px solid #006C6C;
	border-radius: 10px;
	padding: 24px 28px;
	margin-bottom: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
	flex-wrap: wrap;
	gap: 16px;
}

.sjm-welcome-badge {
	display: inline-block;
	background: #F0F8F8;
	color: #006C6C;
	border: 1px solid #C4E2E2;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 6px;
}

.sjm-dashboard-welcome h2 {
	margin: 0 0 6px;
	font-size: 24px;
	color: #1a1a1a;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.sjm-dashboard-welcome .sjm-subtitle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: #555555;
	font-size: 14px;
}

.sjm-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #555555;
}

.sjm-dashboard-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.sjm-btn-outline {
	background-color: #ffffff !important;
	border: 1px solid #C4B5B5 !important;
	color: #4E4747 !important;
	padding: 9px 18px !important;
	border-radius: 6px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-size: 13px !important;
	font-family: inherit !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.sjm-btn-outline * {
	color: #4E4747 !important;
	stroke: #4E4747 !important;
}

.sjm-btn-outline:hover {
	background-color: #FAF6F6 !important;
	border-color: #006C6C !important;
	color: #006C6C !important;
}

.sjm-btn-outline:hover * {
	color: #006C6C !important;
	stroke: #006C6C !important;
}

/* Dash Stats Grid */
.sjm-dash-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.sjm-stat-card {
	background: #ffffff;
	border: 1px solid #E2D5D5;
	border-left: 4px solid #006C6C;
	border-radius: 8px;
	padding: 18px 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sjm-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.sjm-stat-card.border-blue { border-left-color: #2563EB; }
.sjm-stat-card.border-amber { border-left-color: #D97706; }
.sjm-stat-card.border-green { border-left-color: #0D9488; }

.sjm-stat-card .sjm-stat-data {
	display: flex;
	flex-direction: column;
}

.sjm-stat-card .stat-number {
	font-size: 30px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.1;
}

.sjm-stat-card .stat-label {
	font-size: 13px;
	color: #555555;
	margin-top: 5px;
	font-weight: 600;
}

.sjm-stat-card .stat-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #F0F8F8;
	color: #006C6C;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sjm-stat-card.border-blue .stat-icon-wrap {
	background: #EFF6FF;
	color: #2563EB;
}

.sjm-stat-card.border-amber .stat-icon-wrap {
	background: #FEF3C7;
	color: #B45309;
}

.sjm-stat-card.border-green .stat-icon-wrap {
	background: #ECFDF5;
	color: #0D9488;
}

/* Empty State Card */
.sjm-empty-state-card {
	background: #ffffff;
	border: 1px dashed #C4B5B5;
	border-radius: 12px;
	padding: 48px 30px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
	margin: 20px 0 30px;
}

.sjm-empty-icon-wrap {
	width: 72px;
	height: 72px;
	background: #F0F8F8;
	border: 1px solid #D1E7E7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	color: #006C6C;
}

.sjm-empty-state-card h4 {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.sjm-empty-state-card p {
	color: #555555;
	font-size: 14px;
	max-width: 520px;
	margin: 0 auto 22px;
	line-height: 1.5;
}

/* Section Header */
.sjm-dash-section-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 2px solid #E2D5D5;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.sjm-dash-section-header h3 {
	margin: 0;
	font-size: 19px;
	color: #1a1a1a;
	font-weight: 700;
}

/* Submissions Stack */
.sjm-submissions-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.sjm-submission-entry-card {
	background: #ffffff;
	border: 1px solid #E2D5D5;
	border-radius: 10px;
	padding: 24px 28px;
	box-shadow: 0 3px 12px rgba(78, 71, 71, 0.05);
	transition: box-shadow 0.2s;
}

.sjm-submission-entry-card:hover {
	box-shadow: 0 6px 18px rgba(78, 71, 71, 0.09);
}

.sjm-entry-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.sjm-code-pill {
	display: inline-block;
	background: #006C6C;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.sjm-discipline-pill {
	display: inline-block;
	background: #F3EAEA;
	color: #4E4747;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 4px;
	margin-left: 6px;
}

.sjm-manuscript-heading {
	margin: 10px 0 6px;
	font-size: 18px;
	color: #0f172a;
	font-weight: 700;
	line-height: 1.4;
}

.sjm-entry-meta {
	font-size: 13px;
	color: #64748b;
}

/* Visual Stepper Progress Bar */
.sjm-dash-stepper {
	display: flex;
	align-items: center;
	margin: 24px 0 20px;
	overflow-x: auto;
	padding-bottom: 6px;
}

.dash-step-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 80px;
	text-align: center;
}

.dash-step-node .node-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	border: 2px solid transparent;
	transition: all 0.2s ease;
}

.dash-step-node .node-label {
	font-size: 11px;
	color: #64748b;
	margin-top: 6px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.dash-step-node.completed .node-circle {
	background: #006C6C;
	color: #ffffff;
}
.dash-step-node.completed .node-label {
	color: #006C6C;
}

.dash-step-node.current .node-circle {
	background: #ffffff;
	border-color: #006C6C;
	color: #006C6C;
	box-shadow: 0 0 0 4px rgba(0, 108, 108, 0.15);
}
.dash-step-node.current .node-label {
	color: #006C6C;
	font-weight: 700;
}

.dash-step-node.rejected .node-circle {
	background: #dc2626;
	color: #ffffff;
}
.dash-step-node.rejected .node-label {
	color: #dc2626;
}

.dash-step-connector {
	flex: 1;
	height: 3px;
	background: #e2e8f0;
	margin: 0 6px;
	position: relative;
	top: -10px;
}

.dash-step-connector.filled {
	background: #006C6C;
}

/* Stage Info Banner */
.sjm-stage-info-banner {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 16px;
	margin: 16px 0;
	font-size: 13px;
}

.sjm-stage-info-banner .dashicons {
	color: #006C6C;
	margin-top: 2px;
}

.sjm-stage-info-banner p {
	margin: 4px 0 0;
	color: #475569;
}

/* Author Feedback Box */
.sjm-author-feedback-box {
	background: #fffbeb;
	border-left: 4px solid #d97706;
	border-radius: 6px;
	padding: 14px 18px;
	margin: 16px 0;
}

.sjm-author-feedback-box h4 {
	margin: 0 0 6px;
	font-size: 14px;
	color: #b45309;
	display: flex;
	align-items: center;
	gap: 6px;
}

.sjm-author-feedback-box .feedback-body {
	font-size: 13px;
	color: #78350f;
	line-height: 1.6;
}

/* Revision Box */
.sjm-dash-revision-box {
	background: #F0F8F8;
	border: 1px solid #C4E2E2;
	border-left: 4px solid #006C6C;
	border-radius: 8px;
	padding: 18px 22px;
	margin: 18px 0;
}

.sjm-dash-revision-box h4 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	color: #006C6C;
}

.sjm-dash-revision-box p {
	margin: 0 0 12px;
	font-size: 13px;
	color: #334155;
}

.sjm-file-input {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 13px;
}

/* Process Timeline Accordion */
.sjm-timeline-accordion {
	margin: 16px 0;
}

.sjm-timeline-toggle-btn {
	width: 100%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 10px 16px;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.15s;
}

.sjm-timeline-toggle-btn:hover {
	background: #f1f5f9;
	color: #006C6C;
}

.sjm-timeline-toggle-btn .toggle-arrow {
	transition: transform 0.2s;
}

.sjm-timeline-toggle-btn.active .toggle-arrow {
	transform: rotate(180deg);
}

.sjm-timeline-drawer {
	display: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: none;
	border-radius: 0 0 6px 6px;
	padding: 16px 20px;
}

.sjm-timeline-drawer.open {
	display: block;
	animation: sjm-fade-in 0.2s ease;
}

.sjm-timeline-list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 12px;
	position: relative;
}

.sjm-timeline-list::before {
	content: '';
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 17px;
	width: 2px;
	background: #e2e8f0;
}

.timeline-item {
	position: relative;
	padding-left: 28px;
	margin-bottom: 18px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-marker {
	position: absolute;
	left: 0;
	top: 4px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #006C6C;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 2px #006C6C;
}

.timeline-header {
	font-size: 13px;
}

.timeline-header strong {
	color: #0f172a;
}

.timeline-date {
	font-size: 12px;
	color: #64748b;
}

.timeline-notes {
	margin: 6px 0 4px;
	padding: 6px 10px;
	background: #f8fafc;
	border-left: 3px solid #006C6C;
	border-radius: 4px;
	font-size: 12px;
	color: #334155;
	line-height: 1.5;
}

.timeline-author {
	display: block;
	font-size: 11px;
	color: #94a3b8;
}

/* Documents Footer */
.sjm-entry-footer {
	border-top: 1px solid #f1f5f9;
	padding-top: 14px;
	margin-top: 16px;
}

.sjm-doc-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	color: #334155;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.15s;
}

.sjm-doc-badge:hover {
	background: #e2e8f0;
	color: #006C6C;
}

.sjm-doc-badge.revision {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

/* User Active Banner in Submit Portal */
.sjm-user-active-banner {
	display: flex;
	gap: 12px;
	align-items: center;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
	padding: 12px 18px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #065f46;
}

.sjm-user-active-banner .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #059669;
}

.sjm-guest-prompt-banner {
	display: flex;
	gap: 10px;
	align-items: center;
	background: #F3EAEA;
	border: 1px solid #E2D5D5;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #4E4747;
}

.sjm-create-account-box {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 14px 18px;
}

/* ============================================================
   8. THEME ISOLATION & HIGH-SPECIFICITY OVERRIDES
   Ensures complete style immunity from Hello Elementor / Elementor
   Kit, Astra, Divi, and other WordPress theme overrides.
   ============================================================ */

/* Primary Action Buttons (Submit, Track, Login, Register, Revisions) */
.sjm-author-dashboard-wrap a.sjm-btn-primary,
.sjm-author-dashboard-wrap button.sjm-btn-primary,
.sjm-author-dashboard-wrap input[type="submit"].sjm-btn-primary,
.sjm-auth-wrapper a.sjm-btn-primary,
.sjm-auth-wrapper button.sjm-btn-primary,
.sjm-auth-wrapper input[type="submit"].sjm-btn-primary,
.sjm-submission-wrapper a.sjm-btn-primary,
.sjm-submission-wrapper button.sjm-btn-primary,
.sjm-submission-wrapper button.sjm-btn-submit,
.sjm-submission-wrapper button.sjm-btn-next,
.sjm-submission-wrapper input[type="submit"].sjm-btn-primary,
.sjm-tracking-wrapper a.sjm-btn-primary,
.sjm-tracking-wrapper button.sjm-btn-primary,
.sjm-tracking-wrapper button.sjm-btn-submit,
.sjm-restricted-barrier a.sjm-btn-primary,
.sjm-restricted-barrier button.sjm-btn-primary,
a.sjm-btn-primary,
button.sjm-btn-primary,
button.sjm-btn-submit,
button.sjm-btn-next {
	background-color: #006C6C !important;
	background-image: none !important;
	color: #ffffff !important;
	border: 1px solid #006C6C !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: "Tahoma", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	line-height: 1.4 !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.2) !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
}

/* Force all nested text, spans, icons, and SVGs inside primary buttons to be pure white */
.sjm-author-dashboard-wrap a.sjm-btn-primary *,
.sjm-author-dashboard-wrap button.sjm-btn-primary *,
.sjm-auth-wrapper a.sjm-btn-primary *,
.sjm-auth-wrapper button.sjm-btn-primary *,
.sjm-submission-wrapper a.sjm-btn-primary *,
.sjm-submission-wrapper button.sjm-btn-primary *,
.sjm-submission-wrapper button.sjm-btn-submit *,
.sjm-submission-wrapper button.sjm-btn-next *,
.sjm-tracking-wrapper a.sjm-btn-primary *,
.sjm-tracking-wrapper button.sjm-btn-primary *,
.sjm-restricted-barrier a.sjm-btn-primary *,
a.sjm-btn-primary *,
button.sjm-btn-primary *,
button.sjm-btn-submit *,
button.sjm-btn-next * {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* Primary Button Hover, Focus, Active, and Visited states */
.sjm-author-dashboard-wrap a.sjm-btn-primary:hover,
.sjm-author-dashboard-wrap a.sjm-btn-primary:focus,
.sjm-author-dashboard-wrap a.sjm-btn-primary:active,
.sjm-author-dashboard-wrap a.sjm-btn-primary:visited,
.sjm-author-dashboard-wrap button.sjm-btn-primary:hover,
.sjm-author-dashboard-wrap button.sjm-btn-primary:focus,
.sjm-author-dashboard-wrap button.sjm-btn-primary:active,
.sjm-auth-wrapper a.sjm-btn-primary:hover,
.sjm-auth-wrapper a.sjm-btn-primary:focus,
.sjm-auth-wrapper a.sjm-btn-primary:active,
.sjm-auth-wrapper a.sjm-btn-primary:visited,
.sjm-auth-wrapper button.sjm-btn-primary:hover,
.sjm-auth-wrapper button.sjm-btn-primary:focus,
.sjm-submission-wrapper a.sjm-btn-primary:hover,
.sjm-submission-wrapper button.sjm-btn-primary:hover,
.sjm-submission-wrapper button.sjm-btn-submit:hover,
.sjm-submission-wrapper button.sjm-btn-next:hover,
.sjm-tracking-wrapper a.sjm-btn-primary:hover,
.sjm-tracking-wrapper button.sjm-btn-primary:hover,
.sjm-restricted-barrier a.sjm-btn-primary:hover,
a.sjm-btn-primary:hover,
a.sjm-btn-primary:focus,
a.sjm-btn-primary:active,
button.sjm-btn-primary:hover,
button.sjm-btn-submit:hover,
button.sjm-btn-next:hover {
	background-color: #004F4F !important;
	border-color: #004F4F !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 108, 108, 0.35) !important;
	transform: translateY(-1px) !important;
}

/* Secondary Charcoal Buttons */
.sjm-author-dashboard-wrap a.sjm-btn-secondary,
.sjm-author-dashboard-wrap button.sjm-btn-secondary,
.sjm-auth-wrapper a.sjm-btn-secondary,
.sjm-auth-wrapper button.sjm-btn-secondary,
.sjm-submission-wrapper a.sjm-btn-secondary,
.sjm-submission-wrapper button.sjm-btn-secondary,
.sjm-restricted-barrier a.sjm-btn-secondary,
a.sjm-btn-secondary,
button.sjm-btn-secondary {
	background-color: #4E4747 !important;
	background-image: none !important;
	color: #ffffff !important;
	border: 1px solid #4E4747 !important;
	border-radius: 6px !important;
	padding: 10px 20px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	font-family: "Tahoma", sans-serif !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
}

.sjm-author-dashboard-wrap a.sjm-btn-secondary *,
.sjm-author-dashboard-wrap button.sjm-btn-secondary *,
.sjm-auth-wrapper a.sjm-btn-secondary *,
.sjm-auth-wrapper button.sjm-btn-secondary *,
.sjm-submission-wrapper a.sjm-btn-secondary *,
.sjm-submission-wrapper button.sjm-btn-secondary *,
.sjm-restricted-barrier a.sjm-btn-secondary *,
a.sjm-btn-secondary *,
button.sjm-btn-secondary * {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

.sjm-author-dashboard-wrap a.sjm-btn-secondary:hover,
.sjm-author-dashboard-wrap button.sjm-btn-secondary:hover,
.sjm-auth-wrapper a.sjm-btn-secondary:hover,
.sjm-auth-wrapper button.sjm-btn-secondary:hover,
.sjm-submission-wrapper button.sjm-btn-secondary:hover,
.sjm-restricted-barrier a.sjm-btn-secondary:hover,
a.sjm-btn-secondary:hover,
button.sjm-btn-secondary:hover {
	background-color: #222222 !important;
	border-color: #222222 !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

/* Outline Buttons (Sign Out, etc.) */
.sjm-author-dashboard-wrap button.sjm-btn-outline,
.sjm-author-dashboard-wrap a.sjm-btn-outline,
.sjm-auth-wrapper button.sjm-btn-outline,
.sjm-auth-wrapper a.sjm-btn-outline,
.sjm-btn-outline,
button.sjm-btn-outline {
	background-color: #ffffff !important;
	background-image: none !important;
	border: 1px solid #D5C6C6 !important;
	color: #4E4747 !important;
	padding: 8px 18px !important;
	border-radius: 6px !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	font-family: "Tahoma", sans-serif !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
}

.sjm-author-dashboard-wrap button.sjm-btn-outline *,
.sjm-author-dashboard-wrap a.sjm-btn-outline *,
.sjm-btn-outline * {
	color: #4E4747 !important;
	stroke: #4E4747 !important;
}

.sjm-author-dashboard-wrap button.sjm-btn-outline:hover,
.sjm-author-dashboard-wrap a.sjm-btn-outline:hover,
.sjm-btn-outline:hover {
	background-color: #FAF6F6 !important;
	border-color: #006C6C !important;
	color: #006C6C !important;
}

.sjm-author-dashboard-wrap button.sjm-btn-outline:hover *,
.sjm-author-dashboard-wrap a.sjm-btn-outline:hover *,
.sjm-btn-outline:hover * {
	color: #006C6C !important;
	stroke: #006C6C !important;
}

/* Ensure Dashicons fallback font if theme overwrote span font-family */
.sjm-author-dashboard-wrap .dashicons,
.sjm-auth-wrapper .dashicons,
.sjm-submission-wrapper .dashicons,
.sjm-tracking-wrapper .dashicons,
.sjm-restricted-barrier .dashicons {
	font-family: dashicons !important;
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

/* ============================================================
   9. HEADER NAVIGATION MENU & SIGN OUT HELPERS
   ============================================================ */

/* Auto show/hide menu items in Appearance > Menus or Elementor */
body:not(.logged-in) .sjm-menu-logout,
body:not(.logged-in) li.sjm-menu-logout,
body:not(.logged-in) .sjm-show-logged-in,
body.logged-in .sjm-menu-login,
body.logged-in li.sjm-menu-login,
body.logged-in .sjm-show-logged-out {
	display: none !important;
}

/* Header User Nav Shortcode Component */
.sjm-header-user-nav {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	vertical-align: middle;
	font-family: "Tahoma", sans-serif;
}

.sjm-header-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #006C6C !important;
	text-decoration: none !important;
	padding: 7px 14px;
	border-radius: 6px;
	transition: all 0.2s ease;
	line-height: 1.3;
}

.sjm-header-nav-link:hover {
	background: #F0F8F8;
	color: #004F4F !important;
}

.sjm-header-nav-link.sjm-logout-link {
	color: #4E4747 !important;
	border: 1px solid #D5C6C6;
	background: #ffffff;
}

.sjm-header-nav-link.sjm-logout-link:hover {
	background: #FAF6F6;
	color: #006C6C !important;
	border-color: #006C6C;
}

.sjm-header-nav-link.sjm-login-link {
	background: #006C6C;
	color: #ffffff !important;
}

.sjm-header-nav-link.sjm-login-link:hover {
	background: #004F4F;
	color: #ffffff !important;
}

.sjm-header-logout-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	vertical-align: middle;
}

/* ==========================================================================
   Certificate of Publication Components (Author Dashboard & Tracking Portal)
   ========================================================================== */
.sjm-cert-author-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	background: linear-gradient(135deg, #FBF8EE 0%, #F5EEDB 100%);
	border: 1px solid #E2D1A6;
	border-left: 5px solid #D4AF37;
	border-radius: 8px;
	padding: 16px 20px;
	box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
}

.sjm-cert-banner-left {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 280px;
}

.sjm-cert-icon-seal {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #D4AF37;
	box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);
	flex-shrink: 0;
}

.sjm-cert-icon-seal svg {
	width: 26px;
	height: 26px;
	display: block;
}

.sjm-cert-banner-title {
	font-size: 15px;
	font-weight: 700;
	color: #2c2518;
	line-height: 1.3;
	margin-bottom: 3px;
	font-family: inherit;
}

.sjm-cert-banner-sub {
	font-size: 12px;
	color: #6d634d;
	line-height: 1.4;
}

.sjm-cert-banner-sub strong {
	color: #1a1610;
	font-family: monospace, monospace;
	font-size: 12.5px;
}

.sjm-cert-banner-right {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.sjm-btn-cert {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 9px 18px !important;
	background: linear-gradient(135deg, #006C6C 0%, #004F4F 100%) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	border-radius: 6px !important;
	border: 1px solid #004F4F !important;
	box-shadow: 0 2px 6px rgba(0, 108, 108, 0.25) !important;
	transition: all 0.2s ease-in-out !important;
	cursor: pointer !important;
}

.sjm-btn-cert:hover,
.sjm-btn-cert:focus {
	background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
	border-color: #A37508 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 10px rgba(184, 134, 11, 0.35) !important;
	transform: translateY(-1px) !important;
}

.sjm-btn-cert svg {
	flex-shrink: 0;
}

.sjm-doc-badge-cert {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	background: #FDF9EE;
	color: #99730E !important;
	border: 1px solid #E5D5A4;
	border-radius: 4px;
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.sjm-doc-badge-cert:hover {
	background: #99730E;
	color: #ffffff !important;
	border-color: #99730E;
}

