/* =========================================================
MODERN RS TRANSPLANTASI
Website Ditjen Kesehatan Lanjutan
========================================================= */

:root {
	--rst-primary: #0ab7a3;
	--rst-primary-dark: #078f80;
	--rst-primary-deep: #06766b;

	--rst-soft: #eaf9f6;
	--rst-soft-2: #f5fbfa;

	--rst-dark: #102a2a;
	--rst-text: #465858;
	--rst-muted: #7a8b8b;

	--rst-border: rgba(16, 42, 42, 0.08);

	--rst-shadow: 0 18px 55px rgba(16, 42, 42, 0.07);

	--rst-shadow-hover: 0 25px 65px rgba(16, 42, 42, 0.12);
}

/* =========================================================
BREADCRUMB
========================================================= */

.rst-breadcrumb {
	position: relative;
	z-index: 10;
	background: #ffffff;
}

/* =========================================================
HERO
========================================================= */

.rst-hero {
	position: relative;

	min-height: 500px;

	display: flex;
	align-items: center;

	overflow: hidden;

	background:
		radial-gradient(
			circle at 83% 22%,
			rgba(10, 183, 163, 0.2),
			transparent 29%
		),
		radial-gradient(
			circle at 12% 80%,
			rgba(10, 183, 163, 0.09),
			transparent 26%
		),
		linear-gradient(135deg, #e8f9f6 0%, #f7fcfb 55%, #ffffff 100%);
}

/* Grid background */

.rst-hero-grid {
	position: absolute;
	inset: 0;

	background-image:
		linear-gradient(rgba(10, 183, 163, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 183, 163, 0.045) 1px, transparent 1px);

	background-size: 52px 52px;

	mask-image: linear-gradient(to right, black, transparent 82%);
}

/* =========================================================
PARALLAX DECORATIONS
========================================================= */

.rst-orbit,
.rst-particle,
.rst-hero-organ {
	position: absolute;
	pointer-events: none;
	will-change: transform;
}

.rst-orbit {
	border-radius: 50%;
}

.rst-orbit-one {
	width: 500px;
	height: 500px;

	right: -230px;
	top: -255px;

	border: 1px solid rgba(10, 183, 163, 0.18);
}

.rst-orbit-two {
	width: 360px;
	height: 360px;

	right: -105px;
	top: -75px;

	border: 1px solid rgba(10, 183, 163, 0.12);
}

.rst-orbit-three {
	width: 210px;
	height: 210px;

	right: 12%;
	bottom: -115px;

	border: 35px solid rgba(10, 183, 163, 0.035);
}

.rst-particle {
	border-radius: 50%;
}

.rst-particle-one {
	width: 11px;
	height: 11px;

	right: 25%;
	top: 25%;

	background: var(--rst-primary);
	opacity: 0.35;

	box-shadow:
		0 0 0 9px rgba(10, 183, 163, 0.07),
		0 0 0 19px rgba(10, 183, 163, 0.035);
}

.rst-particle-two {
	width: 7px;
	height: 7px;

	right: 17%;
	top: 62%;

	background: var(--rst-primary);
	opacity: 0.3;
}

.rst-particle-three {
	width: 18px;
	height: 18px;

	right: 35%;
	bottom: 22%;

	border: 2px solid rgba(10, 183, 163, 0.2);
}

/* =========================================================
ORGAN VISUAL
========================================================= */

.rst-hero-organ {
	z-index: 1;

	right: 10%;
	top: 50%;

	width: 280px;
	height: 280px;

	display: flex;
	align-items: center;
	justify-content: center;

	transform: translateY(-50%);
}

.rst-organ-ring {
	position: absolute;

	width: 100%;
	height: 100%;

	border: 1px solid rgba(10, 183, 163, 0.18);

	border-radius: 50%;

	box-shadow:
		inset 0 0 0 25px rgba(10, 183, 163, 0.025),
		0 0 0 30px rgba(10, 183, 163, 0.025);

	animation: rst-ring-pulse 5s ease-in-out infinite;
}

.rst-organ-circle {
	position: relative;

	width: 145px;
	height: 145px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: #ffffff;

	background: linear-gradient(
		145deg,
		var(--rst-primary),
		var(--rst-primary-dark)
	);

	font-size: 56px;

	box-shadow: 0 25px 55px rgba(10, 183, 163, 0.23);
}

.rst-organ-circle::before {
	content: "";

	position: absolute;
	inset: -14px;

	border: 1px solid rgba(10, 183, 163, 0.15);

	border-radius: 50%;
}

@keyframes rst-ring-pulse {
	0%,
	100% {
		transform: scale(0.96);
		opacity: 0.75;
	}

	50% {
		transform: scale(1.03);
		opacity: 1;
	}
}

/* =========================================================
HERO CONTENT
========================================================= */

.rst-hero .container {
	position: relative;
	z-index: 3;
}

.rst-hero-content {
	max-width: 760px;
	padding: 75px 0 95px;
}

.rst-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	margin-bottom: 20px;

	color: var(--rst-primary-dark);

	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
}

