/* =========================================================
   MODERN KLINIK
   Design System:
   Minimal • Modern • Elegant • Informative
   Selaras dengan modern-rs.css
   ========================================================= */

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

.klinik-page {
	padding-bottom: 60px;
	background: transparent;
}

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

.klinik-hero {
	position: relative;
	overflow: hidden;
	padding: 58px 0 52px;
	background: linear-gradient(135deg, #f1f9f8 0%, #eef7f6 55%, #e8f5f3 100%);
}

.klinik-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;
}

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

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

.klinik-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;

	font-size: 12px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #008f88;
}

.klinik-hero-eyebrow span {
	display: inline-block;
	width: 36px;
	height: 4px;

	border-radius: 10px;
	background: #0ab7a3;
}

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

.klinik-hero h1 {
	margin: 0;

	font-size: 44px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -1.8px;

	color: #123f56;
}

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

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

.klinik-main {
	padding-bottom: 0;
}

.klinik-main-card {
	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
   ========================================================= */

.klinik-filter-card {
	margin: 0;

	background: #ffffff;
	border: 1px solid #edf1ef;
	border-radius: 16px;

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

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

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

.klinik-filter-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.klinik-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;
}

.klinik-filter-title h4 {
	margin: 0 0 3px;

	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;

	color: #173f53;
}

.klinik-filter-title p {
	margin: 0;

	font-size: 13px;
	line-height: 1.5;

	color: #8a9490;
}

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

.klinik-filter-form {
	margin: 0;
}

.klinik-filter-form .form-group {
	margin-bottom: 18px;
}

.klinik-filter-form label {
	display: block;

	margin-bottom: 8px;

	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;

	color: #485451;
}

/* =========================================================
   FORM CONTROL
   ========================================================= */

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

	padding: 0 14px;

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

	color: #444444;
	font-size: 14px;

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

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

	outline: none;

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

.klinik-filter-form input.form-control::placeholder {
	color: #a8b0ad;
}

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

.klinik-filter-form .bootstrap-select {
	width: 100% !important;
}

.klinik-filter-form .bootstrap-select > .dropdown-toggle {
	width: 100%;
	height: 46px;

	padding: 0 14px;

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

	color: #444444 !important;
	font-size: 14px;

	box-shadow: none !important;
	outline: none !important;
}

.klinik-filter-form .bootstrap-select > .dropdown-toggle:focus,
.klinik-filter-form .bootstrap-select > .dropdown-toggle:active,
.klinik-filter-form .bootstrap-select.show > .dropdown-toggle {
	border-color: #61c3a2 !important;
	box-shadow: 0 0 0 3px rgba(97, 195, 162, 0.12) !important;
}

.klinik-filter-form .bootstrap-select > .dropdown-toggle .filter-option {
	display: flex;
	align-items: center;
}

.klinik-filter-form .bootstrap-select > .dropdown-toggle .caret {
	right: 14px;
}

.klinik-filter-form .dropdown-menu {
	margin-top: 5px;

	padding: 6px;

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

	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.klinik-filter-form .dropdown-menu .inner {
	max-height: 220px;
}

.klinik-filter-form .dropdown-menu li a {
	padding: 8px 11px;

	border-radius: 7px;

	font-size: 13px;
	color: #4b5753;
}

.klinik-filter-form .dropdown-menu li a:hover,
.klinik-filter-form .dropdown-menu li.active a,
.klinik-filter-form .dropdown-menu li.selected a {
	background: #eff9f6;
	color: #087f78;
}

.klinik-filter-form .bs-searchbox {
	padding: 6px;
}

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

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

.klinik-filter-action {
	display: flex;
	justify-content: flex-start;
	align-items: center;

	margin-top: 2px;
}

.klinik-btn-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	min-width: 115px;
	height: 40px;

	padding: 0 20px;

	border: 0;
	border-radius: 8px;

	background: #0ab7a3;
	color: #ffffff;

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

	cursor: pointer;

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

.klinik-btn-search:hover {
	background: #079e8d;
	color: #ffffff;
	text-decoration: none;

	transform: translateY(-1px);

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

.klinik-btn-search:focus {
	color: #ffffff;
	outline: none;

	box-shadow: 0 0 0 3px rgba(10, 183, 163, 0.15);
}

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

.klinik-result-header {
	display: flex;
	align-items: center;

	margin: 32px 0 20px;
}

.klinik-result-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

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

	flex: 0 0 5px;

	border-radius: 10px;

	background: #0ab7a3;
}

.klinik-result-title h3 {
	margin: 0;

	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;

	color: #173f53;
}

.klinik-result-title p {
	margin: 3px 0 0;

	font-size: 13px;
	line-height: 1.5;

	color: #8a9490;
}

/* =========================================================
   KLINIK GRID
   ========================================================= */

.klinik-list {
	display: grid;

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

	gap: 20px 24px;
}

/* =========================================================
   KLINIK CARD
   ========================================================= */

.klinik-card {
	position: relative;

	display: flex;
	align-items: stretch;

	min-height: 180px;

	padding: 18px;

	background: #ffffff;

	border: 1px solid #edf0ef;
	border-radius: 14px;

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

	overflow: hidden;

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

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

	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;

	width: 3px;

	border-radius: 0 5px 5px 0;

	background: #0ab7a3;

	opacity: 0;

	transition: opacity 0.25s ease;
}

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

	border-color: #dceee9;

	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.075);
}

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

