/* assets/css/style.css — Main Stylesheet for RSU Ananda Purwokerto Website */

/* Reset & Base Styles */
body {
	font-family: var(--font-body);
	background-color: var(--color-neutral-0);
	color: var(--color-neutral-700);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	color: var(--color-neutral-800);
	font-weight: 700;
}

a {
	text-decoration: none;
	transition: all var(--transition-fast, 150ms) ease;
}

/* Custom Containers */
.container-custom {
	max-width: var(--container-max, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-6);
	padding-right: var(--space-6);
}

@media (min-width: 992px) {
	.container-custom {
		padding-left: var(--space-12);
		padding-right: var(--space-12);
	}
}

/* Custom Colors & Backgrounds */
.bg-neutral-50 {
	background-color: var(--color-neutral-50);
}
.text-primary-500 {
	color: var(--color-primary-500);
}
.text-primary-700 {
	color: var(--color-primary-700);
}
.text-secondary-500 {
	color: var(--color-secondary-500);
}
.text-neutral-800 {
	color: var(--color-neutral-800);
}

/* Section Spacing & Alternating Dot Pattern */
section {
	padding-top: var(--space-16);
	padding-bottom: var(--space-16);
	position: relative;
}

.section-alt {
	background-color: var(--color-neutral-50);
	background-image: radial-gradient(
		rgba(0, 175, 148, 0.08) 1.5px,
		transparent 1.5px
	);
	background-size: 24px 24px;
}

/* Signature Element — Tosca Pulse Accent */
.section-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem; /* --text-xs */
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--color-secondary-500);
	font-weight: 600;
	margin-bottom: var(--space-2);
}

.section-title {
	position: relative;
	padding-left: var(--space-4);
	border-left: 4px solid var(--color-secondary-400);
	font-family: var(--font-display);
	font-size: 1.875rem; /* --text-3xl / H2 */
	font-weight: 700;
	color: var(--color-neutral-800);
	line-height: 1.25;
}

@media (min-width: 768px) {
	.section-title {
		font-size: 2.25rem; /* --text-4xl */
	}
}

/* Buttons */
.btn-primary-custom {
	background-color: var(--color-primary-500);
	color: #ffffff !important;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: var(--radius-lg);
	border: none;
	box-shadow: 0 4px 12px rgba(0, 175, 148, 0.2);
	transition: all 200ms ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-primary-custom:hover {
	background-color: var(--color-primary-600);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 175, 148, 0.3);
}

.btn-primary-custom:active {
	background-color: var(--color-primary-700);
	transform: translateY(0);
}

