/**
 * Neptune Prime Core — front-end styles for shortcodes and Elementor widgets.
 *
 * @package Neptune_Prime_Core
 */

:root {
	--neptune-primary: #072972;
	--neptune-primary-dark: #051f54;
	--neptune-secondary: #af0e1b;
	--neptune-secondary-dark: #8c0b15;
	--neptune-bg: #f8fafc;
	--neptune-text: #000000;
	--neptune-text-muted: #333333;
	--neptune-border: #e2e8f0;
	--neptune-radius: 12px;
	--neptune-radius-sm: 8px;
	--neptune-shadow: 0 4px 24px rgba(7, 41, 114, 0.1);
}

.neptune-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	border-radius: var(--neptune-radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: 0.2s ease;
}

.neptune-btn:focus-visible {
	outline: 3px solid var(--neptune-secondary);
	outline-offset: 2px;
}

.neptune-btn--primary {
	background: var(--neptune-primary);
	color: #fff;
	border-color: var(--neptune-primary);
}

.neptune-btn--primary:hover {
	background: var(--neptune-primary-dark, #051f54);
	color: #fff;
}

.neptune-btn--secondary {
	background: var(--neptune-secondary);
	color: #fff;
	border-color: var(--neptune-secondary);
}

.neptune-btn--secondary:hover {
	background: var(--neptune-secondary-dark, #8c0b15);
	color: #fff;
	border-color: var(--neptune-secondary-dark, #8c0b15);
}

.neptune-btn--outline {
	background: transparent;
	color: var(--neptune-primary);
	border-color: var(--neptune-primary);
}

.neptune-btn--block {
	display: flex;
	width: 100%;
}

.neptune-admission-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.neptune-status--open {
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
}

.neptune-status--closed {
	background: rgba(239, 68, 68, 0.12);
	color: #b91c1c;
}

.neptune-status--upcoming {
	background: rgba(175, 14, 27, 0.12);
	color: #af0e1b;
}

.neptune-admission-status__indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.neptune-admission-box {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.5rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-admissions-details {
	margin: 0 0 1rem;
	padding: 0;
}

.neptune-admissions-details__item {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 0.5rem;
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--neptune-border);
}

.neptune-admissions-details__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--neptune-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.neptune-admissions-details__value {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--neptune-text);
	font-weight: 500;
}

/* Sidebar meta — programme at-a-glance snapshot (LearnPress outline column) */
.neptune-programme-snapshot {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(7, 41, 114, 0.1);
	overflow: hidden;
	width: 100%;
}

.neptune-programme-snapshot__header {
	padding: 1.25rem 1.35rem 1rem;
	background: linear-gradient(160deg, #072972 0%, #051f54 100%);
	color: #fff;
}

.neptune-programme-snapshot__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.75;
	color: #fff;
}

.neptune-programme-snapshot__header .neptune-admission-status {
	margin: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(4px);
}

.neptune-programme-snapshot__header .neptune-status--open {
	background: rgba(16, 185, 129, 0.25);
	border-color: rgba(16, 185, 129, 0.45);
}

.neptune-programme-snapshot__header .neptune-status--upcoming {
	background: rgba(175, 14, 27, 0.28);
	border-color: rgba(175, 14, 27, 0.5);
}

.neptune-programme-snapshot__header .neptune-status--closed,
.neptune-programme-snapshot__header .neptune-status--suspended {
	background: rgba(239, 68, 68, 0.22);
	border-color: rgba(239, 68, 68, 0.4);
}

.neptune-programme-snapshot__facts {
	margin: 0;
	padding: 0.35rem 0;
}

.neptune-programme-snapshot__fact {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.85rem 1.35rem;
	border-bottom: 1px solid #f1f5f9;
	margin: 0;
}

.neptune-programme-snapshot__fact:last-child {
	border-bottom: none;
}

.neptune-programme-snapshot__icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(7, 41, 114, 0.08);
	color: var(--neptune-primary);
}

.neptune-programme-snapshot__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.neptune-programme-snapshot__fact-body {
	min-width: 0;
	flex: 1;
}

.neptune-programme-snapshot__label {
	margin: 0 0 0.15rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--neptune-text-muted);
}