.rst-eyebrow > span {
	width: 9px;
	height: 9px;

	border-radius: 50%;

	background: var(--rst-primary);

	box-shadow: 0 0 0 6px rgba(10, 183, 163, 0.1);
}

.rst-hero h1 {
	margin: 0;

	color: var(--rst-dark);

	font-size: clamp(43px, 5vw, 68px);
	line-height: 1.04;

	letter-spacing: -2.4px;
	font-weight: 300;
}

.rst-hero h1 strong {
	display: block;

	color: var(--rst-primary);

	font-weight: 750;
}

.rst-hero-content > p {
	max-width: 690px;

	margin: 25px 0 35px;

	color: var(--rst-text);

	font-size: 16px;
	line-height: 1.8;
}

/* =========================================================
HERO STATS
========================================================= */

.rst-hero-stats {
	display: flex;
	align-items: center;
	gap: 25px;
}

.rst-stat {
	display: flex;
	align-items: center;
	gap: 11px;
}

.rst-stat-icon {
	width: 43px;
	height: 43px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 13px;

	color: var(--rst-primary);

	background: #ffffff;

	box-shadow: 0 8px 25px rgba(16, 42, 42, 0.08);
}

.rst-stat small {
	display: block;

	margin-bottom: 3px;

	color: var(--rst-muted);

	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.rst-stat strong {
	display: block;

	color: var(--rst-dark);

	font-size: 12px;
}

.rst-stat-divider {
	width: 1px;
	height: 38px;

	background: rgba(16, 42, 42, 0.12);
}

/* =========================================================
HERO WAVE
========================================================= */

.rst-hero-wave {
	position: absolute;

	left: 0;
	right: 0;
	bottom: -1px;

	height: 65px;

	z-index: 4;

	pointer-events: none;
}

.rst-hero-wave svg {
	display: block;

	width: 100%;
	height: 100%;
}

.rst-hero-wave path {
	fill: #ffffff;
}

/* =========================================================
MAIN
========================================================= */

.rst-main {
	position: relative;

	padding: 78px 0 110px;

	background: linear-gradient(180deg, #ffffff 0%, #f5faf9 100%);
}

/* =========================================================
INTRO
========================================================= */

.rst-intro {
	max-width: 1000px;

	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 22px;

	margin: 0 auto 70px;
	padding: 30px;

	border: 1px solid var(--rst-border);

	border-radius: 24px;

	background: #ffffff;

	box-shadow: var(--rst-shadow);
}

.rst-intro-icon {
	width: 62px;
	height: 62px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 18px;

	color: #ffffff;

	background: linear-gradient(
		135deg,
		var(--rst-primary),
		var(--rst-primary-dark)
	);

	font-size: 22px;

	box-shadow: 0 12px 30px rgba(10, 183, 163, 0.2);
}

.rst-intro span,
.rst-section-header span,
.rst-filter-header span,
.rst-result-header span {
	display: block;

	margin-bottom: 6px;

	color: var(--rst-primary-dark);

	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.8px;
}

.rst-intro h2 {
	margin: 0 0 12px;

	color: var(--rst-dark);

	font-size: 28px;
	line-height: 1.25;
}

.rst-intro p {
	margin: 0 0 10px;

	color: var(--rst-text);

	font-size: 14px;
	line-height: 1.8;
}

.rst-intro p:last-child {
	margin-bottom: 0;
}

/* =========================================================
DATA SECTION
========================================================= */

.rst-data-section {
	max-width: 1200px;
	margin: 0 auto;
}

.rst-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 30px;
	margin-bottom: 24px;
}

.rst-section-header h2 {
	margin: 0 0 7px;

	color: var(--rst-dark);

	font-size: 31px;
}

.rst-section-header p {
	margin: 0;

	color: var(--rst-text);

	font-size: 13px;
	line-height: 1.6;
}

.rst-total {
	min-width: 185px;

	display: flex;
	align-items: center;
	gap: 12px;

	padding: 13px 16px;

	border-radius: 15px;

	background: var(--rst-soft);
}

.rst-total-icon {
	width: 43px;
	height: 43px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 12px;

	color: var(--rst-primary);

	background: #ffffff;
}

.rst-total small {
	display: block;

	margin-bottom: 2px;

	color: var(--rst-muted);

	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}

.rst-total strong {
	display: block;

	color: var(--rst-dark);

	font-size: 18px;
}

/* =========================================================
FILTER
========================================================= */

.rst-filter-card {
	margin-bottom: 38px;
	padding: 27px 30px;

	border: 1px solid var(--rst-border);

	border-radius: 23px;

	background: #ffffff;

	box-shadow: var(--rst-shadow);
}

.rst-filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin-bottom: 23px;
	padding-bottom: 19px;

	border-bottom: 1px solid rgba(16, 42, 42, 0.07);
}

