/* =========================================================
   MODERN RUMAH SAKIT
   Direktorat Jenderal Kesehatan Lanjutan
   ========================================================= */

/* =========================================================
   PAGE
   ========================================================= */

.rs-page {
	position: relative;
	padding-bottom: 60px;
	background: transparent;
}

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

.rs-hero {
	position: relative;
	padding: 58px 0 52px;

	background: linear-gradient(135deg, #f1f9f8 0%, #eef7f6 55%, #e8f5f3 100%);

	overflow: hidden;
}

.rs-hero::after {
	content: "";

	position: absolute;
	right: -120px;
	top: -180px;

	width: 420px;
	height: 420px;

	border-radius: 50%;

	background: rgba(97, 195, 162, 0.08);

	pointer-events: none;
}

.rs-hero-content {
	position: relative;
	z-index: 2;
}

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

.rs-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 12px;

	color: #008f88;

	font-size: 12px;
	line-height: 1.2;

	font-weight: 800;

	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.rs-hero-eyebrow span {
	display: inline-block;

	width: 36px;
	height: 4px;

	border-radius: 10px;

	background: #0ab7a3;
}

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

.rs-hero h1 {
	margin: 0;

	color: #123f56;

	font-size: 44px;
	line-height: 1.08;

	font-weight: 800;

	letter-spacing: -1.8px;
}

.rs-hero h1 span {
	color: #0ab7a3;
}

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

.rs-main-card {
	position: relative;

	margin-top: 30px;

	padding: 28px;

	background: rgba(255, 255, 255, 0.96);

	border-radius: 18px;

	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

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

.rs-filter-card {
	position: relative;

	background: #fff;

	border: 1px solid #edf1ef;

	border-radius: 16px;

	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.045);

	overflow: visible;
}

.rs-filter-card .card-body {
	padding: 25px;
}

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

.rs-filter-title {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 24px;
}

.rs-filter-icon {
	width: 42px;
	height: 42px;

	flex: 0 0 42px;

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

	border-radius: 12px;

	background: #e7f7f0;

	color: #0ab7a3;

	font-size: 17px;
}

.rs-filter-title h4 {
	margin: 0;

	color: #173f53;

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

.rs-filter-title span {
	display: block;

	margin-top: 3px;

	color: #8a9490;

	font-size: 13px;
}

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

.rs-filter-card label {
	display: block;

	margin-bottom: 8px;

	color: #485451;

	font-size: 13px;

	font-weight: 600;
}

/* =========================================================
   INPUT
   ========================================================= */

.rs-filter-card .form-control {
	width: 100%;
	height: 46px;

	padding: 0 14px;

	color: #444;

	background: #fff;

	border: 1px solid #e1e7e4;
	border-radius: 10px;

	box-shadow: none;

	font-size: 14px;

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

.rs-filter-card .form-control:focus {
	border-color: #61c3a2;

	box-shadow: 0 0 0 3px rgba(97, 195, 162, 0.12);
}

/* =========================================================
   BOOTSTRAP SELECTPICKER
   ========================================================= */

.rs-filter-card .bootstrap-select {
	width: 100% !important;
}

.rs-filter-card .bootstrap-select > .dropdown-toggle {
	height: 46px;

	padding: 0 14px;

	color: #555;

	background: #fff !important;

	border: 1px solid #e1e7e4 !important;
	border-radius: 10px !important;

	box-shadow: none !important;

	font-size: 14px;

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

.rs-filter-card .bootstrap-select > .dropdown-toggle:focus,
.rs-filter-card .bootstrap-select > .dropdown-toggle:active {
	outline: none !important;

	border-color: #61c3a2 !important;

	box-shadow: 0 0 0 3px rgba(97, 195, 162, 0.12) !important;
}

.rs-filter-card .bootstrap-select .filter-option {
	display: flex;
	align-items: center;
}

.rs-filter-card .bootstrap-select .dropdown-menu {
	margin-top: 5px;

	padding: 6px;

	border: 1px solid #e5ebe8;

	border-radius: 10px;

	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.rs-filter-card .bootstrap-select .dropdown-item {
	padding: 8px 11px;

	border-radius: 7px;

	color: #555;

	font-size: 13px;
}

.rs-filter-card .bootstrap-select .dropdown-item:hover,
.rs-filter-card .bootstrap-select .dropdown-item.active,
.rs-filter-card .bootstrap-select .dropdown-item:active {
	color: #087f78;

	background: #eff9f6;
}

/* =========================================================
   FILTER SEARCH ICON
   ========================================================= */

.rs-filter-card .bs-searchbox {
	padding: 6px;
}

.rs-filter-card .bs-searchbox .form-control {
	height: 38px;
}

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

.rs-filter-actions {
	display: flex;
	align-items: center;

	gap: 10px;

	margin-top: 2px;
}

.rs-btn-search {
	min-width: 115px;
	height: 40px;

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

	padding: 0 20px;

	color: #fff !important;

	background: #0ab7a3;

	border: none;
	border-radius: 8px;

	font-size: 14px;
	font-weight: 600;

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

.rs-btn-search:hover {
	color: #fff;

	background: #079e8d;

	transform: translateY(-1px);

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

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

.rs-result-header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin: 32px 0 20px;
}

.rs-result-title {
	display: flex;
	align-items: center;

	gap: 11px;
}

.rs-result-title .title-line {
	width: 5px;
	height: 34px;

	flex: 0 0 5px;

	border-radius: 10px;

	background: #0ab7a3;
}

.rs-result-title h4 {
	margin: 0;

	color: #173f53;

	font-size: 21px;

	font-weight: 700;
}

.rs-result-title small {
	display: block;

	margin-top: 3px;

	color: #89928f;

	font-size: 13px;
}

/* =========================================================
   TOTAL
   ========================================================= */

.rs-total {
	color: #7c8783;

	font-size: 14px;
}

.rs-total strong {
	color: #173f53;

	font-size: 18px;
}

/* =========================================================
   RS GRID
   ========================================================= */

.rs-list {
	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 20px 24px;
}

/* =========================================================
   RS CARD
   ========================================================= */

.rs-card {
	position: relative;

	display: flex;

	min-height: 205px;

	padding: 16px;

	background: #fff;

	border: 1px solid #edf0ef;

	border-radius: 14px;

	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.055);

	overflow: hidden;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.rs-card::before {
	content: "";

	position: absolute;

	left: 0;
	top: 0;
	bottom: 0;

	width: 3px;

	background: #0ab7a3;

	opacity: 0;

	transition: opacity 0.2s ease;
}

.rs-card:hover {
	transform: translateY(-3px);

	border-color: #dceee9;

	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.rs-card:hover::before {
	opacity: 1;
}

/* =========================================================
   IMAGE
   ========================================================= */

.rs-card-image {
	width: 190px;

	flex: 0 0 190px;

	min-height: 170px;

	overflow: hidden;

	border-radius: 10px;

	background: #f1f5f4;
}

.rs-card-image img {
	display: block;

	width: 100%;
	height: 100%;

	min-height: 170px;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.rs-card:hover .rs-card-image img {
	transform: scale(1.035);
}

/* =========================================================
   RS CONTENT
   ========================================================= */

.rs-card-content {
	min-width: 0;

	flex: 1;

	display: flex;
	flex-direction: column;

	padding: 4px 0 4px 18px;
}

.rs-card-name {
	margin: 0 0 9px;

	color: #123f56;

	font-size: 17px;

	line-height: 1.35;

	font-weight: 700;
}

.rs-card-address {
	display: flex;

	align-items: flex-start;

	gap: 7px;

	margin: 0;

	color: #737d79;

	font-size: 13px;

	line-height: 1.55;
}

.rs-card-address i {
	flex: 0 0 14px;

	margin-top: 3px;

	color: #0ab7a3;

	font-size: 13px;
}

/* =========================================================
   TARIF
   ========================================================= */

.rs-card-tarif {
	display: inline-flex;
	align-items: center;

	gap: 6px;

	margin-top: 10px;

	color: #737d79;

	font-size: 13px;

	text-decoration: none;

	transition: color 0.2s ease;
}

.rs-card-tarif i {
	color: #0ab7a3;
}

.rs-card-tarif:hover {
	color: #087f78;

	text-decoration: none;
}

/* =========================================================
   CARD ACTION
   ========================================================= */

.rs-card-action {
	margin-top: auto;

	padding-top: 12px;
}

.rs-btn-detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 82px;
	height: 34px;

	padding: 0 15px;

	color: #087f78 !important;

	background: #eff9f6;

	border: 1px solid #cdebe3;

	border-radius: 7px;

	font-size: 13px;

	font-weight: 600;

	text-decoration: none !important;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.rs-btn-detail:hover {
	color: #fff !important;

	background: #0ab7a3;

	border-color: #0ab7a3;

	transform: translateY(-1px);
}

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

.rs-empty {
	grid-column: 1 / -1;

	padding: 65px 20px;

	text-align: center;

	background: #fff;

	border: 1px solid #edf0ef;

	border-radius: 16px;

	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.045);
}

.rs-empty-icon {
	width: 70px;
	height: 70px;

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

	margin: 0 auto 15px;

	border-radius: 50%;

	color: #aebbb6;

	background: #f2f6f4;

	font-size: 27px;
}

.rs-empty h5 {
	margin: 0 0 6px;

	color: #555;

	font-size: 17px;

	font-weight: 600;
}

.rs-empty p {
	margin: 0;

	color: #999;

	font-size: 13px;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.rs-pagination {
	margin-top: 28px;

	text-align: center;
}

.rs-pagination ul {
	justify-content: center;

	margin-bottom: 0;
}

.rs-pagination .page-link {
	min-width: 38px;
	height: 38px;

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

	margin: 0 3px;

	color: #58625f;

	background: #fff;

	border: 1px solid #e2e8e5;

	border-radius: 8px !important;

	font-size: 13px;

	box-shadow: none;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.rs-pagination .page-link:hover {
	color: #087f78;

	background: #eff9f6;

	border-color: #bfe5da;
}

.rs-pagination .active .page-link {
	color: #fff;

	background: #0ab7a3;

	border-color: #0ab7a3;
}

/* =========================================================
   INPUT ERROR
   ========================================================= */

.rs-input-error {
	margin-top: 20px;

	border: none;

	border-left: 4px solid #f0ad4e;

	border-radius: 8px;

	background: #fff8ed;

	color: #856404;

	font-size: 14px;
}

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

@media (max-width: 991px) {
	.rs-hero {
		padding: 52px 0 46px;
	}

	.rs-hero h1 {
		font-size: 48px;
	}

	.rs-main-card {
		padding: 24px;
	}

	.rs-list {
		gap: 16px;
	}

	.rs-card-image {
		width: 155px;
		flex-basis: 155px;
	}

	.rs-card-image img {
		min-height: 170px;
	}

	.rs-card-content {
		padding-left: 15px;
	}

	.rs-card-name {
		font-size: 16px;
	}
}

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

@media (max-width: 767px) {
	.rs-page {
		padding-bottom: 40px;
	}

	.rs-hero {
		padding: 45px 0 40px;
	}

	.rs-hero-eyebrow {
		font-size: 14px;
		gap: 10px;
		letter-spacing: 1px;
	}

	.rs-hero-eyebrow span {
		width: 30px;
		height: 3px;
	}

	.rs-hero h1 {
		font-size: 40px;
		line-height: 1.1;
		letter-spacing: -1px;
	}

	.rs-main-card {
		margin-top: 20px;

		padding: 18px;

		border-radius: 15px;
	}

	.rs-filter-card .card-body {
		padding: 20px;
	}

	.rs-filter-title h4 {
		font-size: 18px;
	}

	.rs-result-header {
		align-items: flex-start;

		margin-top: 26px;
	}

	.rs-result-title h4 {
		font-size: 19px;
	}

	.rs-total {
		margin-top: 10px;
	}

	.rs-list {
		grid-template-columns: 1fr;

		gap: 14px;
	}

	.rs-card {
		min-height: 165px;

		padding: 13px;
	}

	.rs-card-image {
		width: 135px;

		flex-basis: 135px;

		min-height: 140px;
	}

	.rs-card-image img {
		min-height: 140px;
	}

	.rs-card-content {
		padding-left: 13px;
	}

	.rs-card-name {
		margin-bottom: 7px;

		font-size: 15px;
	}

	.rs-card-address,
	.rs-card-tarif {
		font-size: 12px;
	}

	.rs-btn-detail {
		min-width: 76px;

		height: 32px;

		font-size: 12px;
	}
}

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

@media (max-width: 480px) {
	.rs-hero {
		padding: 38px 0 34px;
	}

	.rs-hero h1 {
		font-size: 34px;
	}

	.rs-main-card {
		padding: 14px;
	}

	.rs-card {
		display: block;

		padding: 12px;
	}

	.rs-card-image {
		width: 100%;
		height: 175px;

		min-height: 175px;
	}

	.rs-card-image img {
		width: 100%;
		height: 175px;

		min-height: 175px;
	}

	.rs-card-content {
		padding: 13px 2px 2px;
	}

	.rs-card-action {
		padding-top: 10px;
	}

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

	.rs-btn-search {
		width: 100%;
	}

	.rs-pagination .page-link {
		min-width: 34px;
		height: 34px;

		margin: 0 2px;
	}
}