.neptune-programme-snapshot__value {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--neptune-text);
	line-height: 1.45;
}

.neptune-programme-snapshot__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1rem 1.35rem 1.35rem;
	background: #f8fafc;
	border-top: 1px solid var(--neptune-border);
}

.neptune-programme-snapshot__actions .neptune-btn {
	width: 100%;
	justify-content: center;
}

.neptune-programme-snapshot__actions .neptune-btn--closed {
	cursor: default;
	opacity: 0.9;
}

/* Hide duplicate Apply stack when snapshot is present */
body:has(.neptune-programme-snapshot) .neptune-elementor-buttons,
body:has(.neptune-programme-snapshot) .neptune-elementor-admissions--status {
	display: none !important;
}

/* Soften Thim share row under snapshot */
.elementor-widget-thim-ekits-course-meta .thim-ekit-single-course__meta__share,
body.single-lp_course .thim-ekit-single-course__meta__share {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 1.35rem 1.1rem;
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--neptune-text-muted);
	border-top: 1px solid var(--neptune-border);
}

.neptune-elementor-admissions--status {
	margin-bottom: 1rem;
}

.neptune-programme-sections--main {
	margin-top: 2.5rem;
}

/* Programme content column — international course page */
.neptune-programme-sections {
	max-width: none;
	margin: 0;
	padding: 0;
}

.neptune-programme-sections__intro {
	margin: 0 0 1.5rem;
}

.neptune-programme-sections__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--neptune-secondary);
}

.neptune-programme-sections__heading {
	margin: 0;
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 700;
	color: var(--neptune-primary);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.neptune-programme-toc {
	margin: 0 0 2rem;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.neptune-programme-toc__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.neptune-programme-toc__list a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.85rem;
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: 999px;
	color: var(--neptune-text);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.neptune-programme-toc__list a:hover,
.neptune-programme-toc__list a:focus-visible,
.neptune-programme-toc__list a.is-active {
	color: var(--neptune-primary);
	border-color: rgba(7, 41, 114, 0.35);
	background: rgba(7, 41, 114, 0.04);
	box-shadow: 0 2px 8px rgba(7, 41, 114, 0.08);
	text-decoration: none;
}

.neptune-programme-toc__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: rgba(7, 41, 114, 0.1);
	color: var(--neptune-primary);
	font-size: 0.6875rem;
	font-weight: 700;
}

.neptune-section {
	position: relative;
	background: #fff;
	border: 1px solid #e8eef5;
	border-radius: 16px;
	padding: 1.75rem 1.75rem 1.75rem 1.5rem;
	margin-bottom: 1.25rem;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	scroll-margin-top: 110px;
	overflow: hidden;
}

.neptune-section::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--neptune-primary) 0%, var(--neptune-secondary) 100%);
}

.neptune-section__header {
	display: flex;
	align-items: baseline;
	gap: 0.85rem;
	margin: 0 0 1.15rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid #f1f5f9;
}

.neptune-section__index {
	flex: 0 0 auto;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--neptune-secondary);
	font-variant-numeric: tabular-nums;
}

.neptune-section__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--neptune-primary);
	line-height: 1.3;
	letter-spacing: -0.015em;
	padding: 0;
	border: none;
}

.neptune-section__content {
	color: #334155;
	font-size: 1rem;
	line-height: 1.75;
}

.neptune-section__content > :first-child {
	margin-top: 0;
}

.neptune-section__content > :last-child {
	margin-bottom: 0;
}

.neptune-section__content p {
	margin: 0 0 1rem;
}

.neptune-section__content ul,
.neptune-section__content ol {
	margin: 0 0 1rem 1.15rem;
	padding: 0;
}

.neptune-section__content li {
	margin: 0.4rem 0;
}

