:root {
	--db-navy: #173f62;
	--db-navy-2: #2d5f84;
	--db-ink: #173047;
	--db-muted: #6f8194;
	--db-border: #d8e5f1;
	--db-soft: #eef6fd;
	--db-bg: #edf5fc;
	--db-white: #fff;
}

* {
	box-sizing: border-box
}

body.db-auth-body {
	min-height: 100vh;
	margin: 0;
	font-family: Inter, Segoe UI, Arial, sans-serif;
	color: var(--db-ink);
	background: radial-gradient(circle at 14% 18%, rgba(80, 151, 213, .16), transparent 28%), linear-gradient(135deg, #f7fbff 0%, #eaf3fb 100%)
}

.db-auth-shell {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(360px, 1.05fr) minmax(420px, .95fr)
}

.db-auth-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: 34px 42px;
	background: linear-gradient(145deg, #123856 0%, #245878 58%, #2f6b91 100%);
	color: #fff
}

.db-auth-brand:before,
.db-auth-brand:after {
	position: absolute;
	border-radius: 50%;
	content: "";
	background: rgba(255, 255, 255, .07)
}

.db-auth-brand:before {
	width: 360px;
	height: 360px;
	right: -130px;
	top: -140px
}

.db-auth-brand:after {
	width: 280px;
	height: 280px;
	left: -110px;
	bottom: -120px
}

.db-brand-top,
.db-brand-copy,
.db-brand-foot {
	position: relative;
	z-index: 1
}

.db-brand-logo {
	display: block;
	width: min(330px, 76%);
	max-height: 92px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18))
}

.db-brand-copy {
	max-width: 560px
}

.db-brand-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .09);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase
}

.db-brand-copy h1 {
	margin: 20px 0 12px;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.04;
	letter-spacing: -.045em
}

.db-brand-copy p {
	max-width: 500px;
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 16px;
	line-height: 1.65
}

.db-brand-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 600
}

.db-auth-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 38px 28px
}

.db-auth-card {
	width: min(480px, 100%);
	padding: 30px;
	border: 1px solid rgba(201, 218, 232, .95);
	border-radius: 24px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 24px 60px rgba(26, 67, 101, .16);
	backdrop-filter: blur(12px)
}

.db-auth-card-head {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 24px
}

.db-auth-card-icon {
	display: grid;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	place-items: center;
	border-radius: 15px;
	background: linear-gradient(145deg, #2b5b80, #173e61);
	color: #fff;
	font-size: 21px;
	box-shadow: 0 10px 22px rgba(32, 78, 113, .2)
}

.db-auth-card h2,
.db-auth-card h3 {
	margin: 0;
	color: #142b40;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.025em
}

.db-auth-subtitle {
	margin: 5px 0 0;
	color: var(--db-muted);
	font-size: 13px;
	line-height: 1.5
}

.db-section-title {
	margin: 0 0 16px;
	color: #223a50;
	font-size: 14px;
	font-weight: 800
}

.db-field {
	margin-bottom: 16px
}

.db-label {
	display: block;
	margin-bottom: 7px;
	color: #294158;
	font-size: 12px;
	font-weight: 800
}

.db-text-input {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #ccdae7;
	border-radius: 12px;
	background: #fbfdff;
	color: #173047;
	font-size: 15px;
	outline: none;
	transition: .16s
}

.db-text-input:focus {
	border-color: #3977a5;
	box-shadow: 0 0 0 4px rgba(57, 119, 165, .12);
	background: #fff
}

.pin-container,
.pin-row {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 9px
}

.pin-box {
	width: 100% !important;
	height: 48px !important;
	padding: 0 !important;
	border: 1px solid #cbdbea !important;
	border-radius: 11px !important;
	background: #f9fbfe !important;
	text-align: center !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	outline: none !important
}

.pin-box:focus {
	border-color: #3677a8 !important;
	box-shadow: 0 0 0 4px rgba(54, 119, 168, .13) !important;
	background: #fff !important
}

.db-primary,
.db-secondary {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none
}

.db-primary {
	background: linear-gradient(135deg, #2c5c81, #173f62);
	color: #fff;
	box-shadow: 0 10px 20px rgba(29, 72, 105, .18)
}

.db-primary:hover {
	filter: brightness(1.05)
}

.db-secondary {
	background: #e9eff5;
	color: #42586d
}

.db-wide {
	width: 100%
}

.db-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 22px
}

.db-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	color: #4d6276;
	font-size: 13px
}

.db-remember {
	display: flex;
	align-items: center;
	gap: 7px
}

.forgot-btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: #215f91;
	font-weight: 800;
	cursor: pointer
}

.hidden {
	display: none !important
}

#errorBox,
.message {
	min-height: 22px;
	margin-top: 13px;
	text-align: center;
	font-size: 13px;
	font-weight: 750
}

.text-danger,
.message.error {
	color: #c83f4d
}

.text-success,
.message.success {
	color: #218657
}

.db-security-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 20px;
	color: #8190a0;
	font-size: 11px;
	font-weight: 700
}

.db-mobile-logo {
	display: none;
	width: 220px;
	max-height: 66px;
	object-fit: contain;
	margin: 0 auto 20px
}

.db-back-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	color: #3a5972;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none
}

@media(max-width:900px) {
	.db-auth-shell {
		display: block
	}

	.db-auth-brand {
		display: none
	}

	.db-auth-panel {
		min-height: 100vh;
		padding: 24px 16px
	}

	.db-mobile-logo {
		display: block
	}

	.db-auth-card {
		padding: 24px;
		border-radius: 20px
	}
}

@media(max-width:480px) {
	.db-auth-panel {
		align-items: flex-start;
		padding-top: 24px
	}

	.db-auth-card {
		padding: 20px 16px
	}

	.pin-container,
	.pin-row {
		gap: 6px
	}

	.pin-box {
		height: 44px !important
	}

	.db-actions {
		grid-template-columns: 1fr
	}
}

