:root {
	--primary: #007bff;
	--error: #f44336;
	--warning: #f4e136;
	--paper: #f4f6f8;
}

body, html {
	height: 100%;
	width: 100%;
	font-family: Arial, sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--paper);
}

.container {
	width: 100%;
	max-width: 1000px;
	text-align: center;
	background-color: #fff;
	padding: 20px 40px;
	margin: auto 20%;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

[hidden] {
	display: none !important;
}

.logo img {
	width: 200px;
}

.quickview-form h1 {
	font-size: 24px;
	margin-bottom: 10px;
}

.quickview-form p {
	font-size: 14px;
	color: gray;
}

.input-group {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

.input-group input {
	width: 80%;
	padding: 10px;
	font-size: 16px;
	border: 1px solid lightgrey;
	border-radius: 4px;
	outline: none;
}

.input-group input:user-invalid {
	background-color: #ffdddd;
}

.input-group button {
	padding: 10px 20px;
	font-size: 16px;
	border: none;
	background-color: var(--primary);
	color: white;
	border-radius: 4px;
	cursor: pointer;
}

#statusMessage {
	padding: 10px;
	width: 80%;
}

.error {
	background: var(--error);
}

.warning {
	background: var(--warning);
}

/* MFA info */
.info {
	position: relative;
}

.input-with-info {
	display: flex;
	align-items: center;
}

.input-with-info.input-group input {
	width: calc(80% - 2rem);
}

.info-icon {
	background: url('info.svg') no-repeat center center;
	width: 1rem;
	height: 1rem;
	margin: 0.5rem;
	cursor: pointer;
	display: flex;
}

.info-tooltip {
	display: none;
	position: absolute;
	z-index: 1;
	transform: translateX(-50%);
	border: 1px solid lightgrey;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding-top: 0;
	padding-bottom: 0;
}

.info-tooltip img {
	max-width: 200px;
}

.info:hover .info-tooltip {
	display: block;
}