.neptune-section__content strong {
	color: var(--neptune-text);
	font-weight: 650;
}

.neptune-section__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid var(--neptune-border);
}

.neptune-section__content table th,
.neptune-section__content table td {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--neptune-border);
	text-align: left;
	vertical-align: top;
}

.neptune-section__content table th {
	background: #f8fafc;
	font-weight: 650;
	color: var(--neptune-primary);
}

.neptune-section__content h3,
.neptune-section__content h4 {
	margin: 1.35rem 0 0.65rem;
	color: var(--neptune-primary);
	font-weight: 700;
}

.neptune-section__content a {
	color: var(--neptune-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.neptune-section--cta {
	text-align: center;
	background: linear-gradient(135deg, rgba(7, 41, 114, 0.06) 0%, rgba(175, 14, 27, 0.1) 100%);
	border-color: transparent;
}

.neptune-section--cta::before {
	display: none;
}

.neptune-section__header--centered {
	justify-content: center;
	border: 0;
	padding: 0;
	margin-bottom: 1rem;
}

.neptune-admission-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.neptune-admission-actions--centered {
	justify-content: center;
}

/* Legacy class kept for older markup */
.neptune-programme-sidebar-meta {
	display: none;
}

@media (max-width: 767px) {
	.neptune-programme-snapshot__fact,
	.neptune-programme-snapshot__header,
	.neptune-programme-snapshot__actions {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}

	.neptune-section {
		padding: 1.35rem 1.15rem 1.35rem 1.25rem;
	}

	.neptune-programme-toc__label {
		max-width: 14ch;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.neptune-programme-card {
	background: #fff;
	border-radius: var(--neptune-radius);
	overflow: hidden;
	box-shadow: var(--neptune-shadow);
	border: 1px solid var(--neptune-border);
}

.neptune-programme-card__image {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.neptune-programme-card__body {
	padding: 1.25rem;
}

.neptune-programme-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.neptune-programme-card__title a {
	color: var(--neptune-primary);
	text-decoration: none;
}

.neptune-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

/* Entity cards (faculty / department) */
.neptune-entity-card {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	overflow: hidden;
	box-shadow: var(--neptune-shadow);
}

.neptune-entity-card__image {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.neptune-entity-card__body {
	padding: 1.25rem;
}

.neptune-entity-card__code {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--neptune-text-muted);
	font-weight: 600;
}

.neptune-entity-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.neptune-entity-card__title a {
	color: var(--neptune-primary);
	text-decoration: none;
}

.neptune-entity-card__meta {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	color: var(--neptune-text-muted);
}

.neptune-entity-card__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--neptune-text);
}

/* Lecturer card */
.neptune-lecturer-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.25rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-lecturer-card__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.neptune-lecturer-card__name {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
}

.neptune-lecturer-card__name a {
	color: var(--neptune-primary);
	text-decoration: none;
}

.neptune-lecturer-card__role {
	margin: 0 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--neptune-secondary);
}

.neptune-lecturer-card__bio {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--neptune-text-muted);
}

@media (max-width: 767px) {
	.neptune-admissions-details__item {
		grid-template-columns: 1fr;
	}

	.neptune-lecturer-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* FAQ accordion */
.neptune-faq {
	display: grid;
	gap: 0.75rem;
}

.neptune-faq__item {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius-sm);
	padding: 0.85rem 1rem;
}

.neptune-faq__question {
	cursor: pointer;
	font-weight: 600;
	color: var(--neptune-primary);
	list-style: none;
}

.neptune-faq__question::-webkit-details-marker {
	display: none;
}

.neptune-faq__answer {
	margin-top: 0.75rem;
	color: var(--neptune-text);
	line-height: 1.6;
	font-size: 0.9375rem;
}

/* Application page layout */
.neptune-application-page {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 0 2rem;
}

.neptune-application-page__header {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 3px solid var(--neptune-secondary);
}

.neptune-application-page__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--neptune-primary);
}

.neptune-application-page__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--neptune-primary);
	line-height: 1.25;
}