.rst-filter-header h3 {
	margin: 0;

	color: var(--rst-dark);

	font-size: 21px;
}

.rst-filter-decoration {
	width: 45px;
	height: 45px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 14px;

	color: var(--rst-primary);

	background: var(--rst-soft);
}

.rst-field label {
	display: block;

	margin-bottom: 8px;

	color: var(--rst-dark);

	font-size: 12px;
	font-weight: 700;
}

.rst-input-wrap,
.rst-select-wrap {
	position: relative;
}

.rst-input-wrap > i,
.rst-select-wrap > i {
	position: absolute;

	left: 14px;
	top: 50%;

	z-index: 2;

	color: var(--rst-primary);

	transform: translateY(-50%);
}

.rst-field .form-control,
.rst-field .form-select {
	width: 100%;
	height: 46px !important;

	border: 1px solid #dce6e5 !important;

	border-radius: 11px !important;

	color: var(--rst-dark) !important;
	background: #fbfdfd !important;

	font-size: 13px !important;

	box-shadow: none !important;

	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.rst-input-wrap .form-control {
	padding-left: 38px !important;
}

.rst-select-wrap .form-select {
	padding-left: 38px !important;
}

.rst-field .form-control:focus,
.rst-field .form-select:focus {
	border-color: var(--rst-primary) !important;

	background: #ffffff !important;

	box-shadow: 0 0 0 4px rgba(10, 183, 163, 0.08) !important;

	outline: none;
}

.rst-filter-actions {
	display: flex;
	gap: 8px;
}

.rst-btn {
	min-width: 92px;
	height: 46px;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	padding: 0 15px;

	border-radius: 11px !important;

	font-size: 12px;
	font-weight: 700;

	text-decoration: none !important;

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.rst-btn-primary {
	border: none;

	color: #ffffff !important;

	background: linear-gradient(
		135deg,
		var(--rst-primary),
		var(--rst-primary-dark)
	);

	box-shadow: 0 8px 20px rgba(10, 183, 163, 0.18);
}

.rst-btn-primary:hover {
	color: #ffffff !important;
	transform: translateY(-2px);
}

.rst-btn-reset {
	border: 1px solid #dce6e5;

	color: var(--rst-text) !important;
	background: #ffffff;
}

.rst-btn-reset:hover {
	color: var(--rst-primary-dark) !important;

	border-color: #b9deda;

	transform: translateY(-2px);
}

/* =========================================================
RESULT HEADER
========================================================= */

.rst-result-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 25px;

	margin-bottom: 20px;
}

.rst-result-header h3 {
	margin: 0;

	color: var(--rst-dark);

	font-size: 26px;
}

.rst-result-note {
	display: flex;
	align-items: center;
	gap: 8px;

	max-width: 360px;

	color: var(--rst-muted);

	font-size: 11px;
	line-height: 1.5;
}

.rst-result-note i {
	color: var(--rst-primary);
}

/* =========================================================
TABLE
========================================================= */

.rst-table-card {
	overflow: hidden;

	border: 1px solid var(--rst-border);

	border-radius: 20px;

	background: #ffffff;

	box-shadow: var(--rst-shadow);
}

.rst-table-responsive {
	width: 100%;

	overflow-x: auto;

	-webkit-overflow-scrolling: touch;

	scrollbar-width: thin;
	scrollbar-color: #b8d9d5 transparent;
}

.rst-table-responsive::-webkit-scrollbar {
	height: 8px;
}

.rst-table-responsive::-webkit-scrollbar-track {
	background: #f3f8f7;
}

.rst-table-responsive::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background: #b8d9d5;
}