.btn-secondary-custom {
	background-color: transparent;
	color: var(--color-primary-600) !important;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: var(--radius-lg);
	border: 2px solid var(--color-primary-500);
	transition: all 200ms ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-secondary-custom:hover {
	background-color: var(--color-primary-50);
	border-color: var(--color-primary-600);
	color: var(--color-primary-700) !important;
	transform: translateY(-1px);
}

.btn-secondary-custom:active {
	transform: translateY(0);
}

.btn-ghost-custom {
	background-color: transparent;
	color: var(--color-primary-600) !important;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: var(--radius-lg);
	border: none;
	transition: all 200ms ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.btn-ghost-custom:hover {
	background-color: var(--color-primary-50);
	color: var(--color-primary-700) !important;
}

/* Sticky Navbar */
.navbar-custom {
	background-color: var(--color-primary-700);
	height: 72px;
	transition: all 300ms ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-custom .navbar-brand {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.navbar-custom .navbar-nav .nav-link {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	padding: 8px 12px;
	position: relative;
}

.navbar-custom .navbar-nav .nav-link:hover {
	color: #ffffff;
}

.navbar-custom .navbar-nav .nav-link.active {
	color: #ffffff;
}

.navbar-custom .navbar-nav .nav-link.active::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 12px;
	right: 12px;
	height: 2px;
	background-color: var(--color-secondary-400);
	border-radius: var(--radius-full);
}

/* Mobile / Responsive: background box untuk dropdown navbar */
@media (max-width: 991.98px) {
	.navbar-custom .navbar-collapse {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background-color: var(--color-primary-700);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
		padding: 8px 24px 20px;
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
		z-index: 1040;
	}
	.navbar-custom .navbar-nav {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-top: 8px;
	}
	.navbar-custom .navbar-nav .nav-item {
		width: 100%;
	}
	.navbar-custom .navbar-nav .nav-link {
		padding: 10px 8px;
		border-radius: var(--radius-md);
	}
	.navbar-custom .navbar-nav .nav-link:hover,
	.navbar-custom .navbar-nav .nav-link.active {
		background-color: rgba(255, 255, 255, 0.1);
	}
	.navbar-custom .navbar-nav .nav-link.active::after {
		display: none;
	}
}

.search-btn-nav {
	color: rgba(255, 255, 255, 0.85);
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	transition: color 200ms ease;
	display: flex;
	align-items: center;
}

.search-btn-nav:hover {
	color: #ffffff;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, var(--color-primary-50) 0%, #ffffff 100%);
	padding-top: calc(72px + var(--space-12)); /* Navbar height offset */
	padding-bottom: var(--space-20);
	position: relative;
	overflow: hidden;
}

.hero-tagline-eyebrow {
	font-family: var(--font-body);
	color: var(--color-secondary-500);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: var(--space-3);
	display: inline-block;
}

.hero-title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.15;
	color: var(--color-neutral-800);
	margin-bottom: var(--space-4);
	font-weight: 800;
}

.hero-title span {
	color: var(--color-primary-500);
}

.hero-desc {
	font-size: 1.125rem;
	color: var(--color-neutral-600);
	margin-bottom: var(--space-8);
	max-width: 540px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-bottom: var(--space-10);
}

.hero-emergency {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-3) var(--space-4);
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: inline-flex;
}

.hero-emergency-pulse {
	width: 10px;
	height: 10px;
	background-color: var(--color-error);
	border-radius: var(--radius-full);
	animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(201, 64, 64, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 8px rgba(201, 64, 64, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(201, 64, 64, 0);
	}
}

.hero-image-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-blob-bg {
	position: absolute;
	top: 10%;
	left: 10%;
	width: 80%;
	height: 80%;
	background-color: rgba(0, 175, 148, 0.08);
	filter: blur(40px);
	border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
	z-index: 1;
}

.hero-img {
	position: relative;
	z-index: 2;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-2xl);
	box-shadow: 0 12px 36px rgba(0, 35, 29, 0.08);
	transform: translateY(0);
	animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-12px);
	}
	100% {
		transform: translateY(0px);
	}
}

/* Cards & Premium Hover Effect */
.card-custom {
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.card-custom:hover {
	border-color: var(--color-primary-200);
	box-shadow: var(--shadow-tosca);
	transform: translateY(-4px);
}

.card-custom-body {
	padding: var(--space-6);
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-icon-box {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-lg);
	background-color: var(--color-primary-50);
	color: var(--color-primary-500);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--space-4);
	transition: all 250ms ease;
}

.card-custom:hover .card-icon-box {
	background-color: var(--color-primary-500);
	color: #ffffff;
}

/* Service Grid Cards specific */
.service-card-title {
	font-size: 1.25rem; /* --text-xl */
	font-weight: 700;
	margin-bottom: var(--space-2);
}

/* Doctor Schedule Preview Row */
.doctor-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-4) 0;
	border-bottom: 1.5px solid var(--color-secondary-300);
	flex-wrap: wrap;
	gap: var(--space-4);
}

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

.doctor-profile-box {
	display: flex;
	align-items: center;
	gap: var(--space-4);
}

.doctor-avatar-placeholder {
	width: 54px;
	height: 54px;
	border-radius: var(--radius-full);
	background-color: var(--color-secondary-100);
	color: var(--color-secondary-500);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.15rem;
	border: 2px solid var(--color-secondary-200);
}

.doctor-name-tag {
	font-weight: 700;
	color: var(--color-neutral-800);
	margin-bottom: 2px;
}

.doctor-spec-tag {
	font-size: 0.85rem;
	color: var(--color-neutral-500);
	font-weight: 500;
}

.doctor-time-tag {
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--color-neutral-700);
	background-color: var(--color-neutral-50);
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-md);
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Artikel & Berita Layout */
.article-featured-card {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
}

.article-featured-img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	transition: transform 300ms ease;
}