.neptune-application-page__lead {
	margin: 0;
	max-width: 720px;
	color: var(--neptune-text-muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.neptune-application-page__grid {
	display: grid;
	grid-template-columns: minmax(260px, 320px) 1fr;
	gap: 2rem;
	align-items: start;
}

/* Sidebar */
.neptune-application-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: sticky;
	top: 110px;
}

.neptune-application-sidebar__card {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.25rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-application-sidebar__card--programme {
	border-top: 4px solid var(--neptune-primary);
}

.neptune-application-sidebar__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--neptune-text-muted);
}

.neptune-application-sidebar__programme-title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	line-height: 1.35;
	color: var(--neptune-primary);
}

.neptune-application-sidebar__title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: var(--neptune-primary);
}

.neptune-application-sidebar__list {
	margin: 0;
	padding-left: 1.15rem;
	color: var(--neptune-text);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.neptune-application-sidebar__list li + li {
	margin-top: 0.35rem;
}

.neptune-application-sidebar__text {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--neptune-text-muted);
}

.neptune-application-sidebar__contact a {
	color: var(--neptune-primary);
	font-weight: 600;
	text-decoration: none;
}

.neptune-application-sidebar__details {
	margin: 1rem 0 0;
	padding: 0;
}

.neptune-application-sidebar__detail {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 0.35rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--neptune-border);
	font-size: 0.875rem;
}

.neptune-application-sidebar__detail dt {
	margin: 0;
	font-weight: 600;
	color: var(--neptune-text-muted);
}

.neptune-application-sidebar__detail dd {
	margin: 0;
	color: var(--neptune-text);
}

.neptune-application-sidebar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.neptune-btn--sm {
	padding: 0.5rem 0.875rem;
	font-size: 0.8125rem;
}

/* Form */
.neptune-application-form-wrap {
	min-width: 0;
}

.neptune-application-form {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 2rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-application-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.neptune-application-form__section {
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

.neptune-application-form__section legend {
	display: block;
	width: 100%;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--neptune-primary);
	border-bottom: 2px solid rgba(175, 14, 27, 0.45);
}

.neptune-application-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.neptune-application-form__field {
	margin-bottom: 1rem;
}

.neptune-application-form__field label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--neptune-text);
}

.neptune-application-form__field .required {
	color: #b91c1c;
}

.neptune-application-form__field input[type="text"],
.neptune-application-form__field input[type="email"],
.neptune-application-form__field input[type="tel"],
.neptune-application-form__field input[type="date"],
.neptune-application-form__field input[type="number"],
.neptune-application-form__field input[type="file"],
.neptune-application-form__field select,
.neptune-application-form__field textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius-sm);
	font-size: 1rem;
	line-height: 1.4;
	background: #fff;
	color: var(--neptune-text);
	box-sizing: border-box;
}

.neptune-application-form__field input[type="file"] {
	padding: 0.55rem;
	background: var(--neptune-bg);
}

.neptune-application-form__field input:focus-visible,
.neptune-application-form__field select:focus-visible,
.neptune-application-form__field textarea:focus-visible {
	outline: 3px solid var(--neptune-secondary);
	outline-offset: 1px;
	border-color: var(--neptune-primary);
}

.neptune-application-form__field input.is-invalid,
.neptune-application-form__field select.is-invalid,
.neptune-application-form__field textarea.is-invalid {
	border-color: #b91c1c;
}

.neptune-application-form__checkbox {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--neptune-text);
	cursor: pointer;
}

.neptune-application-form__checkbox input {
	margin-top: 0.25rem;
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--neptune-primary);
}

.neptune-application-form__field-error {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	color: #b91c1c;
}

.neptune-application-form__error--general {
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	border-radius: var(--neptune-radius-sm);
	color: #b91c1c;
}

.neptune-application-form__actions {
	margin-top: 0.5rem;
}

.neptune-application-form__submit {
	padding: 1rem 1.5rem !important;
	font-size: 1rem !important;
}

