﻿html {
	--rx-orange: #f26923;
	--rx-lightgreen: #d0f7d0;
	--rx-lightred: #ffdcdc;
	--rx-lightblue: #1a73e8;
	--rx-gray-1: rgba(0, 0, 0, .007);
	--rx-gray-1-border: rgba(0, 0, 0, .057);
	--rx-gray-2: rgba(0, 0, 0, .014);
	--rx-gray-2-border: rgba(0, 0, 0, .064);
	--rx-gray-3: rgba(0, 0, 0, .021);
	--rx-gray-3-border: rgba(0, 0, 0, .071);
	--rx-gray-4: rgba(0, 0, 0, .028);
	--rx-gray-4-border: rgba(0, 0, 0, .078);
	--rx-gray-5: rgba(0, 0, 0, .035);
	--rx-gray-5-border: rgba(0, 0, 0, .085);
	--rx-border-gray: rgba(0, 0, 0, .1);
	--rx-divider-gray: rgba(0, 0, 0, .1);
	--rx-text-red: #ff0000;
	--rx-text-green: #00a000;
	--rx-text-orange: #ffa500;
}

:root {
	--breakpoint-xs: 0;
	--breakpoint-sm: 600px;
	--breakpoint-md: 960px;
	--breakpoint-lg: 1280px;
	--breakpoint-xl: 1920px;
}

body {
	background-color: #f7f7f7;
	--mud-typography-default-family: 'Roboto Flex', sans-serif;
}

/*https://stackoverflow.com/questions/7554845*/
::-webkit-file-upload-button {
	cursor: pointer;
}

#app {
	--mud-palette-appbar-background: #fff;
}

.app-navbar {
	border-bottom: 2px solid #f0f0f0;
	box-shadow: none;
}

.app-card {
	border-radius: 12px;
	border-color: #bfc8ca;
	border-width: 1px;
	border-style: solid;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);
}

.results-card {
	border: none;
	box-shadow: none;
	background: transparent;
}

.page-header {
	padding: 16px 0 32px 0;
}

.page-header h1 {
	font-size: 28px;
	font-weight: 700;
}

.page-header.with-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.input-region-gray-1 {
	background-color: var(--rx-gray-1);
	border: 1px solid var(--rx-gray-1-border);
	padding: 24px;
	border-radius: 5px;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-errors {
	position: relative;
	padding: 18px 16px 16px 50px;
	background-color: #ffedec;
	border-radius: 4px;
}

.validation-errors::before {
	content: url(/images/icons/error.png);
	width: 24px;
	height: 24px;
	position: absolute;
	top: 16px;
	left: 16px;
}

.validation-message {
	color: red;
}

.link-blue {
	color: #0000ff;
	text-decoration: underline;
}

.link-blue-plain {
	color: #0000ff;
}

.link-black {
	color: #000000;
	text-decoration: underline;
}

.link-hover:hover {
	text-decoration: underline;
}

/*revert mudblazor's rules */
.list ul,
.list ol {
	all: revert;
}

/*default is mud-elevation-8 via root #mud-portal-container .mud-popover */
.autocomplete-popover {
	box-shadow: var(--mud-elevation-3) !important;
}

#blazor-error-ui {
	background-color: var(--mud-palette-error);
	color: #ffffff;
	box-shadow: none;
	display: none;
	position: fixed;
	left: 0;
	bottom: 0;
	padding: 10px;
	width: 100%;
	z-index: 9999;
	text-align: center;
}

#blazor-error-ui .reload {
	color: #ffffff;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 10px;
	color: #ffffff;
}

.mud-dialog.ai-dialog {
	max-width: 400px;
}

.empty-state-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 0;
	width: 100%;
}

.empty-state-wrapper .empty-state-title {
	color: #105aa6;
	font-size: 40px;
	font-weight: 700;
	margin: 0;
	line-height: 1;
}

.empty-state-wrapper .main-message {
	color: #3c3c3c;
	font-size: 36px;
	font-weight: 700;
	text-align: center;
	line-height: 1.1;
}

.empty-state-wrapper .follow-up-message {
	color: #606060;
	font-size: 24px;
	margin-top: 16px;
	text-align: center;
	line-height: 1.1;
}

.empty-state-wrapper .empty-state-graphic {
	height: 300px;
	width: 300px;
}

.empty-state-wrapper .empty-state-image {
	height: 300px;
	width: auto;
}

.empty-state-wrapper.--page-level {
	margin-top: 100px;
	max-width: 450px;
}

.empty-state-wrapper.--page-level .empty-state-title {
	margin-bottom: 32px;
	font-size: 56px;
}

.empty-state-wrapper.--page-level .main-graphic {
	margin-bottom: 44px;
}

.empty-state-wrapper .action {
	margin-top: 16px;
}

@media (max-width: 599px) {
	.empty-state-wrapper .empty-state-graphic,
	.empty-state-wrapper.--page-level .main-graphic {
		height: 225px;
		width: 225px;
	}

	.empty-state-wrapper .empty-state-image {
		height: auto;
		width: 100%;
		max-width: 225px;
	}

	.empty-state-wrapper .main-message,
	.empty-state-wrapper.--page-level .main-message {
		font-size: 28px;
	}

	.empty-state-wrapper .follow-up-message,
	.empty-state-wrapper.--page-level .follow-up-message {
		font-size: 18px;
	}

	.empty-state-wrapper.--page-level .empty-state-action-button {
		font-size: 18px;
	}
}