.layout-full {
	background-color: #f4f4f4;
}

.layout-full .container {
	width: 100%;
	max-width: 500px;
	margin: auto;
}

.layout-full .exception {
	text-align: center;
	margin-top: 30px;
}

/* Login Page */

.login h1,
.migrate h1 {
	font-size: 1.75rem;
	padding: 30px 0;
	text-align: center;
}

.login-container,
.migrate-container {
	background: #fff;
	padding: 20px;
}

.login h2,
.migrate h2 {
	font-size: 1.5rem;
	font-weight: normal;
	margin-bottom: 1rem;
}

.login .form-control,
.login .form-select {
	position: relative;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.login .form-control:focus {
	z-index: 2;
}

.login select {
	margin-bottom: 12px;
	width: 100%;
}

.login input[type='text'] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.login input[type='password'] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.login .new-account,
.migrate .skip-migrate {
	margin: 10px 0 0;
	text-align: center;
}

.or-block {
	padding: 15px 0;
	margin: 0;
	position: relative;
}

.or-block:before {
	content: 'OR';
	position: absolute;
	left: 50%;
	margin-left: -15px;
	padding: 0 10px;
	top: 20px;
	background-color: #fff;
	font-size: 0.875rem;
}

.is-center {
	display: block;
	text-align: center;
}

.login h3 {
	font-size: 1.15rem;
	text-align: center;
	margin-bottom: 1em;
}

.frontline-btn {
	background-color: #7e4082;
	outline: none;
	border: 1px solid #49194c;
	cursor: pointer;
	color: #fff;
	padding: 15px 5px;
	display: block;
	width: 100%;
	font-size: 1rem;
	border-radius: 0.3rem;
	font-weight: bold;
	margin: 10px 0;
}

.frontline-btn:hover {
	color: #fff;
}

/* Migration Page */

.migrate {
	display: flex;
	align-items: center;
	width: 100%;
	flex-direction: column;
}

.migrate .content {
	display: flex;
	flex-direction: row;
	width: 300px;
	justify-content: space-between;
}

/* Debug Page */

.nav-pills {
	margin-bottom: 20px;
}

.table-debug {
	table-layout: fixed;
}

.debug-key {
	background-color: #f5f5f5;
	width: 20%;
}

.debug-value {
	width: 80%;
	word-wrap: break-word !important;
}

pre {
	background-color: #f4f4f4;
	padding: 20px;
}

/* Passport Overrides */
.has-passport .container {
	padding: 30px 40px;
	margin-left: 0;
	margin-right: 0;
}

/* Manifest upload */
.manifest-upload-dropzone {
	border: 2px dashed #cfd4da;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	min-height: 170px;
}

.manifest-upload-dropzone .upload-dropzone-icon {
	font-size: 2rem;
	color: #5c6ac4;
	margin-bottom: 8px;
}

.manifest-upload-dropzone.is-dragover {
	border-color: #5c6ac4;
	background-color: #f7f8ff;
}

.manifest-upload-dropzone.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.manifest-upload-file-list {
	max-height: 280px;
	overflow-y: auto;
	border: 1px solid #e2e6ea;
	border-radius: 12px;
	padding: 12px;
	background-color: #fff;
}

.manifest-upload-file-list .empty-state {
	border: none;
}

.manifest-upload-file {
	background-color: #fafbff;
}

.manifest-upload-file .btn-link.disabled {
	opacity: 0.5;
	pointer-events: none;
}

.manifest-upload-file .progress {
	height: 6px;
	background-color: #e9ecef;
}

.manifest-upload-feedback .alert {
	margin-bottom: 12px;
}

.manifest-upload-file .file-header {
	gap: 8px;
}

.manifest-upload-file .file-title {
	gap: 6px;
}

.manifest-upload-file .file-document-id-row {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
}

.manifest-upload-file .file-document-id-value {
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.manifest-upload-file .btn-xs {
	padding: 0 0.35rem;
	font-size: 0.75rem;
	line-height: 1.2;
}

.manifest-upload-file .js-copy-document-id.copied {
	color: #28a745;
}