.neptune-application-form__privacy {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--neptune-text-muted);
	text-align: center;
}

.neptune-application-form__success {
	max-width: 720px;
	margin: 0 auto;
	padding: 2.5rem 2rem;
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	box-shadow: var(--neptune-shadow);
	text-align: center;
}

.neptune-application-form__success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.15);
	color: #047857;
	font-size: 2rem;
	line-height: 64px;
	font-weight: 700;
}

.neptune-application-form__success-title {
	margin: 0 0 0.75rem;
	color: var(--neptune-primary);
	font-size: 1.75rem;
}

.neptune-application-form__success-programme {
	margin: 0 0 1rem;
	font-weight: 600;
	color: var(--neptune-text);
}

.neptune-application-form__success-steps {
	text-align: left;
	max-width: 480px;
	margin: 1rem auto 1.5rem;
	padding-left: 1.25rem;
	line-height: 1.6;
	color: var(--neptune-text-muted);
}

.neptune-application-form__success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

@media (max-width: 991px) {
	.neptune-application-page__grid {
		grid-template-columns: 1fr;
	}

	.neptune-application-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.neptune-application-form {
		padding: 1.25rem;
	}

	.neptune-application-form__row {
		grid-template-columns: 1fr;
	}

	.neptune-application-sidebar__detail {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
 * Course Outline (independent of LearnPress curriculum)
 * -------------------------------------------------------------------------- */
.neptune-course-outline {
	margin: 2rem 0;
}

.neptune-course-outline__header {
	margin-bottom: 1.5rem;
}

.neptune-course-outline__title {
	margin: 0 0 0.4rem;
	font-size: 1.5rem;
	color: var(--neptune-primary, #072972);
}

.neptune-course-outline__lead,
.neptune-course-outline__empty {
	margin: 0;
	color: var(--neptune-text-muted, #64748b);
	max-width: 40rem;
}

.neptune-course-outline__semester {
	margin-bottom: 1.75rem;
}

.neptune-course-outline__semester-title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--neptune-primary, #072972);
	border-bottom: 2px solid rgba(7, 41, 114, 0.15);
	padding-bottom: 0.4rem;
}

.neptune-course-outline__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.neptune-course-outline__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.5rem 1rem;
	align-items: center;
	width: 100%;
	text-align: left;
	padding: 0.9rem 1rem;
	border: 1px solid var(--neptune-border, #e2e8f0);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	font: inherit;
	color: inherit;
}

.neptune-course-outline__row:hover,
.neptune-course-outline__row:focus-visible {
	border-color: var(--neptune-primary, #072972);
	box-shadow: 0 4px 14px rgba(7, 41, 114, 0.08);
	outline: none;
}

.neptune-course-outline__row-main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	grid-column: 1 / -1;
}

.neptune-course-outline__code {
	font-weight: 700;
	color: var(--neptune-primary, #072972);
	white-space: nowrap;
}

.neptune-course-outline__name {
	font-weight: 600;
}

.neptune-course-outline__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.neptune-chip {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(7, 41, 114, 0.08);
	color: var(--neptune-primary, #072972);
}

.neptune-chip--muted {
	background: #f1f5f9;
	color: #475569;
	font-weight: 500;
}

.neptune-course-outline__row-action {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--neptune-primary, #072972);
	justify-self: end;
}

.neptune-course-outline__detail {
	max-width: 720px;
}

.neptune-course-outline__detail--single {
	margin: 0 auto;
	padding: 1.5rem 0 3rem;
}

.neptune-course-outline__detail-code {
	margin: 0 0 0.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.8rem;
	color: var(--neptune-primary, #072972);
}

.neptune-course-outline__detail-title {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	line-height: 1.25;
}

.neptune-course-outline__block {
	margin-top: 1.35rem;
}

.neptune-course-outline__block h2,
.neptune-course-outline__block h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: var(--neptune-primary, #072972);
}

.neptune-course-outline__prose {
	line-height: 1.65;
	color: var(--neptune-text, #1e293b);
}

.neptune-course-outline__prose p:first-child {
	margin-top: 0;
}

.neptune-course-outline__bullets,
.neptune-course-outline__outcomes {
	margin: 0.35rem 0 0;
	padding-left: 1.2rem;
	line-height: 1.55;
}

.neptune-course-outline__outcome-codes {
	margin: 0 0 0.5rem;
	color: #475569;
}

.neptune-course-outline__block--advantage {
	padding: 1rem;
	border-left: 3px solid var(--neptune-secondary, #af0e1b);
	background: rgba(175, 14, 27, 0.08);
	border-radius: 0 8px 8px 0;
}

.neptune-course-outline__detail-footer {
	margin-top: 1.5rem;
}

.neptune-course-outline-modal[hidden] {
	display: none !important;
}

.neptune-course-outline-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.neptune-course-outline-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.neptune-course-outline-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(88vh, 900px);
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem 1.35rem 1.35rem;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.neptune-course-outline-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.65rem;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #64748b;
	padding: 0.25rem 0.5rem;
}

.neptune-course-outline-modal__close:hover {
	color: #0f172a;
}

html.neptune-outline-modal-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.neptune-course-outline__row {
		grid-template-columns: 1fr;
	}

	.neptune-course-outline__row-action {
		justify-self: start;
	}
}

/* Compact list → full-page link */
.neptune-course-outline__full-link {
	margin: 0.75rem 0 0;
}

/* Full expanded outlines (listing page / view=full) */
.neptune-course-outline--full .neptune-course-outline__title {
	/* Page template already has H1; keep section title quieter on full view */
	font-size: 1.25rem;
}

.neptune-course-outline__full-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.neptune-course-outline__expanded {
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.neptune-course-outline__expanded .neptune-course-outline__detail-title {
	margin: 0.15rem 0 0.65rem;
	font-size: 1.2rem;
}

.neptune-course-outline__expanded .neptune-course-outline__detail-title a {
	color: inherit;
	text-decoration: none;
}

.neptune-course-outline__expanded .neptune-course-outline__detail-title a:hover,
.neptune-course-outline__expanded .neptune-course-outline__detail-title a:focus-visible {
	color: var(--neptune-primary, #072972);
	text-decoration: underline;
}

.neptune-course-outline__block h4 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

/* Dedicated /courses/{slug}/course-outline/ page */
.neptune-programme-outline-page {
	padding: 2rem 0 3.5rem;
}

.neptune-outline-breadcrumb {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: #64748b;
}

.neptune-outline-breadcrumb a {
	color: var(--neptune-primary, #072972);
	text-decoration: none;
}

.neptune-outline-breadcrumb a:hover,
.neptune-outline-breadcrumb a:focus-visible {
	text-decoration: underline;
}

.neptune-programme-outline-page__header {
	margin: 0 0 2rem;
	max-width: 42rem;
}

.neptune-programme-outline-page__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}

.neptune-programme-outline-page__header h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.25;
	color: #0f172a;
}

.neptune-programme-outline-page__header p {
	margin: 0;
	color: #475569;
	line-height: 1.55;
}

.neptune-programme-outline-page__back {
	margin: 2.5rem 0 0;
}

/* Programme information (facts + content sections) */
.neptune-programme-info-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.neptune-programme-info-table th,
.neptune-programme-info-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
}

.neptune-programme-info-table tr:last-child th,
.neptune-programme-info-table tr:last-child td {
	border-bottom: 0;
}

.neptune-programme-info-table th {
	width: 38%;
	font-weight: 600;
	color: #0f172a;
	background: #f8fafc;
}

.neptune-programme-info-table td {
	color: #334155;
}

.neptune-programme-bullets {
	margin: 0;
	padding-left: 1.25rem;
}

.neptune-programme-bullets li {
	margin: 0.35rem 0;
	line-height: 1.5;
}

.neptune-section--info {
	margin-bottom: 1.5rem;
}

/* WYSIWYG programme content (matches WordPress editor output) */
.neptune-section__content {
	line-height: 1.65;
	color: var(--neptune-text);
}

.neptune-section__content > :first-child {
	margin-top: 0;
}

.neptune-section__content > :last-child {
	margin-bottom: 0;
}

.neptune-section__content p {
	margin: 0 0 1rem;
}

.neptune-section__content ul,
.neptune-section__content ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.neptune-section__content li {
	margin: 0.35rem 0;
}

.neptune-section__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
}

.neptune-section__content table th,
.neptune-section__content table td {
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--neptune-border);
	text-align: left;
	vertical-align: top;
}

.neptune-section__content table th {
	background: var(--neptune-bg);
	font-weight: 600;
}

.neptune-section__content h3,
.neptune-section__content h4 {
	margin: 1.25rem 0 0.75rem;
	color: var(--neptune-primary);
}

.neptune-section__content a {
	color: var(--neptune-primary);
	text-decoration: underline;
}

/* ==========================================================================
   Live Class panel
   ========================================================================== */

.neptune-live-class {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.25rem;
	margin-top: 1rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-live-class__label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--neptune-text-muted);
}

.neptune-live-class__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	display: inline-block;
}

.neptune-live-class__schedule {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
}

.neptune-live-class__notes {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: var(--neptune-text-muted);
}

.neptune-live-class__locked {
	margin: 0;
	font-size: 0.9rem;
	color: var(--neptune-text-muted);
}

/* ==========================================================================
   Discussion link
   ========================================================================== */

.neptune-discussion-link {
	margin-top: 0.75rem;
}

/* ==========================================================================
   Certificates
   ========================================================================== */

.neptune-certificate {
	max-width: 900px;
	margin: 2rem auto;
}

.neptune-certificate__toolbar {
	text-align: right;
	margin-bottom: 1rem;
}

.neptune-certificate__sheet {
	background: #fff;
	border: 3px solid var(--neptune-primary);
	border-radius: var(--neptune-radius);
	padding: 3.5rem 2.5rem;
	text-align: center;
	box-shadow: var(--neptune-shadow);
}

.neptune-certificate__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--neptune-secondary);
	margin: 0 0 1rem;
}