/* =========================================================
   KLINIK CARD ICON
   ========================================================= */

.klinik-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 76px;
	height: 76px;
	flex: 0 0 76px;

	margin-top: 2px;

	border-radius: 14px;

	background: linear-gradient(145deg, #eef9f6 0%, #e4f5f0 100%);

	color: #0ab7a3;

	font-size: 30px;

	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.klinik-card:hover .klinik-card-icon {
	transform: scale(1.04);

	background: linear-gradient(145deg, #e5f8f2 0%, #daf2eb 100%);
}

/* =========================================================
   KLINIK CARD CONTENT
   ========================================================= */

.klinik-card-content {
	display: flex;
	flex-direction: column;

	min-width: 0;
	flex: 1;

	padding: 3px 0 3px 18px;
}

.klinik-card-name {
	margin: 0 0 10px;

	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;

	color: #123f56;

	word-break: break-word;
}

.klinik-card-address {
	display: flex;
	align-items: flex-start;
	gap: 7px;

	margin: 0;

	font-size: 13px;
	line-height: 1.55;

	color: #737d79;
}

.klinik-card-address i {
	margin-top: 3px;

	flex: 0 0 auto;

	color: #0ab7a3;
	font-size: 13px;
}

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

.klinik-card-action {
	display: flex;
	align-items: flex-end;

	margin-top: auto;
	padding-top: 14px;
}

.klinik-btn-detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

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

	padding: 0 15px;

	background: #eff9f6;

	border: 1px solid #cdebe3;
	border-radius: 7px;

	color: #087f78;

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

	text-decoration: none;

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

.klinik-btn-detail:hover {
	background: #0ab7a3;
	border-color: #0ab7a3;

	color: #ffffff;
	text-decoration: none;

	transform: translateY(-1px);
}

.klinik-btn-detail:focus {
	color: #087f78;
	text-decoration: none;
	outline: none;
}

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

.klinik-empty {
	padding: 65px 20px;

	text-align: center;

	background: #ffffff;

	border: 1px solid #edf0ef;
	border-radius: 16px;

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

.klinik-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 70px;
	height: 70px;

	margin: 0 auto 18px;

	border-radius: 50%;

	background: #f2f6f4;
	color: #aebbb6;

	font-size: 27px;
}

.klinik-empty h5 {
	margin: 0 0 7px;

	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;

	color: #4b5753;
}

.klinik-empty p {
	max-width: 420px;

	margin: 0 auto;

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

	color: #8a9490;
}

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

.klinik-pagination {
	display: flex;
	justify-content: center;

	margin-top: 28px;
}

.klinik-pagination ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.klinik-pagination li {
	margin: 0;
	padding: 0;
}

.klinik-pagination li a,
.klinik-pagination li span {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 38px;
	height: 38px;

	padding: 0 10px;

	border: 1px solid #e2e9e6;
	border-radius: 8px;

	background: #ffffff;

	color: #64716d;

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

	text-decoration: none;

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

.klinik-pagination li a:hover {
	border-color: #bfe5dc;

	background: #eff9f6;
	color: #087f78;

	text-decoration: none;
}

.klinik-pagination li.active a,
.klinik-pagination li.active span,
.klinik-pagination li.current a,
.klinik-pagination li.current span {
	border-color: #0ab7a3;

	background: #0ab7a3;
	color: #ffffff;
}

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

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

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

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

	.klinik-list {
		gap: 16px;
	}

	.klinik-card {
		padding: 16px;
	}

	.klinik-card-icon {
		width: 68px;
		height: 68px;
		flex-basis: 68px;
		font-size: 27px;
	}

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

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

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

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

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

	.klinik-hero-eyebrow {
		gap: 10px;

		font-size: 14px;
		letter-spacing: 1px;
	}

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

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

	.klinik-main-card {
		margin-top: 20px;
		padding: 18px;

		border-radius: 15px;
	}

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

	.klinik-filter-header {
		margin-bottom: 20px;
	}

	.klinik-filter-form .form-group {
		margin-bottom: 15px;
	}

	.klinik-result-header {
		margin-top: 26px;
	}

	.klinik-list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.klinik-card {
		min-height: 165px;
		padding: 13px;
	}

	.klinik-card::before {
		top: 13px;
		bottom: 13px;
	}

	.klinik-card-icon {
		width: 62px;
		height: 62px;
		flex-basis: 62px;

		border-radius: 12px;

		font-size: 25px;
	}

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

	.klinik-card-name {
		margin-bottom: 8px;
		font-size: 15px;
	}

	.klinik-card-address {
		font-size: 12px;
	}

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

	.klinik-btn-detail {
		min-width: 76px;
		height: 32px;

		padding: 0 12px;

		font-size: 12px;
	}

	.klinik-empty {
		padding: 50px 18px;
	}
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

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

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

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

	.klinik-filter-card .card-body {
		padding: 17px;
	}

	.klinik-filter-icon {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.klinik-filter-title h4 {
		font-size: 17px;
	}

	.klinik-filter-title p {
		font-size: 12px;
	}

	.klinik-card {
		display: block;
		padding: 12px;
	}

	.klinik-card-icon {
		width: 100%;
		height: 92px;

		margin: 0;

		border-radius: 11px;

		font-size: 30px;
	}

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

	.klinik-card-name {
		font-size: 15px;
	}

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

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

	.klinik-pagination li a,
	.klinik-pagination li span {
		min-width: 34px;
		height: 34px;
		padding: 0 8px;
	}
}