.article-featured-card:hover .article-featured-img {
	transform: scale(1.02);
}

.article-meta-badge {
	background-color: var(--color-secondary-100);
	color: var(--color-secondary-700);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--radius-sm);
	display: inline-block;
	margin-bottom: var(--space-3);
}

.article-sidebar-item {
	display: flex;
	gap: var(--space-4);
	padding-bottom: var(--space-4);
	margin-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-neutral-100);
}

.article-sidebar-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.article-sidebar-img {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-md);
	object-fit: cover;
	background-color: var(--color-neutral-50);
}

.article-sidebar-title {
	font-size: 0.95rem;
	line-height: 1.4;
	font-weight: 700;
	color: var(--color-neutral-800);
	margin-bottom: 4px;
}

.article-sidebar-date {
	font-size: 0.8rem;
	color: var(--color-neutral-400);
}

/* Pinned Information Banner */
.pinned-info-banner {
	background: linear-gradient(
		135deg,
		var(--color-primary-700) 0%,
		var(--color-primary-800) 100%
	);
	border-radius: var(--radius-xl);
	padding: var(--space-8) var(--space-8);
	color: #ffffff;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.pinned-info-banner::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -50px;
	width: 150px;
	height: 150px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-full);
}

.pinned-info-badge {
	background-color: var(--color-secondary-500);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	display: inline-block;
	margin-bottom: var(--space-4);
}

/* Call-to-action (CTA) Section */
.cta-section {
	background: linear-gradient(
		135deg,
		var(--color-primary-800) 0%,
		var(--color-primary-900) 100%
	);
	color: #ffffff;
	padding: var(--space-16) 0;
	text-align: center;
	position: relative;
}

.cta-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(
		rgba(255, 255, 255, 0.04) 1px,
		transparent 1px
	);
	background-size: 20px 20px;
	pointer-events: none;
}

.cta-title {
	color: #ffffff;
	font-size: 2.25rem;
	margin-bottom: var(--space-4);
}

.cta-desc {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1rem;
	margin-bottom: var(--space-8);
}

/* Footer styling */
.footer-custom {
	background-color: var(--color-primary-900);
	color: var(--color-neutral-100);
	padding-top: var(--space-16);
	padding-bottom: var(--space-6);
	border-top: 4px solid var(--color-secondary-500);
}

.footer-logo {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: #ffffff;
	margin-bottom: var(--space-4);
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-desc {
	color: var(--color-neutral-400);
	font-size: 0.95rem;
	margin-bottom: var(--space-6);
}

.footer-title {
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin-bottom: var(--space-6);
	font-weight: 700;
	position: relative;
	padding-bottom: var(--space-2);
}

.footer-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 2px;
	background-color: var(--color-secondary-300);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: var(--space-3);
}

.footer-links a {
	color: var(--color-neutral-400);
	font-size: 0.95rem;
}

.footer-links a:hover {
	color: #ffffff;
	padding-left: 4px;
}

.footer-contact-item {
	display: flex;
	gap: var(--space-3);
	margin-bottom: var(--space-4);
	font-size: 0.95rem;
	color: var(--color-neutral-400);
}

.footer-contact-icon {
	color: var(--color-secondary-300);
	flex-shrink: 0;
}

.footer-social-links {
	display: flex;
	gap: var(--space-3);
}

.footer-social-icon {
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-neutral-300);
	transition: all 200ms ease;
}

.footer-social-icon:hover {
	background-color: var(--color-secondary-500);
	color: #ffffff;
	transform: translateY(-2px);
}

.footer-bottom {
	margin-top: var(--space-12);
	padding-top: var(--space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-4);
	font-size: 0.875rem;
	color: var(--color-neutral-500);
}

/* ─── Utility Color Classes ─────────────────────────────────────────────── */
/* Background utilities */
.bg-primary-50 {
	background-color: var(--color-primary-50) !important;
}
.bg-primary-100 {
	background-color: var(--color-primary-100) !important;
}
.bg-primary-500 {
	background-color: var(--color-primary-500) !important;
}
.bg-primary-700 {
	background-color: var(--color-primary-700) !important;
}
.bg-secondary-50 {
	background-color: var(--color-secondary-50) !important;
}
.bg-secondary-100 {
	background-color: var(--color-secondary-100) !important;
}
.bg-secondary-200 {
	background-color: var(--color-secondary-200) !important;
}
.bg-neutral-50 {
	background-color: var(--color-neutral-50) !important;
}
.bg-neutral-100 {
	background-color: var(--color-neutral-100) !important;
}