.neptune-certificate__title {
	font-size: 2rem;
	margin: 0 0 1.5rem;
	color: var(--neptune-primary);
}

.neptune-certificate__lead {
	margin: 0.5rem 0;
	font-size: 1rem;
	color: var(--neptune-text-muted);
}

.neptune-certificate__name {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0.25rem 0 0.75rem;
	color: var(--neptune-text);
}

.neptune-certificate__programme {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0.25rem 0 1.5rem;
	color: var(--neptune-primary-dark, #051f54);
}

.neptune-certificate__date {
	font-size: 0.9rem;
	color: var(--neptune-text-muted);
	margin: 0 0 2rem;
}

.neptune-certificate__footer {
	border-top: 1px solid var(--neptune-border);
	padding-top: 1.25rem;
	margin-top: 1.5rem;
}

.neptune-certificate__code {
	font-size: 0.8rem;
	color: var(--neptune-text-muted);
	letter-spacing: 0.04em;
	margin: 0;
}

@media print {
	.neptune-print-hide {
		display: none !important;
	}
	.neptune-certificate__sheet {
		box-shadow: none;
		border-width: 2px;
	}
}

/* ==========================================================================
   My Certificates list
   ========================================================================== */

.neptune-my-certificates__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.neptune-my-certificates__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius-sm);
	padding: 1rem 1.25rem;
}

