/* Dark Password Gate — slim single-row bar. Muted, almost-black palette. */

.dpg-html,
body.dpg-full {
	margin: 0;
	padding: 0;
	background: #2b2b2b;
	color: #b3b3b3;
	min-height: 100%;
}

.dpg-html {
	height: 100%;
}

body.dpg-full {
	min-height: 100vh;
	min-height: 100dvh;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden;
}

.dpg-inline {
	background: #2b2b2b;
	width: 100%;
	box-sizing: border-box;
}

.dpg-wrap {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: max(24px, env(safe-area-inset-top, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
	padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
	padding-left: max(16px, env(safe-area-inset-left, 0px));
	box-sizing: border-box;
	background: #2b2b2b;
	max-width: 100%;
	overflow-x: hidden;
}

.dpg-wrap--inline {
	min-height: 0;
	padding-top: max(24px, env(safe-area-inset-top, 0px));
	padding-right: max(16px, env(safe-area-inset-right, 0px));
	padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
	padding-left: max(16px, env(safe-area-inset-left, 0px));
}

.dpg-form {
	position: relative;
	margin: 0;
	width: 100%;
	max-width: 360px;
	min-width: 0;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.dpg-bar {
	display: flex;
	flex-direction: row;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	height: 24px;
	max-height: 25px;
	background: #141414;
	border: 1px solid #3a3a3a;
	border-radius: 6px;
	padding-block: 0;
	padding-inline-start: 4px;
	padding-inline-end: 2px;
	gap: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
	overflow: hidden;
}

.dpg-logo {
	display: block;
	height: 20px;
	width: auto;
	max-height: 20px;
	flex: 0 0 auto;
	object-fit: contain;
	margin: 0;
}

.dpg-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dpg-label:focus {
	position: absolute;
	inset-inline-start: 0;
	top: -22px;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	overflow: visible;
	white-space: nowrap;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #8a8a8a;
	background: #2b2b2b;
	padding: 2px 4px;
	z-index: 2;
}

.dpg-input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: 22px;
	max-height: 22px;
	box-sizing: border-box;
	background: transparent;
	color: #c4c4c4;
	border: 0;
	border-radius: 0;
	padding: 0 6px;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family: inherit;
	box-shadow: none;
}

.dpg-input:focus {
	outline: none;
	background: transparent;
}

.dpg-input::placeholder {
	color: #6a6a6a;
	opacity: 1;
}

.dpg-btn {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #8e8e8e;
	border: 0;
	border-radius: 4px;
	padding: 0;
	margin: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	line-height: 0;
}

.dpg-btn:hover,
.dpg-btn:focus {
	color: #c0c0c0;
	background: #1c1c1c;
}

.dpg-btn:active {
	background: #121212;
}

.dpg-arrow {
	display: block;
	width: 12px;
	height: 12px;
}

.dpg-error {
	color: #8e8e8e;
	font-size: 11px;
	line-height: 1.3;
	margin: 8px 0 0;
	text-align: center;
}

@media (max-width: 360px) {
	.dpg-form {
		max-width: 100%;
	}
}

[dir="rtl"] .dpg-bar {
	flex-direction: row;
}