/* Text color utilities */
.text-primary-500 {
	color: var(--color-primary-500) !important;
}
.text-primary-600 {
	color: var(--color-primary-600) !important;
}
.text-primary-700 {
	color: var(--color-primary-700) !important;
}
.text-secondary-500 {
	color: var(--color-secondary-500) !important;
}
.text-secondary-700 {
	color: var(--color-secondary-700) !important;
}
.text-neutral-400 {
	color: var(--color-neutral-400) !important;
}
.text-neutral-500 {
	color: var(--color-neutral-500) !important;
}
.text-neutral-600 {
	color: var(--color-neutral-600) !important;
}
.text-neutral-700 {
	color: var(--color-neutral-700) !important;
}
.text-neutral-800 {
	color: var(--color-neutral-800) !important;
}
.text-neutral-900 {
	color: var(--color-neutral-900) !important;
}

/* Max-width constraint used in some views */
.max-width-600 {
	max-width: 600px;
}
.max-width-720 {
	max-width: 720px;
}

/* Hover primary link */
.hover-primary:hover {
	color: var(--color-primary-600) !important;
}

/* ─── Admin Panel — Sidebar & Layout ────────────────────────────────────── */
.admin-wrapper {
	display: flex;
	min-height: 100vh;
	background-color: var(--color-neutral-50);
}

.admin-sidebar {
	width: 260px;
	min-height: 100vh;
	background: linear-gradient(
		180deg,
		var(--color-primary-900) 0%,
		var(--color-primary-800) 100%
	);
	flex-shrink: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	transition: transform var(--transition-slow);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.admin-main {
	margin-left: 260px;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.admin-topbar {
	height: 64px;
	background-color: #ffffff;
	border-bottom: 1px solid var(--color-neutral-100);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--space-6);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-sm);
}

.admin-content {
	padding: var(--space-6);
	flex: 1;
}

/* Admin Sidebar Nav */
.sidebar-brand {
	padding: var(--space-6);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.sidebar-brand-text {
	font-family: var(--font-display);
	font-weight: 700;
	color: #ffffff;
	font-size: 1.1rem;
	line-height: 1.2;
}

.sidebar-brand-sub {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.sidebar-nav {
	padding: var(--space-4) 0;
	list-style: none;
	margin: 0;
}

.sidebar-nav-group {
	padding: var(--space-4) var(--space-6) var(--space-2);
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.35);
	font-weight: 600;
}

.sidebar-nav-item a {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: 10px var(--space-6);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	font-weight: 500;
	transition: all var(--transition-fast);
	border-left: 3px solid transparent;
}

.sidebar-nav-item a:hover,
.sidebar-nav-item a.active {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.08);
	border-left-color: var(--color-secondary-400);
}

.sidebar-nav-item a .nav-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	opacity: 0.7;
}

.sidebar-nav-item a:hover .nav-icon,
.sidebar-nav-item a.active .nav-icon {
	opacity: 1;
}

/* Admin stat cards */
.stat-card {
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl);
	padding: var(--space-5) var(--space-6);
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow-sm);
	transition:
		box-shadow var(--transition-fast),
		transform var(--transition-fast);
}

.stat-card:hover {
	box-shadow: var(--shadow-tosca);
	transform: translateY(-2px);
}

.stat-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-neutral-500);
	font-weight: 600;
	display: block;
	margin-bottom: var(--space-1);
}

.stat-num {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-neutral-800);
	line-height: 1;
}

.stat-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-lg);
	background-color: rgba(0, 175, 148, 0.1);
	color: var(--color-primary-500);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Admin table styles */
.admin-table {
	width: 100%;
	border-collapse: collapse;
}

.admin-table thead th {
	background-color: var(--color-neutral-50);
	color: var(--color-neutral-600);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	padding: var(--space-3) var(--space-4);
	border-bottom: 2px solid var(--color-neutral-100);
}