.neptune-my-certificates__link {
	font-weight: 600;
	color: var(--neptune-primary);
	text-decoration: none;
}

.neptune-my-certificates__link:hover {
	text-decoration: underline;
}

.neptune-my-certificates__date {
	font-size: 0.85rem;
	color: var(--neptune-text-muted);
}

.neptune-my-certificates__empty {
	color: var(--neptune-text-muted);
}

/* ==========================================================================
   Student Portal ("My Programmes")
   ========================================================================== */

.neptune-student-portal__section {
	margin-bottom: 2.5rem;
}

.neptune-student-portal__section h2 {
	margin-bottom: 1rem;
}

.neptune-student-portal__empty {
	color: var(--neptune-text-muted);
}

.neptune-student-portal__programmes {
	display: grid;
	gap: 1.25rem;
}

.neptune-student-programme {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.5rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-student-programme__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.neptune-student-programme__title {
	margin: 0;
	font-size: 1.1rem;
}

.neptune-student-programme__title a {
	color: var(--neptune-text);
	text-decoration: none;
}

.neptune-student-programme__title a:hover {
	color: var(--neptune-primary);
	text-decoration: underline;
}

.neptune-student-programme__status {
	margin: 0;
	font-size: 0.85rem;
	color: var(--neptune-text-muted);
}

.neptune-student-programme__progress {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 140px;
}

.neptune-student-programme__progress-bar {
	flex: 1;
	height: 8px;
	background: var(--neptune-border);
	border-radius: 999px;
	overflow: hidden;
}

.neptune-student-programme__progress-bar span {
	display: block;
	height: 100%;
	background: var(--neptune-primary);
	border-radius: 999px;
}

.neptune-student-programme__progress-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--neptune-text-muted);
	white-space: nowrap;
}

