.dbds-search,
.dbds-search * {
	box-sizing: border-box;
}

.dbds-search {
	--dbds-blue: #126bff;
	--dbds-blue-dark: #0756d6;
	--dbds-sky: #48aff0;
	--dbds-text: #14213d;
	--dbds-muted: #4d5564;
	--dbds-border: #1c72ff;
	--dbds-soft-border: #dce7f8;
	--dbds-shadow: 0 8px 24px rgba(18, 107, 255, 0.14);
	width: 100%;
	max-width: 100%;
	font-family: inherit;
	color: var(--dbds-text);
}

.dbds-form {
	display: grid;
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(170px, 0.55fr);
	gap: 16px;
	align-items: end;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--dbds-soft-border);
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(15, 41, 75, 0.08);
}

.dbds-field,
.dbds-action {
	min-width: 0;
}

.dbds-form.is-department-hidden {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(170px, 0.55fr);
}

.dbds-department-field[hidden],
.dbds-department-unavailable .dbds-department-field {
	display: none !important;
}

.dbds-label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #17243a;
}

.dbds-select-wrap {
	position: relative;
}

.dbds-select-wrap::after {
	content: "";
	position: absolute;
	right: 17px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #6d7787;
	border-bottom: 2px solid #6d7787;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.dbds-select {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 45px 0 16px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #d8e2ef;
	border-radius: 11px;
	background: #fff;
	color: #273244;
	font: inherit;
	font-size: 15px;
	line-height: 1;
	box-shadow: none;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbds-select:focus {
	border-color: var(--dbds-blue);
	box-shadow: 0 0 0 3px rgba(18, 107, 255, 0.13);
}

.dbds-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, #2478ff 0%, #0860eb 100%);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 17px rgba(18, 107, 255, 0.22);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dbds-search-button:hover,
.dbds-search-button:focus-visible {
	background: linear-gradient(135deg, #126bff 0%, #064dbf 100%);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(18, 107, 255, 0.28);
}

.dbds-search-button:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.dbds-search-icon {
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
	flex: 0 0 auto;
}

.dbds-search-icon::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 2px;
	right: -6px;
	bottom: -3px;
	border-radius: 2px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: left center;
}

.dbds-feedback {
	width: 100%;
	max-width: 1350px;
	min-height: 0;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.dbds-feedback:not(:empty) {
	margin-top: 18px;
	padding: 12px 16px;
	border-radius: 10px;
}

.dbds-feedback--loading {
	color: var(--dbds-blue-dark);
	background: #eef6ff;
}

.dbds-feedback--warning {
	color: #7b4b00;
	background: #fff7df;
}

.dbds-feedback--empty {
	color: #334155;
	background: #f3f6fa;
}

.dbds-feedback--error {
	color: #a10f20;
	background: #fff0f2;
}

.dbds-results-shell {
	width: 100%;
	max-width: 100%;
}

.dbds-results {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin-top: 28px;
	align-items: start;
}

.dbds-results:empty {
	display: none;
}

.dbds-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	padding: 24px 20px 18px;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	border: 1.5px solid var(--dbds-border);
	border-radius: 22px;
	box-shadow: var(--dbds-shadow);
	cursor: pointer;
	outline: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dbds-card:hover,
.dbds-card:focus-visible {
	transform: translateY(-5px);
	border-color: #075fe8;
	box-shadow: 0 16px 34px rgba(18, 107, 255, 0.22);
}

.dbds-photo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 164px;
	height: 164px;
	margin: 0 auto 14px;
	overflow: hidden;
	border: 2px solid var(--dbds-blue);
	border-radius: 50% !important;
	background: #eef6ff;
	box-shadow: 0 7px 18px rgba(18, 107, 255, 0.22);
	isolation: isolate;
}

.dbds-photo,
.dbds-card img.dbds-photo {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center top !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent;
	box-shadow: none !important;
	clip-path: circle(50% at 50% 50%);
}

.dbds-photo--fallback {
	display: flex !important;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	font-weight: 800;
	color: var(--dbds-blue);
	background: linear-gradient(145deg, #f4f9ff, #dcedff);
}

.dbds-share-button {
	position: absolute;
	top: 15px;
	right: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	margin: 0;
	padding: 8px;
	border: 1px solid #cfe2ff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--dbds-blue);
	box-shadow: 0 5px 14px rgba(18, 107, 255, 0.18);
	cursor: pointer;
	z-index: 3;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dbds-share-button:hover,
.dbds-share-button:focus-visible {
	background: var(--dbds-blue);
	color: #fff;
	transform: translateY(-1px) scale(1.04);
	box-shadow: 0 8px 18px rgba(18, 107, 255, 0.28);
	outline: none;
}

.dbds-share-button svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.dbds-verified {
	position: absolute;
	top: 15px;
	right: 60px;
	display: inline-flex;
	width: 37px;
	height: 37px;
	color: var(--dbds-sky);
	filter: drop-shadow(0 4px 7px rgba(54, 160, 231, 0.28));
	z-index: 2;
}

.dbds-verified svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dbds-card-body {
	flex: 0 0 auto;
	min-width: 0;
	text-align: center !important;
}

.dbds-name-bn {
	margin: 0;
	color: var(--dbds-blue);
	font: inherit;
	font-size: 21px;
	font-weight: 750;
	line-height: 1.25;
	text-align: center !important;
	overflow-wrap: anywhere;
}

.dbds-name-en {
	margin: 4px 0 11px;
	color: var(--dbds-blue);
	font-size: 13.5px;
	font-weight: 650;
	line-height: 1.3;
	text-align: center !important;
	overflow-wrap: anywhere;
}

.dbds-name-bn + .dbds-name-en {
	margin-top: 4px;
}

.dbds-card-body > .dbds-name-en:first-child {
	margin-top: 0;
	font-size: 19px;
	font-weight: 700;
}

.dbds-meta {
	display: grid;
	gap: 7px;
	width: 100%;
	margin-top: 6px;
	text-align: center !important;
}

.dbds-meta-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	color: #4f5663;
	font-size: 14.5px;
	line-height: 1.35;
	text-align: center !important;
}

.dbds-meta-row > span:last-child {
	min-width: 0;
	text-align: center !important;
	overflow-wrap: anywhere;
}

.dbds-meta-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: var(--dbds-blue);
}

.dbds-meta-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dbds-profile-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 47px;
	margin-top: 13px;
	padding: 9px 14px;
	border: 1px solid var(--dbds-blue);
	border-radius: 9px;
	background: linear-gradient(135deg, #2478ff 0%, #0961ef 100%);
	color: #fff !important;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: 0 7px 15px rgba(18, 107, 255, 0.2);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dbds-profile-button:hover,
.dbds-profile-button:focus-visible {
	background: linear-gradient(135deg, #126bff 0%, #064dbf 100%);
	border-color: var(--dbds-blue-dark);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 9px 18px rgba(18, 107, 255, 0.28);
}

.dbds-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.dbds-pagination:empty {
	display: none;
}

.dbds-page-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid #bdd3f3;
	border-radius: 8px;
	background: #fff;
	color: var(--dbds-blue-dark);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dbds-page-button:hover,
.dbds-page-button:focus-visible,
.dbds-page-button.is-active {
	border-color: var(--dbds-blue);
	background: var(--dbds-blue);
	color: #fff;
}

.dbds-page-button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.dbds-page-arrow {
	font-size: 23px;
}

.dbds-page-gap {
	padding: 0 2px;
	color: #64748b;
}

.dbds-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	max-width: calc(100vw - 32px);
	padding: 11px 18px;
	border-radius: 999px;
	background: #12233f;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	box-shadow: 0 12px 30px rgba(15, 35, 65, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 18px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 99999;
}

.dbds-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.dbds-toast.is-error {
	background: #9f1239;
}

.dbds-admin-warning,
.dbds-message {
	padding: 14px 16px;
	border-radius: 8px;
	background: #fff6df;
	color: #684500;
	font-family: inherit;
}

.dbds-message--error {
	background: #fff0f2;
	color: #a10f20;
}

@media (min-width: 1024px) {
	.dbds-results-shell {
		width: auto;
		max-width: none;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
		padding-right: clamp(24px, 3.6vw, 72px);
		padding-left: clamp(24px, 3.6vw, 72px);
	}

	.dbds-results,
	.dbds-pagination {
		width: 100%;
		max-width: 1760px;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (max-width: 1199px) {
	.dbds-card {
		padding-right: 17px;
		padding-left: 17px;
	}

	.dbds-photo-wrap {
		width: 148px;
		height: 148px;
	}

	.dbds-name-bn {
		font-size: 19px;
	}
}

@media (max-width: 1023px) {
	.dbds-form,
	.dbds-form.is-department-hidden {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dbds-form.is-department-hidden .dbds-action {
		grid-column: 1 / -1;
	}

	.dbds-results {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 17px;
	}

	.dbds-card {
		padding: 20px 14px 15px;
		border-radius: 19px;
	}

	.dbds-photo-wrap {
		width: 132px;
		height: 132px;
		margin-bottom: 12px;
	}

	.dbds-share-button {
		top: 12px;
		right: 12px;
		width: 32px;
		height: 32px;
		padding: 7px;
	}

	.dbds-verified {
		top: 12px;
		right: 52px;
		width: 32px;
		height: 32px;
	}

	.dbds-name-bn {
		font-size: 18px;
	}

	.dbds-meta-row {
		font-size: 13.5px;
	}
}

@media (max-width: 767px) {
	.dbds-form,
	.dbds-form.is-department-hidden {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
		padding: 12px;
		border-radius: 14px;
	}

	.dbds-label {
		margin-bottom: 6px;
		font-size: 11.5px;
	}

	.dbds-select {
		height: 44px;
		padding-right: 29px;
		padding-left: 9px;
		font-size: 11.5px;
		border-radius: 8px;
	}

	.dbds-select-wrap::after {
		right: 11px;
		width: 7px;
		height: 7px;
	}

	.dbds-search-button {
		height: 44px;
		font-size: 14px;
		border-radius: 8px;
	}

	.dbds-feedback:not(:empty) {
		margin-top: 12px;
		padding: 10px;
		font-size: 13px;
	}

	.dbds-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
		margin-top: 18px;
	}

	.dbds-card {
		min-height: 0;
		padding: 11px 7px 8px;
		border-width: 1.25px;
		border-radius: 16px;
		box-shadow: 0 5px 15px rgba(18, 107, 255, 0.14);
	}

	.dbds-card:hover,
	.dbds-card:focus-visible {
		transform: none;
	}

	.dbds-photo-wrap {
		width: 92px;
		height: 92px;
		margin-bottom: 8px;
		border-width: 1.5px;
		box-shadow: 0 4px 11px rgba(18, 107, 255, 0.2);
	}

	.dbds-photo--fallback {
		font-size: 35px;
	}

	.dbds-share-button {
		top: 7px;
		right: 7px;
		width: 26px;
		height: 26px;
		padding: 5px;
	}

	.dbds-verified {
		top: 7px;
		right: 39px;
		width: 26px;
		height: 26px;
	}

	.dbds-name-bn {
		font-size: 14.5px;
		line-height: 1.2;
	}

	.dbds-name-en,
	.dbds-card-body > .dbds-name-en:first-child {
		margin: 2px 0 7px;
		font-size: 10px;
		line-height: 1.22;
	}

	.dbds-card-body > .dbds-name-en:first-child {
		font-size: 13.5px;
	}

	.dbds-meta {
		gap: 4px;
		margin-top: 4px;
	}

	.dbds-meta-row {
		align-items: center;
		justify-content: center;
		gap: 4px;
		font-size: 10.5px;
		line-height: 1.22;
		text-align: center !important;
	}

	.dbds-meta-icon {
		flex-basis: 15px;
		width: 15px;
		height: 15px;
	}

	.dbds-profile-button {
		min-height: 40px;
		margin-top: 8px;
		padding: 7px 4px;
		font-size: 12.5px;
		border-radius: 7px;
	}

	.dbds-pagination {
		gap: 5px;
		margin-top: 20px;
	}

	.dbds-toast {
		bottom: 18px;
		padding: 9px 14px;
		font-size: 12.5px;
	}

	.dbds-page-button {
		min-width: 34px;
		height: 34px;
		padding: 0 8px;
		font-size: 12px;
	}
}

@media (max-width: 359px) {
	.dbds-form {
		padding: 9px;
	}

	.dbds-results {
		gap: 6px;
	}

	.dbds-card {
		padding-right: 5px;
		padding-left: 5px;
	}

	.dbds-photo-wrap {
		width: 82px;
		height: 82px;
	}

	.dbds-name-bn {
		font-size: 13px;
	}

	.dbds-meta-row {
		font-size: 9.8px;
	}
}