.admin-table tbody tr {
	border-bottom: 1px solid var(--color-neutral-100);
	transition: background-color var(--transition-fast);
}

.admin-table tbody tr:hover {
	background-color: var(--color-neutral-50);
}

.admin-table tbody td {
	padding: var(--space-3) var(--space-4);
	font-size: 0.9rem;
	color: var(--color-neutral-700);
	vertical-align: middle;
}

/* Admin form card */
.admin-form-card {
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	box-shadow: var(--shadow-sm);
}

/* ─── Page Header Component ─────────────────────────────────────────────── */
.page-header-section {
	background: linear-gradient(135deg, var(--color-primary-50) 0%, #ffffff 100%);
	padding: var(--space-12) 0 var(--space-8);
	border-bottom: 1px solid var(--color-neutral-100);
}

/* ─── Badge Utilities ───────────────────────────────────────────────────── */
.badge-status-published {
	background-color: rgba(46, 158, 107, 0.1);
	color: var(--color-success);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: var(--radius-full);
	display: inline-block;
}

.badge-status-draft {
	background-color: rgba(212, 146, 10, 0.1);
	color: var(--color-warning);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: var(--radius-full);
	display: inline-block;
}

.badge-status-archived {
	background-color: var(--color-neutral-100);
	color: var(--color-neutral-500);
	font-size: 0.72rem;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: var(--radius-full);
	display: inline-block;
}

/* ─── Public Page — Jadwal Filter Bar ───────────────────────────────────── */
.filter-bar {
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl);
	padding: var(--space-4) var(--space-6);
	box-shadow: var(--shadow-sm);
	margin-bottom: var(--space-8);
}

/* ─── Karir Card ────────────────────────────────────────────────────────── */
.karir-card {
	background-color: #ffffff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-normal);
	display: block;
}

.karir-card:hover {
	border-color: var(--color-primary-200);
	box-shadow: var(--shadow-tosca);
	transform: translateY(-3px);
}

/* ─── Flash Messages ────────────────────────────────────────────────────── */
.flash-success {
	background-color: rgba(46, 158, 107, 0.1);
	border: 1px solid rgba(46, 158, 107, 0.3);
	color: var(--color-success);
	border-radius: var(--radius-md);
	padding: var(--space-3) var(--space-4);
	font-weight: 500;
	font-size: 0.9rem;
}

.flash-error {
	background-color: rgba(201, 64, 64, 0.1);
	border: 1px solid rgba(201, 64, 64, 0.3);
	color: var(--color-error);
	border-radius: var(--radius-md);
	padding: var(--space-3) var(--space-4);
	font-weight: 500;
	font-size: 0.9rem;
}

/* ─── Pendaftaran Form ──────────────────────────────────────────────────── */
.form-step-indicator {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-8);
}

.form-step {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-full);
	background-color: var(--color-neutral-100);
	color: var(--color-neutral-500);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
}

.form-step.active {
	background-color: var(--color-primary-500);
	color: #ffffff;
}

.form-step.done {
	background-color: var(--color-success);
	color: #ffffff;
}

/* ─── Mobile responsive fixes ───────────────────────────────────────────── */
@media (max-width: 768px) {
	.hero-section {
		padding-top: calc(72px + var(--space-6));
		text-align: center;
	}
	.hero-cta {
		justify-content: center;
	}
	.hero-desc {
		margin-left: auto;
		margin-right: auto;
	}
	.doctor-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.doctor-row .btn-primary-custom {
		width: 100%;
		justify-content: center;
	}
	.footer-title {
		margin-top: var(--space-8);
	}
	.admin-sidebar {
		transform: translateX(-260px);
	}
	.admin-sidebar.open {
		transform: translateX(0);
	}
	.admin-main {
		margin-left: 0;
	}
	.stat-num {
		font-size: 1.6rem;
	}
	.section-title {
		font-size: 1.6rem;
	}
	.pinned-info-banner {
		padding: var(--space-6);
	}
	.cta-title {
		font-size: 1.75rem;
	}
	/* WhatsApp buttons mobile adjustment */
	.whatsapp-float-container {
		bottom: 16px;
		right: 16px;
	}
	.whatsapp-float {
		width: 52px;
		height: 52px;
	}
	.whatsapp-label {
		font-size: 0.65rem;
	}
}