.rst-table {
	width: 100%;
	min-width: 920px;

	margin: 0;

	border-collapse: separate;
	border-spacing: 0;

	font-size: 12px;
}

.rst-table thead th {
	padding: 15px 12px;

	color: #ffffff;

	background: linear-gradient(135deg, #109f90, #087f72);

	border-right: 1px solid rgba(255, 255, 255, 0.15);

	border-bottom: 1px solid rgba(255, 255, 255, 0.12);

	font-size: 11px;
	font-weight: 700;

	line-height: 1.4;

	text-align: center;
	vertical-align: middle;

	white-space: nowrap;
}

.rst-table thead th.rst-rs {
	min-width: 260px;
}

.rst-table thead th.rst-type {
	min-width: 190px;
}

.rst-table thead th.rst-web {
	width: 125px;
}

.rst-table thead th.rst-no {
	width: 55px;
}

.rst-table tbody td {
	padding: 14px 12px;

	color: var(--rst-text);

	border-right: 1px solid #edf2f1;

	border-bottom: 1px solid #edf2f1;

	text-align: center;
	vertical-align: middle;

	background: #ffffff;
}

.rst-table tbody tr {
	transition: background 0.25s ease;
}

.rst-table tbody tr:hover td {
	background: #f4fbfa;
}

.rst-number {
	color: var(--rst-primary-dark) !important;

	font-weight: 800;
}

.rst-rs-cell {
	display: flex;
	align-items: center;
	gap: 10px;

	text-align: left;
}

.rst-rs-icon {
	width: 35px;
	height: 35px;

	flex: 0 0 35px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 10px;

	color: var(--rst-primary);

	background: var(--rst-soft);
}

.rst-rs-name strong {
	color: var(--rst-dark);

	font-size: 12px;
	line-height: 1.45;
}

.rst-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	padding: 6px 9px;

	border-radius: 20px;

	color: var(--rst-primary-deep);

	background: var(--rst-soft);

	font-size: 10px;
	font-weight: 700;

	line-height: 1.3;
}

.rst-location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rst-location i {
	color: var(--rst-primary);
}

.rst-web-cell {
	text-align: center !important;
}