.neptune-student-programme__tools {
	display: grid;
	gap: 0.5rem;
	margin-top: 1rem;
}

.neptune-student-programme__tools .neptune-live-class {
	margin-top: 0;
}

/* ==========================================================================
   Lecture Notes
   ========================================================================== */

.neptune-lecture-notes__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.neptune-lecture-notes__item {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius-sm);
	padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	justify-content: space-between;
}

.neptune-lecture-notes__title {
	font-weight: 600;
}

.neptune-lecture-notes__body {
	flex-basis: 100%;
	margin: 0.5rem 0 0;
	color: var(--neptune-text-muted);
	font-size: 0.9rem;
}

.neptune-lecture-notes__locked {
	color: var(--neptune-text-muted);
}

/* ==========================================================================
   Lecturer Portal ("My Classes")
   ========================================================================== */

.neptune-lecturer-portal__empty {
	color: var(--neptune-text-muted);
}

.neptune-lecturer-portal__notice {
	padding: 0.75rem 1rem;
	border-radius: var(--neptune-radius-sm);
	margin-bottom: 1.5rem;
}

.neptune-lecturer-portal__notice--success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.neptune-lecturer-portal__notice--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.neptune-lecturer-class {
	background: #fff;
	border: 1px solid var(--neptune-border);
	border-radius: var(--neptune-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--neptune-shadow);
}

.neptune-lecturer-class__header h2 {
	margin: 0 0 0.25rem;
}

.neptune-lecturer-class__count {
	margin: 0 0 1.25rem;
	color: var(--neptune-text-muted);
	font-size: 0.9rem;
}

.neptune-lecturer-class__body {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
}

@media (max-width: 900px) {
	.neptune-lecturer-class__body {
		grid-template-columns: 1fr;
	}
}

.neptune-lecturer-roster-table {
	width: 100%;
	border-collapse: collapse;
}

.neptune-lecturer-roster-table th,
.neptune-lecturer-roster-table td {
	text-align: left;
	padding: 0.5rem;
	border-bottom: 1px solid var(--neptune-border);
	font-size: 0.9rem;
}

.neptune-lecturer-roster-table__email {
	display: block;
	font-size: 0.8rem;
	color: var(--neptune-text-muted);
	text-decoration: none;
}

.neptune-announce-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
}

.neptune-announce-form p {
	margin: 0 0 0.85rem;
}

.neptune-lecturer-class__recent {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	font-size: 0.85rem;
	color: var(--neptune-text-muted);
	display: grid;
	gap: 0.35rem;
}

.neptune-lecturer-class__recent li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-top: 1px solid var(--neptune-border);
	padding-top: 0.35rem;
}