@media (max-width: 480px) {
	.container-custom {
		padding-left: var(--space-4);
		padding-right: var(--space-4);
	}
	.card-custom-body {
		padding: var(--space-4);
	}
}

/* ─── Logo Rekanan Slider ───────────────────────────────────────────────── */
.logo-slider-wrapper {
	overflow: hidden;
	padding: var(--space-6) 0;
	position: relative;
	background-color: #ffffff;
	mask-image: linear-gradient(
		to right,
		transparent,
		black 5%,
		black 95%,
		transparent
	);
	-webkit-mask-image: linear-gradient(
		to right,
		transparent,
		black 5%,
		black 95%,
		transparent
	);
}

.logo-slider-track {
	display: flex;
	align-items: center;
	animation: scroll-logo 60s linear infinite;
	width: fit-content;
	gap: var(--space-6);
}

.logo-slider-item {
	flex-shrink: 0;
	width: 160px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-3);
	background-color: #ffffff;
	border: 1.5px solid var(--color-neutral-100);
	border-radius: var(--radius-lg);
	transition: all 0.3s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-slider-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-primary-200);
	background-color: var(--color-primary-50);
}

.logo-slider-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	filter: grayscale(100%) brightness(0.95);
	opacity: 0.75;
	transition: all 0.3s ease;
}

.logo-slider-item:hover img {
	filter: grayscale(0%) brightness(1);
	opacity: 1;
	transform: scale(1.05);
}