.rst-web-btn {
	min-width: 92px;
	min-height: 34px;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

	padding: 6px 10px;

	border-radius: 9px;

	color: #ffffff !important;

	background: linear-gradient(
		135deg,
		var(--rst-primary),
		var(--rst-primary-dark)
	);

	font-size: 10px;
	font-weight: 700;

	text-decoration: none !important;

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.rst-web-btn:hover {
	color: #ffffff !important;

	transform: translateY(-2px);

	box-shadow: 0 7px 18px rgba(10, 183, 163, 0.18);
}

.rst-no-web {
	color: #aab8b7;
}

/* =========================================================
EMPTY
========================================================= */

.rst-empty {
	min-height: 220px;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	padding: 35px 20px;

	color: var(--rst-muted);
}

.rst-empty-icon {
	width: 62px;
	height: 62px;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-bottom: 14px;

	border-radius: 50%;

	color: #a8bbb8;

	background: #f1f6f5;

	font-size: 22px;
}

.rst-empty strong {
	margin-bottom: 5px;

	color: var(--rst-dark);

	font-size: 14px;
}

.rst-empty span {
	font-size: 11px;
}

/* =========================================================
INFORMATION NOTE
========================================================= */

.rst-note-card {
	display: grid;

	grid-template-columns: 48px 1fr;

	gap: 15px;

	margin-top: 25px;
	padding: 22px 24px;

	border: 1px solid rgba(10, 183, 163, 0.1);

	border-radius: 18px;

	background: linear-gradient(135deg, #f1fbf9, #ffffff);
}

.rst-note-icon {
	width: 44px;
	height: 44px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 13px;

	color: var(--rst-primary);

	background: #ffffff;

	box-shadow: 0 6px 20px rgba(16, 42, 42, 0.06);
}

.rst-note-card strong {
	display: block;

	margin-bottom: 8px;

	color: var(--rst-dark);

	font-size: 13px;
}

.rst-note-card p {
	margin: 0 0 7px;

	color: var(--rst-text);

	font-size: 12px;
	line-height: 1.75;
}

.rst-note-card p:last-child {
	margin-bottom: 0;
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1100px) {
	.rst-hero-organ {
		right: 3%;
		opacity: 0.72;
	}

	.rst-filter-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rst-filter-actions {
		grid-column: 1 / -1;

		justify-content: flex-end;
	}
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {
	.rst-hero {
		min-height: auto;
	}

	.rst-hero-content {
		padding: 55px 20px 78px;
	}

	.rst-hero h1 {
		font-size: 40px;
		letter-spacing: -1.5px;
	}

	.rst-hero-content > p {
		font-size: 14px;
		line-height: 1.7;
	}

	.rst-hero-organ {
		right: -90px;
		top: 30%;
		width: 230px;
		height: 230px;
		opacity: 0.35;
	}

	.rst-organ-circle {
		width: 110px;
		height: 110px;
		font-size: 40px;
	}

	.rst-hero-stats {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.rst-stat-divider {
		display: none;
	}

	.rst-main {
		padding: 55px 0 80px;
	}

	.rst-intro {
		grid-template-columns: 1fr;

		margin: 0 15px 55px;
		padding: 24px 20px;

		border-radius: 20px;
	}

	.rst-intro-icon {
		width: 50px;
		height: 50px;

		border-radius: 14px;

		font-size: 18px;
	}

	.rst-intro h2 {
		font-size: 24px;
	}

	.rst-intro p {
		font-size: 13px;
	}

	.rst-data-section {
		margin: 0 15px;
	}

	.rst-section-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.rst-section-header h2 {
		font-size: 27px;
	}

	.rst-total {
		min-width: 0;
		width: 100%;
	}

	.rst-filter-card {
		padding: 23px 19px;

		border-radius: 20px;
	}

	.rst-filter-actions {
		grid-column: auto;
		width: 100%;
	}

	.rst-btn {
		flex: 1;
	}

	.rst-result-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.rst-result-header h3 {
		font-size: 25px;
	}

	.rst-result-note {
		max-width: none;
	}

	.rst-table-card {
		border-radius: 16px;
	}

	.rst-note-card {
		grid-template-columns: 1fr;
		padding: 20px;
	}
}

/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
	.rst-hero h1 {
		font-size: 35px;
	}

	.rst-filter-actions {
		flex-direction: column;
	}

	.rst-btn {
		width: 100%;
	}

	.rst-note-card {
		gap: 11px;
	}
}

/* =========================================================
REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.rst-orbit,
	.rst-particle,
	.rst-hero-organ,
	.rst-organ-ring,
	.rst-info-card,
	.rst-btn,
	.rst-web-btn {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================
   FILTER - SUSUNAN MODERN
========================================================= */

.rst-filter-grid {
	display: grid;

	grid-template-columns:
		1fr
		1fr
		auto;

	gap: 16px;

	align-items: end;
}

/* Cari Rumah Sakit dibuat full width */

.rst-field:first-child {
	grid-column: 1 / -1;
}

/* Provinsi */

.rst-field:nth-child(2) {
	grid-column: 1;
}

/* Jenis Transplantasi */

.rst-field:nth-child(3) {
	grid-column: 2;
}

/* Tombol */

.rst-filter-actions {
	grid-column: 3;

	display: flex;
	gap: 8px;
}

/* Input pencarian dibuat lebih tinggi dan lega */

.rst-input-wrap .form-control {
	width: 100%;
	height: 54px !important;

	padding-left: 45px !important;

	border-radius: 14px !important;

	font-size: 14px !important;
}

/* Icon search */

.rst-input-wrap > i {
	left: 17px;
	font-size: 15px;
}

/* Select */

.rst-field .form-select {
	height: 46px !important;
}

/* Tombol */

.rst-btn {
	height: 46px;
	min-width: 92px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
	.rst-filter-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rst-field:first-child {
		grid-column: 1 / -1;
	}

	.rst-field:nth-child(2) {
		grid-column: 1;
	}

	.rst-field:nth-child(3) {
		grid-column: 2;
	}

	.rst-filter-actions {
		grid-column: 1 / -1;

		justify-content: flex-end;
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
	.rst-filter-grid {
		grid-template-columns: 1fr;
	}

	.rst-field:first-child,
	.rst-field:nth-child(2),
	.rst-field:nth-child(3),
	.rst-filter-actions {
		grid-column: 1;
	}

	.rst-filter-actions {
		width: 100%;
	}

	.rst-btn {
		flex: 1;
	}
}
