/*
 * NiviScholar OJS Premium Brand Redesign Stylesheet
 * Docs: docs/ops/OJS_AUTHENTICATED_THEME.md, docs/ops/DEVELOPMENT_WORKFLOW.md
 * Integrates clean fonts, unified layouts, modern buttons, input fields,
 * and swaps out old logos and footers to match the insights design system.
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Outfit:wght@100..900&display=swap');

:root {
	--nivi-blue: #006a9c;
	--nivi-blue-dark: #00547d;
	--nivi-navy: #0f172a;
	--nivi-ink: #1e293b;
	--nivi-muted: #64748b;
	--nivi-border: #e2e8f0;
	--nivi-soft: #f8fafc;
	--nivi-teal: #0d9488;
	--nivi-teal-light: #f0fdfa;
	--font-sans: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-serif: 'Lora', Georgia, serif;
}

/* Global Reset & Body styling */
body {
	color: var(--nivi-ink) !important;
	background: radial-gradient(circle at 100% 0%, #fcfdfe 0%, #f1f5f9 100%) !important;
	font-family: var(--font-sans) !important;
	line-height: 1.6 !important;
}

.pkp_structure_page {
	background: transparent !important;
}

a {
	color: var(--nivi-blue) !important;
	transition: all 0.2s ease;
	text-decoration: none !important;
}

a:hover, a:focus {
	color: var(--nivi-blue-dark) !important;
}

/* 1. Header Styling */
.pkp_structure_head,
.navbar,
.navbar-default {
	background: #ffffff !important;
	border-bottom: 1px solid var(--nivi-border) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
	padding: 8px 0 !important;
	margin-bottom: 0 !important;
}

/* Logo Sizing and Swap */
.navbar-brand-logo img,
.navbar-brand img,
.pkp_site_name img {
	content: url("https://insights.nivischolar.com/images/logo_320w.webp") !important;
	max-height: 36px !important;
	width: auto !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

.navbar-brand-logo,
.navbar-brand {
	padding: 6px 15px !important;
	height: auto !important;
}

/* Navigation Links */
.navbar-nav > li > a,
.pkp_navigation_primary > li > a {
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	color: var(--nivi-navy) !important;
	padding: 10px 14px !important;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.pkp_navigation_primary > li > a:hover {
	color: var(--nivi-blue) !important;
	background: var(--nivi-soft) !important;
}

/* User Menu & Registration Tabs */
#navigationUser a,
.tab-list a {
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	color: var(--nivi-muted) !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

#navigationUser a:hover {
	color: var(--nivi-blue) !important;
}

/* 2. Page Container & Card Layout */
.pkp_structure_content {
	padding-top: 48px !important;
	padding-bottom: 64px !important;
}

.page_login,
.page_register,
.page_index_journal,
.page_issue,
.page_article,
.page_about,
.page_search,
.page {
	background: #ffffff !important;
	border: 1px solid var(--nivi-border) !important;
	border-radius: 6px !important;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
	padding: 40px !important;
	margin-top: 16px;
}

/* 3. Form Input Styling */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
select,
textarea {
	border: 1px solid #cbd5e1 !important;
	border-radius: 4px !important;
	min-height: 42px !important;
	padding: 8px 12px !important;
	font-family: var(--font-sans) !important;
	color: var(--nivi-navy) !important;
	box-shadow: none !important;
	transition: all 0.2s ease !important;
	width: 100% !important;
	max-width: 100% !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
	outline: none !important;
	border-color: var(--nivi-teal) !important;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}

.form-group label {
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--nivi-navy) !important;
	margin-bottom: 6px !important;
}

/* 4. Button Controls */
.btn-primary,
button.submit,
input[type="submit"],
.btn-primary:active,
.buttons button[type="submit"] {
	background: var(--nivi-blue) !important;
	border: none !important;
	border-radius: 4px !important;
	color: #ffffff !important;
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 0.5px;
	padding: 10px 24px !important;
	min-height: 40px !important;
	text-transform: uppercase !important;
	box-shadow: 0 4px 12px rgba(0, 106, 156, 0.15) !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
}

.btn-primary:hover,
button.submit:hover,
input[type="submit"]:hover,
.buttons button[type="submit"]:hover {
	background: var(--nivi-blue-dark) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(0, 106, 156, 0.25) !important;
	color: #ffffff !important;
}

/* Default / Cancel / Register Buttons */
.btn-default,
.register-button,
.pkp_button_offset {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 4px !important;
	color: var(--nivi-muted) !important;
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	padding: 10px 24px !important;
	min-height: 40px !important;
	text-transform: uppercase !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}

.btn-default:hover,
.register-button:hover,
.pkp_button_offset:hover {
	background: var(--nivi-soft) !important;
	border-color: #94a3b8 !important;
	color: var(--nivi-navy) !important;
	transform: translateY(-1px) !important;
}

/* Buttons Alignment Box */
.buttons {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	align-items: center;
}

/* 5. Typography Headers */
h1, h2, h3, h4, .page_title {
	font-family: var(--font-serif) !important;
	color: var(--nivi-navy) !important;
	font-weight: 700 !important;
}

.page_login h1, .page_register h1 {
	font-size: 24px !important;
	margin-bottom: 24px !important;
	border-bottom: 1px solid var(--nivi-border);
	padding-bottom: 12px !important;
}

/* 6. Remove OJS Brand Footers */
footer a[href*="aboutThisPublishingSystem"] img,
footer a[href*="aboutThisPublishingSystem"] {
	display: none !important;
}

footer.footer {
	border-top: 1px solid var(--nivi-border) !important;
	background: #ffffff !important;
	padding: 24px 0 !important;
	margin-top: 48px;
}

/* Breadcrumbs style matching */
.breadcrumb {
	background: transparent !important;
	padding: 0 !important;
	font-size: 11px !important;
	margin-bottom: 16px !important;
	font-family: var(--font-sans) !important;
}
.breadcrumb li a {
	color: var(--nivi-muted) !important;
}
.breadcrumb li.active {
	color: var(--nivi-navy) !important;
	font-weight: 600;
}

/* ==========================================================================
   NIVISCHOLAR AUTHENTICATED OJS WORKSPACE

   OJS 3.5 renders author, reviewer, and editorial workflows with the PKP
   application component system instead of the public Bootstrap theme. Keep
   these selectors additive: presentation changes here must never hide or
   reorder workflow controls.
   ========================================================================== */

.app__body {
	min-height: calc(100vh - 3.75rem);
	min-width: 0;
	background: #f4f6f5 !important;
	color: #1b2b25;
}

.app__header {
	position: sticky !important;
	top: 0;
	min-height: 4rem !important;
	padding: 0 clamp(1rem, 3vw, 2.5rem) !important;
	background: rgba(255, 255, 255, 0.97) !important;
	border-bottom: 1px solid #d7dfda !important;
	box-shadow: 0 8px 30px rgba(22, 48, 39, 0.06) !important;
	color: #183a30 !important;
	backdrop-filter: blur(14px);
}

.app__header a,
.app__header button,
.app__headerAction > button,
.app__headerAction > a {
	color: #29483e !important;
}

.app__header a:hover,
.app__header a:focus-visible,
.app__header button:hover,
.app__header button:focus-visible,
.app__headerAction > button:hover,
.app__headerAction > button:focus-visible,
.app__headerAction > a:hover,
.app__headerAction > a:focus-visible {
	background: #edf5f1 !important;
	color: #006a60 !important;
}

.app__headerAction > button,
.app__headerAction > a,
.app__tasksDropdown > button {
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.65rem !important;
	border-radius: 0.5rem !important;
}

.app__headerAction svg,
.app__tasksDropdown svg,
.app__headerAction .fa,
.app__tasksDropdown .fa {
	width: 1.25rem !important;
	height: 1.25rem !important;
	font-size: 1.15rem !important;
}

.app__contexts,
.app__contextTitle {
	font-family: var(--font-sans) !important;
	font-weight: 700 !important;
}

.app__contextTitle {
	color: #153a30 !important;
	letter-spacing: -0.01em;
}

.app__main {
	width: 100%;
	max-width: 1280px;
	min-width: 0;
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.5rem) !important;
	background: transparent !important;
}

.app__page {
	min-width: 0;
}

.app__breadcrumbs {
	margin-bottom: 1.1rem !important;
	color: #718079 !important;
	font-size: 0.73rem !important;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.app__breadcrumbs a {
	color: #577168 !important;
}

.app__breadcrumbsSeparator {
	color: #a9b5af !important;
}

.app__pageHeading,
.pkpHeader__title {
	margin-bottom: 1.25rem !important;
	font-family: var(--font-serif) !important;
	font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
	font-weight: 650 !important;
	line-height: 1.16 !important;
	letter-spacing: -0.025em;
	color: #112b23 !important;
}

.app__pageDescription {
	max-width: 760px;
	margin-top: -0.5rem;
	margin-bottom: 1.5rem;
	color: #5d6f68;
	font-size: 0.9rem;
	line-height: 1.7;
}

.app__contentPanel {
	min-width: 0;
	padding: clamp(1.15rem, 2.5vw, 2rem) !important;
	background: #ffffff !important;
	border: 1px solid #d9e1dc !important;
	border-radius: 0.75rem !important;
	box-shadow: 0 16px 46px rgba(21, 50, 40, 0.07) !important;
}

.app__contentPanel + .app__contentPanel {
	margin-top: 1.25rem;
}

.app__returnHeader {
	margin-bottom: 1.25rem;
	padding: 0.8rem 1rem !important;
	background: #eaf3ef !important;
	border: 1px solid #d5e4dd !important;
	border-radius: 0.55rem !important;
}

.app__returnHeaderLink {
	color: #0a675b !important;
	font-weight: 750;
}

.pkpHeader {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8e4;
}

.pkpHeader__title {
	margin: 0 !important;
	font-size: 1.35rem !important;
}

.pkpHeader__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.pkpForm,
.pkpFormPage,
.pkpFormGroup,
.pkpFormGroup__fields,
.pkpFormField {
	min-width: 0;
}

.pkpFormGroup {
	margin-bottom: 1.5rem !important;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #edf0ee;
}

.pkpFormGroup:last-child {
	border-bottom: 0;
}

.pkpFormGroup__heading,
.pkpFormGroup__legend {
	font-family: var(--font-serif) !important;
	font-size: 1.2rem !important;
	font-weight: 650 !important;
	color: #17362c !important;
}

.pkpFormGroup__description,
.pkpFormField__description {
	max-width: 760px;
	color: #64756e !important;
	font-size: 0.8rem !important;
	line-height: 1.55 !important;
}

.pkpFormField {
	margin-bottom: 1.1rem !important;
}

.pkpFormFieldLabel,
.pkpFormField__heading {
	display: block;
	margin-bottom: 0.45rem !important;
	color: #243d34 !important;
	font-family: var(--font-sans) !important;
	font-size: 0.77rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.01em;
	text-transform: none !important;
}

.pkpFormFieldLabel__required {
	color: #a23c33 !important;
}

.pkpFormField__control,
.pkpFormField__input,
.pkpFormField--text__input,
.pkpFormField--textarea__input,
.pkpFormField--select__input,
.pkpFormField--richTextarea__control {
	width: 100%;
	max-width: 100%;
	min-height: 2.8rem !important;
	padding: 0.68rem 0.8rem !important;
	background: #ffffff !important;
	border: 1px solid #bfcac4 !important;
	border-radius: 0.45rem !important;
	box-shadow: inset 0 1px 1px rgba(15, 35, 28, 0.025) !important;
	color: #172a23 !important;
	font-family: var(--font-sans) !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
}

.pkpFormField__control:hover,
.pkpFormField__input:hover,
.pkpFormField--text__input:hover,
.pkpFormField--textarea__input:hover,
.pkpFormField--select__input:hover,
.pkpFormField--richTextarea__control:hover {
	border-color: #899d94 !important;
}

.pkpFormField__control:focus,
.pkpFormField__input:focus,
.pkpFormField--text__input:focus,
.pkpFormField--textarea__input:focus,
.pkpFormField--select__input:focus,
.pkpFormField--richTextarea__control:focus-within {
	border-color: #087c70 !important;
	box-shadow: 0 0 0 3px rgba(8, 124, 112, 0.13) !important;
	outline: 0 !important;
}

.pkpFormField--upload__addFile,
.pkpFormField--upload__preview {
	background: #f7faf8 !important;
	border: 1px dashed #9bb1a7 !important;
	border-radius: 0.65rem !important;
}

.pkpFormField--upload__addFile:hover,
.pkpFormField--upload__addFile:focus-within {
	background: #edf6f2 !important;
	border-color: #087c70 !important;
}

/* OJS profile and settings tabs still use the legacy PKP form controllers. */
.pkp_controllers_tab {
	min-width: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #1b2b25 !important;
	font-family: var(--font-sans) !important;
}

.pkp_controllers_tab > .ui-tabs-nav {
	display: flex;
	gap: 0.25rem;
	max-width: 100%;
	margin: 0 0 1rem !important;
	padding: 0 0.25rem !important;
	overflow-x: auto;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #d8e1dc !important;
	border-radius: 0 !important;
	list-style: none;
	scrollbar-width: thin;
}

.pkp_controllers_tab > .ui-tabs-nav > .ui-tabs-tab {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	white-space: nowrap;
}

.pkp_controllers_tab .ui-tabs-anchor {
	display: block;
	padding: 0.7rem 0.8rem !important;
	border-bottom: 2px solid transparent;
	color: #607169 !important;
	font-size: 0.78rem;
	font-weight: 750;
	text-decoration: none !important;
}

.pkp_controllers_tab .ui-tabs-anchor:hover,
.pkp_controllers_tab .ui-tabs-anchor:focus-visible {
	background: #edf5f1 !important;
	color: #087c70 !important;
}

.pkp_controllers_tab .ui-tabs-active > .ui-tabs-anchor,
.pkp_controllers_tab .ui-state-active > .ui-tabs-anchor {
	border-bottom-color: #087c70;
	color: #0b675b !important;
}

.pkp_controllers_tab > .ui-tabs-panel {
	min-width: 0;
	padding: clamp(1rem, 2.5vw, 1.75rem) !important;
	background: #ffffff !important;
	border: 1px solid #d9e1dc !important;
	border-radius: 0.7rem !important;
	box-shadow: 0 14px 40px rgba(21, 50, 40, 0.065) !important;
}

.pkp_form {
	max-width: 100%;
	min-width: 0;
	color: #243d34;
	font-family: var(--font-sans) !important;
}

.pkp_form fieldset {
	min-width: 0;
	margin: 0 0 1.25rem !important;
	padding: 0 0 1.25rem !important;
	border: 0 !important;
	border-bottom: 1px solid #edf0ee !important;
}

.pkp_form .section {
	max-width: 100%;
	min-width: 0;
	margin: 0 0 1.25rem !important;
	color: #243d34;
}

.pkp_form .section::after {
	display: table;
	clear: both;
	content: "";
}

.pkp_form .section > label:not(.description),
.pkp_form legend {
	display: block;
	margin-bottom: 0.55rem !important;
	color: #243d34 !important;
	font-size: 0.79rem !important;
	font-weight: 750 !important;
}

.pkp_form label.description {
	display: block;
	max-width: 760px;
	margin-bottom: 0.55rem !important;
	color: #64756e !important;
	font-size: 0.8rem !important;
	font-weight: 450 !important;
	line-height: 1.55;
}

.pkp_form input.field,
.pkp_form textarea.field,
.pkp_form select.field {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 2.75rem !important;
	padding: 0.65rem 0.78rem !important;
	background: #ffffff !important;
	border: 1px solid #bfcac4 !important;
	border-radius: 0.45rem !important;
	box-shadow: inset 0 1px 1px rgba(15, 35, 28, 0.025) !important;
	color: #172a23 !important;
	font-family: var(--font-sans) !important;
	font-size: 0.9rem !important;
}

.pkp_form input.field:hover,
.pkp_form textarea.field:hover,
.pkp_form select.field:hover {
	border-color: #899d94 !important;
}

.pkp_form input.field:focus,
.pkp_form textarea.field:focus,
.pkp_form select.field:focus {
	border-color: #087c70 !important;
	box-shadow: 0 0 0 3px rgba(8, 124, 112, 0.13) !important;
	outline: 0 !important;
}

.pkp_form .pkp_helpers_half,
.pkp_form .pkp_helpers_quarter,
.pkp_form .pkp_helpers_threeQuarter {
	float: none !important;
	max-width: 100%;
	vertical-align: top;
}

.pkp_form .pkp_helpers_half {
	display: inline-block;
	width: calc(50% - 0.5rem) !important;
	margin-inline-end: 0.75rem;
}

.pkp_form .pkp_helpers_half:last-child {
	margin-inline-end: 0;
}

.pkp_form .pkp_helpers_quarter {
	width: min(100%, 18rem) !important;
}

.pkp_form .pkp_helpers_threeQuarter {
	width: min(100%, 48rem) !important;
}

.pkp_form .sub_label {
	display: block;
	margin-top: 0.38rem;
	color: #718079 !important;
	font-size: 0.72rem !important;
	font-style: normal !important;
	font-weight: 600 !important;
}

.pkp_form .req,
.pkp_form .required {
	color: #a23c33 !important;
}

.pkp_form .formRequired {
	display: inline-block;
	padding: 0.65rem 0.75rem;
	background: #f4f8f6;
	border-inline-start: 3px solid #087c70;
	color: #53675e;
	font-size: 0.74rem;
}

.pkp_form .form_buttons,
.pkp_form .formButtons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.55rem;
	margin-top: 1.25rem !important;
	padding-top: 1rem;
	border-top: 1px solid #e3e9e6;
}

.pkpForm__pageNav {
	padding: 0.45rem !important;
	background: #eef3f0 !important;
	border: 1px solid #dce5e0 !important;
	border-radius: 0.65rem !important;
}

.pkpForm__pageNavList {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.pkpForm__pageNavPage,
.pkpForm__pageNavPage--current {
	min-height: 2.4rem;
	padding: 0.5rem 0.75rem !important;
	border-radius: 0.42rem !important;
	font-size: 0.76rem !important;
	font-weight: 700 !important;
}

.pkpForm__pageNavPage--current {
	background: #123e34 !important;
	color: #ffffff !important;
}

.pkpSteps__controls {
	margin-bottom: 1.4rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

.pkpSteps__buttons {
	min-width: max-content;
	padding: 0.25rem 0 0.7rem;
}

.pkpSteps__step__label {
	padding: 0.75rem 0.85rem !important;
	background: transparent !important;
	color: #728079 !important;
	font-size: 0.76rem !important;
	font-weight: 700 !important;
}

.pkpSteps__step__label--current {
	color: #0b675b !important;
}

.pkpSteps__step__label--completed {
	color: #375d50 !important;
}

.pkpSteps__step__number {
	display: inline-grid !important;
	place-items: center;
	width: 1.85rem !important;
	height: 1.85rem !important;
	margin-inline-end: 0.35rem;
	background: #e4ece8 !important;
	border: 1px solid #cddad4 !important;
	border-radius: 50% !important;
	color: #355b4e !important;
}

.pkpButton,
.pkp_button,
.pkpHeader__actions button,
.pkpFormPage__buttons button {
	min-height: 2.6rem !important;
	padding: 0.62rem 1rem !important;
	border-radius: 0.45rem !important;
	font-family: var(--font-sans) !important;
	font-size: 0.78rem !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
}

.pkpButton {
	transition:
		box-shadow 160ms ease,
		transform 160ms ease !important;
}

.pkpButton:hover {
	box-shadow: 0 6px 16px rgba(18, 62, 52, 0.12) !important;
}

.pkp_button {
	background: #123e34 !important;
	border: 1px solid #123e34 !important;
	box-shadow: 0 6px 16px rgba(18, 62, 52, 0.12) !important;
	color: #ffffff !important;
}

.pkp_button:hover,
.pkp_button:focus-visible,
.pkp_button:active {
	background: #0b3028 !important;
	border-color: #0b3028 !important;
	box-shadow: 0 8px 20px rgba(18, 62, 52, 0.18) !important;
	color: #ffffff !important;
}

.pkpButton[class~="text-negative"] {
	box-shadow: 0 0 0 1px rgba(158, 53, 44, 0.1) !important;
}

.pkpTabs__buttons {
	display: flex;
	gap: 0.2rem;
	padding: 0 0.25rem;
	border-bottom: 1px solid #dce3df !important;
	overflow-x: auto;
}

.pkpTabs__button {
	min-height: 2.7rem;
	padding: 0.65rem 0.8rem !important;
	border-bottom: 2px solid transparent !important;
	color: #5b6d65 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
}

.pkpTabs__button[aria-selected="true"] {
	border-bottom-color: #087c70 !important;
	color: #0b675b !important;
}

.pkpTable,
.pkpStats__table {
	width: 100%;
	border: 1px solid #d9e1dc !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: 0.6rem !important;
	background: #ffffff;
	font-size: 0.82rem !important;
}

.pkpTableWrapper,
.pkpStats__table {
	max-width: 100%;
	overflow-x: auto;
}

.pkpTable th,
.pkpTable td {
	padding: 0.8rem !important;
	border-bottom: 1px solid #e5ebe7 !important;
	vertical-align: middle;
}

.pkpTable th {
	background: #f1f5f3 !important;
	color: #43594f !important;
	font-size: 0.69rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.pkpTable tbody tr:hover {
	background: #f7faf8 !important;
}

.pkpBadge {
	padding: 0.28rem 0.5rem !important;
	border: 1px solid #c9d5cf !important;
	border-radius: 999px !important;
	background: #eef3f0 !important;
	color: #3b5d51 !important;
	font-size: 0.65rem !important;
	font-weight: 750 !important;
}

.pkpBadge--isPrimary,
.pkpBadge--isSuccess {
	background: #e1f2eb !important;
	border-color: #acd3c3 !important;
	color: #12624f !important;
}

.pkpBadge--isWarnable {
	background: #fff3e4 !important;
	border-color: #e4c79f !important;
	color: #82531c !important;
}

.pkpNotification,
.pkp_notification,
.pkpFormErrors {
	padding: 0.9rem 1rem !important;
	background: #f4f8f6 !important;
	border: 1px solid #d3e1da !important;
	border-inline-start: 4px solid #087c70 !important;
	border-radius: 0.5rem !important;
	box-shadow: none !important;
	color: #29483e !important;
}

.pkpNotification--success {
	background: #eaf6f0 !important;
	border-inline-start-color: #278765 !important;
}

.pkpNotification--warning,
.pkpFormErrors {
	background: #fff7ec !important;
	border-color: #ebd6b7 !important;
	border-inline-start-color: #b57628 !important;
	color: #6d4618 !important;
}

.pkpDropdown__content {
	padding: 0.45rem !important;
	background: #ffffff !important;
	border: 1px solid #d8e0dc !important;
	border-radius: 0.55rem !important;
	box-shadow: 0 16px 42px rgba(20, 45, 37, 0.13) !important;
}

.pkpDropdown__action {
	padding: 0.65rem 0.75rem !important;
	border-radius: 0.38rem !important;
	color: #29483e !important;
}

.pkpDropdown__action:hover,
.pkpDropdown__action:focus-visible {
	background: #edf5f1 !important;
	color: #087c70 !important;
}

.app__header :focus-visible,
.app__main :focus-visible,
.pkpButton:focus-visible,
.pkp_button:focus-visible,
.pkpTabs__button:focus-visible,
.pkpDropdown__action:focus-visible {
	outline: 3px solid rgba(8, 124, 112, 0.28) !important;
	outline-offset: 2px !important;
}

@media (max-width: 760px) {
	.app__body {
		display: block !important;
	}

	.app__header {
		min-height: 3.5rem !important;
		padding: 0 0.75rem !important;
		flex-wrap: wrap;
	}

	.app__contexts {
		max-width: calc(100vw - 9rem);
		overflow: visible;
	}

	.app__contexts .app__contextTitle {
		display: block;
		max-width: calc(100vw - 11rem);
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.app__main {
		padding: 1rem 0.75rem 2.5rem !important;
	}

	.app__pageHeading,
	.pkpHeader__title {
		font-size: 1.65rem !important;
	}

	.app__contentPanel {
		padding: 1rem !important;
		border-radius: 0.55rem !important;
		box-shadow: 0 10px 28px rgba(21, 50, 40, 0.06) !important;
	}

	.pkpHeader {
		align-items: stretch;
		flex-direction: column;
	}

	.pkpHeader__actions,
	.pkpFormPage__buttons {
		width: 100%;
	}

	.pkpHeader__actions .pkpButton,
	.pkpFormPage__buttons .pkpButton {
		width: 100%;
	}

	.pkpFormGroup__fields {
		display: block !important;
	}

	.pkp_controllers_tab > .ui-tabs-panel {
		padding: 1rem !important;
	}

	.pkp_form .pkp_helpers_half,
	.pkp_form .pkp_helpers_quarter,
	.pkp_form .pkp_helpers_threeQuarter {
		display: block;
		width: 100% !important;
		margin-inline-end: 0;
		margin-bottom: 0.85rem;
	}

	.pkp_form .form_buttons,
	.pkp_form .formButtons {
		align-items: stretch;
		flex-direction: column;
	}

	.pkp_form .form_buttons .pkp_button,
	.pkp_form .formButtons .pkp_button {
		width: 100%;
	}

	.pkpForm__pageNavList {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.pkpTable {
		display: block;
		max-width: calc(100vw - 1.5rem);
		min-width: 0;
		overflow-x: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.app__header *,
	.app__main *,
	.pkpButton,
	.pkp_button,
	.pkpDropdown__content {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