@keyframes scroll-logo {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Pause animation on hover */
.logo-slider-wrapper:hover .logo-slider-track {
	animation-play-state: paused;
}

/* Responsive adjustments for logo slider */
@media (max-width: 768px) {
	.logo-slider-item {
		width: 140px;
		height: 80px;
	}

	.logo-slider-track {
		gap: var(--space-4);
	}
}

@media (max-width: 480px) {
	.logo-slider-item {
		width: 120px;
		height: 70px;
	}

	.logo-slider-track {
		gap: var(--space-3);
	}
}

/* ─── WhatsApp Floating Buttons ─────────────────────────────────────────── */
.whatsapp-float-container {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.whatsapp-float {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: pulse-wa 2s infinite;
	position: relative;
}

.whatsapp-float:hover {
	transform: scale(1.1) translateY(-2px);
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
	animation: none;
}

.whatsapp-float svg {
	margin-bottom: 2px;
}

.whatsapp-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 2px;
}

.whatsapp-cs {
	background: linear-gradient(135deg, #00af94 0%, #006958 100%);
	box-shadow: 0 4px 16px rgba(0, 175, 148, 0.4);
}

.whatsapp-cs:hover {
	box-shadow: 0 6px 24px rgba(0, 175, 148, 0.5);
}

.whatsapp-igd {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.whatsapp-igd:hover {
	box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
}

@keyframes pulse-wa {
	0%,
	100% {
		box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow:
			0 4px 20px rgba(37, 211, 102, 0.6),
			0 0 0 8px rgba(37, 211, 102, 0.1);
	}
}

/* Tooltip on hover */
.whatsapp-float::before {
	content: attr(title);
	position: absolute;
	right: 70px;
	background-color: rgba(0, 0, 0, 0.85);
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 6px;
	white-space: nowrap;
	font-size: 0.8rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	font-weight: 500;
}

.whatsapp-float:hover::before {
	opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   DOKTER CARD SLIDER — Beranda "Jadwal Dokter Hari Ini"
   ════════════════════════════════════════════════════════════ */

/* Outer wrapper: sembunyikan overflow untuk efek slider */
.dokter-slider-outer {
	overflow: hidden;
	position: relative;
	/* side-fade kiri & kanan */
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 3%,
		#000 97%,
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 3%,
		#000 97%,
		transparent 100%
	);
}

/* Track: flex row yang bisa digeser via transform */
.dokter-slider-track {
	display: flex;
	gap: 24px;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	padding: 8px 4px 12px; /* sedikit ruang agar shadow card tidak terpotong */
}

/* ── Kartu dokter (redesigned: foto kecil centered, layout vertikal bersih) ── */
.dokter-card {
	flex: 0 0 calc(25% - 18px); /* 4 card default */
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--color-neutral-100);
	border-radius: var(--radius-xl, 16px);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 16px 16px;
	transition:
		box-shadow 0.25s,
		transform 0.25s;
}
.dokter-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
	transform: translateY(-4px);
}

/* Foto area — fixed square size, kotak, foto tampil jelas */
.dokter-card-foto {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-primary-50, #f0fdf8);
	flex-shrink: 0;
	margin: 0 auto 14px;
	border: 2px solid var(--color-primary-100, #d1fae5);
}
.dokter-foto-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.dokter-foto-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-primary-400, #34d4b0);
	background: var(--color-primary-50, #f0fdf8);
	font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
}

/* Badge kuota — hidden untuk desain bersih (optional: re-enable if needed) */
.dokter-kuota-badge {
	display: none;
}

/* Body teks — centered layout */
.dokter-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
}
.dokter-card-name {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-neutral-900, #111827);
	line-height: 1.35;
	margin-bottom: 2px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
}
.dokter-card-poli {
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--color-primary-600, #009e7c);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
}
.dokter-card-jam {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 0.76rem;
	color: var(--color-neutral-600, #6b7280);
	background: var(--color-neutral-50, #f9fafb);
	padding: 4px 10px;
	border-radius: 999px;
	margin-top: 2px;
}
.dokter-card-jam i {
	color: var(--color-secondary-500, #f59e0b);
}

/* Footer tombol — full width */
.dokter-card-footer {
	width: 100%;
}

/* ── Tombol navigasi slider ── */
.slider-nav-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1.5px solid var(--color-neutral-200, #e5e7eb);
	background: #fff;
	color: var(--color-neutral-700, #374151);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}
.slider-nav-btn:hover {
	background: var(--color-primary-500, #00af94);
	border-color: var(--color-primary-500, #00af94);
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 175, 148, 0.25);
}

/* ── Dots indicator ── */
.dokter-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}
.sdot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: none;
	background: var(--color-neutral-200, #e5e7eb);
	cursor: pointer;
	transition: all 0.3s;
	padding: 0;
}
.sdot-active,
.sdot:hover {
	background: var(--color-primary-500, #00af94);
	width: 24px;
}

/* ── Responsive breakpoints ── */
@media (max-width: 1023px) {
	.dokter-card {
		flex: 0 0 calc(33.333% - 16px);
	}
}
@media (max-width: 767px) {
	.dokter-card {
		flex: 0 0 calc(50% - 12px);
	}
	.slider-nav-btn {
		width: 34px;
		height: 34px;
	}
}
@media (max-width: 575px) {
	.dokter-card {
		flex: 0 0 calc(85% - 8px);
	}
}

/* ════════════════════════════════════════════════════════════
   FOTO DOKTER — Halaman Jadwal Dokter (jadwal/index.php)
   ════════════════════════════════════════════════════════════ */

/* Foto kotak ukuran seragam */
.jadwal-dokter-foto {
	width: 88px;
	height: 88px;
	border-radius: 12px;
	object-fit: cover;
	object-position: top center;
	border: 2.5px solid var(--color-primary-100, #d1faf3);
	background: var(--color-primary-50, #f0fdf8);
	flex-shrink: 0;
}

/* Avatar fallback jika foto tidak ada */
.jadwal-dokter-avatar {
	width: 88px;
	height: 88px;
	border-radius: 12px;
	background: var(--color-primary-100, #d1faf3);
	color: var(--color-primary-700, #007a68);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 800;
	font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
	flex-shrink: 0;
	border: 2.5px solid var(--color-primary-100, #d1faf3);
}

/* Rich content links (from CKEditor) */
.article-content a,
.rich-text-content a {
	color: var(--color-primary-600);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.article-content a:hover,
.rich-text-content a:hover {
	color: var(--color-primary-700);
	text-decoration: none;
}
.article-content img,
.rich-text-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* Thumbnail kartu lowongan karir */
.karir-card-thumb {
	width: 100%;
	height: 200px;
	flex-shrink: 0;
	overflow: hidden;
}
.karir-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
@media (min-width: 768px) {
	.karir-card-thumb {
		width: 280px;
		height: auto;
		align-self: stretch;
	}
}
