@use "vars";

@font-face {
	font-family: "PatuaOne";
	src: url("../PatuaOne-Regular.ttf") format("opentype");
	font-style: normal;
	font-weight: normal;
}

html body {
	font-family: 'PatuaOne', 'Times New Roman';
	margin: 0;
}

section {
	position: relative;
	padding-top: 3em;
	padding-bottom: 3em;
	overflow: hidden;
	padding-right: 15px;
	padding-left: 15px;
}

button {
	font-family: 'PatuaOne', 'Times New Roman';
}

textarea {
	border: 1px solid grey;
}

h1 {
	color: white;
}

h2 {
	color: vars.getColor("brand-orange");
	text-align: center;
}

h3 {
	color: vars.getColor("faded-text");
	// text-transform: uppercase;
}

ul {
	color: vars.getColor("faded-text");
	list-style-type: none;
	padding: 0;
}

input, select {
	border: 2px solid black;
	border-radius: 20px;
	padding: 4px;
}

.icon {
	width: 25px;
	margin: 10px;
}

.note-grey {
	color: grey;
	font-size: 0.8em;
	max-width: 70%;
}

.services-cards li {
	padding-bottom: 8px;
	&:before {
		width: 30px;
		height: 30px;
		content: url("../images/green-check.svg");
		display: inline;
		margin-right: 5px;
		// top: 30px;
	}
}

a {
	text-decoration: none;
}

nav {
	position: absolute;
	width: 100%;
	top: 10px;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	// background-color: transparent;
}

nav h1 {
	margin: 4px 0 10px 6px;
	display: inline-block;
}

nav.info-page h1 {
	margin: 4px 0 10px 6px;
	display: inline-block;
	color: vars.getColor('brand-orange');
}

.formal-font {
	font-family: "FreeSans";
}

nav #logo {
	margin-right: 50px;
}

nav form {
	display: flex;
	flex-wrap: wrap;
	margin-right: 20px;
}

nav form div {
	margin: 0 10px;
}

nav form button {
	min-width: 5em;
}

nav form p {
	margin-top: 0;
}

nav form input,label {
	opacity: 0.7;
}

nav .nav-toggle {
	position: absolute;
	right: 10px;
	top: 5px;
	display: none;
	height: 45px;
	width: 45px;
	margin-left: auto;
	background: url("../images/menu-icon.svg");
	background-size: 100%;
	background-size: cover;
	color: white;
}

nav .nav-toggle.toggled {
	background: url("../images/cancel-icon2.svg");
	width: 25px;
	height: 25px;
	background-size: 100%;
	background-size: cover;
	top: 10px;
	right: 15px;
	color: white;
}

div.landing-hero {
	top: 0;
	height: 50em;
	background-color: #ff4e00;
	// background-image: linear-gradient(to right bottom, #ff4e00, #fc6200, #f87200, #f58100, #f18e00, #f19507, #f09c0f, #f0a317, #f3a620, #f6a927, #f8ad2e, #fbb034);
	background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
	z-index: 0;
}

div.hero-filter {
	width: 100%;
	height: 100%;
}

div.hero-filter h2 {
	color: black;
	opacity: 0.7;
	max-width: 10em;
	font-size: 2.4em;
	position: absolute;
	top: 3em;
	margin-left: 5%;
}

div.hero-filter p {
	position: absolute;
	top: 12em;
	margin-left: 5%;
	font-size: 20px;
	width: 10em;
	opacity: 0.7;
}

div.errors {
	background-color: #ececec;
	color: vars.getColor("red-alert");
	border: 2px solid vars.getColor("red-alert");
	border-radius: 4px;
	min-height: 50px;
	position: absolute;
	left: 50%;
	margin-right: -50%;
	top: 100px;
	min-width: 30em;
	transform: translate(-50%, -50%);
}

.errors ul {
	margin: auto;
}

form.login {
	// font-weight: bold;
	color: white;
}

.cancel-icon {
	width: 30px;
}

form.login input {
	margin-left: 2px;
	color: white;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 2px;
	outline-color: orange
}

form.login .login-btn {
	@include vars.special-button("medium-blue", "dark-blue");
}

.hero-filter .register-btn {
	@include vars.transparent-button;
	display: block;
	position: relative;
	width: 7em;
	top: 60%;
	margin-left: auto;
	margin-right: auto;
}

div.blue-background {
	background-image: url("../images/black-circle.svg");
	background-size: 10px;
	background-color: #0d324d;
}

section.about-us {
	padding: 70px 0;
}

section.about-us p {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	border-top: 2px solid vars.getColor("grey");
	border-bottom: 2px solid vars.getColor("grey");
	padding: 15px;
	background-color: #0d324d;
	color: white;
}

section.services-cards {
	// margin-bottom: 0;
	background-color: lightgrey;
	padding-bottom: 4em;
	background: linear-gradient(to bottom right, transparent 0%, transparent 50%, #e9e9e9 50%, vars.getColor("light-grey")  100%);
}
section.services-cards .cards{
	display: flex;
	flex-flow: wrap;
	margin-top: 2em;
	gap: 25px;
	justify-content: center;
	max-width: 1050px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

section.services-cards h2 {
	text-align: center;
	padding: 10px;
	margin-top: 0;
	padding-top: 30px;
	color: white;
}

section.services-cards .card {
	width: 280px;
	height: 350px;
	padding: 18px 9px;
	border-radius: 4px;
	background: white;
	box-shadow: 7px 10px 8px rgb(156 166 175 / 22%);
	transition: transform 0.2s;
	&:hover {
		transform: translateY(-20px);
	}

}

section.services-cards img {
	width: 50px;
	height: 50px;
}

section.services-cards button {
	@include vars.brand-button("orange");
}

section.features-info {
	// height: fit-content;
	height: 70em;
	background: radial-gradient(ellipse at left, #fff, vars.getColor("light-grey") 80%);
}

.circle-prop {
	height: 70em;
	overflow: hidden;
	width: 100%;
	position: relative;
	// transform: translateX(-10em);
}

.circle-prop svg {
	width: 50%;
}

.features-info img {
	width: 600px;
	position: absolute;
	top: 15%;
	right: 4%;
}

div.info-cards {
	position: absolute;
	top: 10em;
	margin-left: 20%;
	width: 70%;
}

.info-card {
	margin-bottom: 6em;

	&:nth-of-type(2) {
		margin-left: 13%;
	}

	&:nth-of-type(3) {
		margin-left: 10%;
	}

	&:nth-of-type(4) {
		margin-left: 5%;
	}

	p {
		max-width: 20em;
		background: white;
		padding: 5px;
		border-radius: 4px;
		text-align: center;
		color: vars.getColor("faded-text2");
		// border: 2px solid vars.getColor("medium-orange");
		@include vars.hovering;

	}
}

section.panel-infos {
	min-height: 40em;
	margin-top: 5em;
	margin-bottom: 5em;
	display: flex;
	flex-flow: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;

	.panel-preview {
		// box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
		@include vars.hovering;
		padding: 0;
	}
}

.panel-infos h2 {
	width: 100%;
}


.panel-info {
	max-width: 25em;
	margin-top: 4em;
}

.panel-info img {
	width: 50px;
	height: 50px;
}

.panel-info p {
	color: vars.getColor("faded-text2");
}

section.benefits-info div {
	margin: 1em auto;
	padding: 1em 1em;
	border-top: 2px solid vars.getColor("faded-text2");
	border-bottom: 2px solid vars.getColor("faded-text2");
	max-width: 40em;
	color: vars.getColor("faded-text");
}

.benefits-info h2 {
	margin-bottom: 2em;
}

section.faq-info {
	margin-bottom: 6em;
	margin-top: 3em;
	min-height: 30em;
}

.faq-info h2 {
	margin-bottom: 2em;
}

section.faq-info .collapsibles {
	display: flex;
	flex-flow: wrap;
	gap: 2em;
	justify-content: center;
	max-width: 65em;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	align-text: center;
}

.faq-info .collapsible {
	text-align: center;
	width: 20em;
	&:not(.active) .content {
		display: none;
	}
}

.collapsible button {
	width: 95%;
	display: block;
	margin-right: auto;
	height: 2.5em;
	border: 2px solid vars.getColor("brand-orange");
	@include vars.button("light-grey");
	font-size: 17px;
	// font-weight: bold;
}

.collapsible button:after {
	content: '\02795'; /* Unicode character for "plus" sign (+) */
	font-size: 13px;
	color: white;
	float: right;
	margin-left: 5px;
}


.collapsible .content {
	// background-color: vars.getColor("faded-text2");
	border: 2px solid black;
	border-radius: 4px;
	padding: 4px;
	// transition: all 0.2s;
	// height: 1px;
}

footer {
	height: 6em;
	background-color: vars.getColor("dark-grey");
	padding: 20px;
	color: vars.getColor("faded-text2");
}

footer .foot-links {
	width: 20em;
	margin: 2em auto;
	text-align: center;
}

footer a {
	margin: 0 8px;
	color: vars.getColor("faded-text2");
	&:hover {
		color: vars.getColor("faded-text");
	}
}

.hidden {
	display: none;
}

.loading-icon {
	display: block;
	width: 50px;
	height: 50px;
	margin: auto;
}

.register-area p {
	text-align: center;
}

.register-area .loading-icon {
	margin-top: 100px;
}

div.register-area {
	overflow: hidden;
	height: 0px;
	width: 100%;
	z-index: 1;
	@include vars.hovering3;
	margin-bottom: 2em;
	position: fixed;
	border-radius: 0;
	padding: 0;
	opacity: 0;
	transition: all 0.2s;
	background: white;
	h3 {
		text-align: center;
	}

	label,input {
		color: black;
		display: block;
		border-color: black;
		width: 95%;
	}

	div {
		margin-top: 20px;
		margin-bottom: 20px;
		width: 100%;
	}

	form {
		width: 160px;
		margin: 20px auto;
	}

	.submit-btn {
		width: 100%;
		background-color: #3bb78f;
		@include vars.special-button("light-green", "dark-green");
	}

	.cancel-button {
		width: 20px;
		height: 20px;
		background: url("../images/close-icon-black.svg");
		background-size: cover;
		position: absolute;
		top: 20px;
		right: 20px;
	}
}

section.features-info {
	// min-height: 90em;
}

div.register-area.active {
	height: fit-content;
	min-height: 20em;
	opacity: 1;
}

.medium-icon {
	width: 50px;
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	top: 50px;
}

// Make small screens more usable
@media (max-width: 720px) {
	nav { display: block; }

	nav form {
		// display: none;
		width: 190px;
		margin-left: auto;
		margin-right: auto;
		align-items: center;
		margin-top: 5em;
		opacity: 0;
		transition: transform 0.3s;
		transform: translateY(-50px);
	}

	nav form.active {
		display: block;
		transform: translateX(0%);
		opacity: 1;
		// background: white;
		// color: black;
	}

	nav form div {
		margin: 10px auto;
	}

	nav div label,input {
		display: block;
	}

	nav .nav-toggle {
		display: block;
	}

	div.register-area.active {
		display: initial;
	}

	div.register-area h1 {
		font-size: 1.5rem;
		display: inline-block;
		color: vars.getColor("brand-orange");
	}

	div.register-area h3 {
		text-align: center;
	}

	div.register-area .login {
		color: vars.getColor("brand-orange");
		display: block;
		margin-left: auto;
		margin-right: auto;
		// margin-top: 1em;
		width: 10em;
		// top: 40px;
		// position: absolute;
	}

	div.register-area .login input {
		border: 2px solid black;
		border-color: black;
		color: black;
	}

	div.register-area button {
		margin-top: 1em;
		width: 6em;
	}

	div.register-area div {
		margin-top: 10px;
		margin-bottom: 5px;
		margin-left: auto;
		margin-right: auto;
	}

	.landing-hero div.hero-filter h2 {
		top: 4em;
	}

	.landing-hero div.hero-filter p {
		top: 15em;
	}

	.landing-hero div.hero-filter .register-btn {
		top: 75%;
	}
}

.info-heading {
	text-align: center;
	margin-top: 3em;
	margin-left: auto;
	margin-right: auto;
	max-width: 35em;
	padding: 3em;
	height: 30em;
	button {
		display: block;
		margin: 3em auto;
		width: 6em;
		@include vars.special-button("light-green", "dark-green");
	}
}

main.panel {
	// min-height: 750px;
	height: 100vh;
	// max-height: 100vh;
	background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
}

#panel {
	top: 50px;
	padding: 0 5%;
	margin: auto;
	position: relative;
	max-width: 800px;
	height: 90%;
	display: flex;
	gap: 10px;
}

#sidebar {
	position: relative;
	width: 6%;
	max-width: 55px;
	height: 50%;
	color: white;
	background: transparent;
	display: block;
	flex-shrink: 0;

	a {
		display: block;
		margin: 20px 0;
	}

	svg {
		width: 100%;
		height: 35px;
		color: white;
	}

	a.selected svg {
		color: vars.getColor("brand-orange");
	}
}

#panel #main {
	background: white;
	width: 100%;
	flex-shrink: 1;
	margin-left: auto;
	position: relative;
	@include vars.hovering3;
	transition: opacity 0.5s ease;
	vertical-align: middle;
	overflow: scroll;
	// text-align: center;

	section {
		padding: 5px;
		border-radius: 4px;
		margin-bottom: 2em;
	}

	h4 {
		margin: 4px;
		color: vars.getColor("dark-grey");
	}

	.welcome-pane {
		text-align: center;
	}

	.credits-pane {
		border: 3px solid vars.getColor("orange");
		display: flex;
		align-items: center;
		justify-content: center;
		color: vars.getColor('brand-orange');
	}

	.alerts-pane {
		border: 3px solid vars.getColor("grey");
		padding: 1em;
	}
}

.fade-enter-from, .fade-leave-to {
	opacity: 0;
}

section.recent-pane, section.history-pane{
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
	width: 100%;
	height: fit-content;

	h4 {
		width: 100%;
	}

	table {
		border-spacing: 4px;
		margin: auto;
		text-align: center;
		width: 100%;
	}

	th {
		font-weight: normal;
		color: vars.getColor("light2-grey");
	}

	tr {
		border-bottom: 3px solid black;
	}

	td {
		border-bottom: 2px solid vars.getColor("grey");
		// color: vars.getColor("light3-grey");
		// font-size: 1rem;
		font-size: 0.8rem;
	}

	td.completed span {
		background: vars.getColor('green');
		color: vars.darkenColor('green');
		border-radius: 4px;
		padding: 2px;
	}

	td.processing {
		color: vars.getColor('light-blue');
	}

	td.canceled {
		color: vars.getColor('red-alert');
	}

	.bi-eye-fill {
		color: grey;
	}

	.nav-btn.right {
		margin-right: 20px;
	}

	.nav-btn.left {
		margin-left: 20px;
	}
}

.pending-pane {
	.pending-heading {
		position: relative;
		border-bottom: 1px solid vars.getColor('light2-grey');
		// background-color: vars.getColor('light-grey');
		&:hover {
			color: vars.darkenColor('text-blue-medium');
		}
	}

	.pending-content {
		color: grey;
		height: 0;
		overflow: hidden;
		transition: all 0.2s;
	}

	.selected .pending-content {
		height: fit-content;
	}

	li {
		margin: 10px 0;
		display: inline-block;
		width: 15em;
	}
	
	img {
		// border: 2px solid vars.getColor('light2-grey');
		padding: 4px;
		// border-radius: 50%;
		margin-top: 5px;
		width: 25px;
		display: inline-block;
		margin-bottom: 3px;
		margin-left: 2px;
		position: absolute;
		transition: all 0.2s;
	}

	.selected img {
		transform: rotate(180deg);
	}
}

.history-pane {
	transition: all 0.2s;
	.nav-btn {
		width: 1.5em;
		// transform: translateY(1.5em);

	}
	.nav-legend {
		color: grey;
		// transform: translateX(-1.5em);
		text-align: center;
		// position: absolute;
		width: 3em;
		left: 50%;
	}

	table {
		min-width: 30em;
	}

	.table-scroller {
		width: 100%;
		overflow-x: scroll;
	}

}

.actions {
	margin-bottom: 1em;
}
.actions a {
	color: vars.getColor('brand-orange');
	margin: 1em;
	margin-bottom: 2em;
	padding: 3px;
}

.actions a:hover {
	color: vars.darkenColor('brand-orange');
}

.logout-pane {
	margin-top: 25%;
	text-align: center;
	height: 10em;
	a {
		display: block;
		// vertical-align: center;
		margin: auto;
		margin-top: 2em;
		height: 1.3em;
		width: 5em;
		@include vars.inverting-button(black, white);
	}
}

.settings-page {
	h3 {
		text-align: center;
	}
	h5 {
		display: inline-block;
		margin-right: 2em;
		margin-top: 0;
		margin-bottom: 0.5em;
		color: vars.getColor('brand-orange');
	}
	input {
		display: block;
		margin-bottom: 1em;
		right: 2px;
		position: relative;
	}

	button {
		&>*{vertical-align: middle;}
		margin-right: 10px;
		display: inline-block;
		@include vars.inverting-button(vars.getColor('text-blue-medium'), white);
	}

	.loading-icon {
		width: 1.5em;
		height: 1.5em;
		display: none;
		color: white;
		margin-left: 0.5em;
		margin-right: 0.5em;
	}

	.loading .loading-icon {
		display: inline;
	}

	.completed span {
		color: vars.getColor('green');
	}

	.error span {
		color: vars.getColor('red-alert');
	}
}

.services-legend {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	border-top: 1px solid darkgrey;
	border-bottom: 1px solid darkgrey;
	min-height: 2em;
	background-color: rgb(239, 239, 239);
	color: rgb(118, 118, 118);
	padding-right: 30px;
	h5 {
		display: inline-block;
		margin: auto;
		text-align: center;
		width: 20%;
		// max-width: 25%;
	}
	:nth-child(1) {
		width: 30%;
	}
}

.sliding-menu {
	display: flex;
	justify-content: center;
	flex-basis: 50%;
	margin-top: 1em;
	flex-flow: wrap;
	gap: 10px;
	a {
		width: 25%;
		font-size: 1.1rem;
		background: none;
		border: none;
		color: grey;
		text-align: center;
	}
	.selected {
		color: black;
	}
}

.menu-slider {
	width: 55%;
	div {
		transition: all 0.2s;
		width: 50%;
		border-bottom: 2px solid black;
		flex: 2;
	}
}

.menu-slider.credits div {
	transform: translateX(100%);
}

.menu-slider.right div {
	transform: translateX(100%);
}

.services-pane {
	li {
		display: flex;
		// gap: 0.5em;
		justify-content: space-between;
		align-items: center;
		border-top: 1px solid grey;
		// border-bottom: 1px solid grey;
		padding: 6px 0;
	}

	li span {
		// width: 10%;
		text-align:center;
		vertical-align: middle;
	}

	li :nth-child(1) {
		width: 30%;
	}

	li:hover span {
		color: vars.darkenColor('faded-text');
	}

	svg {
		width: 25px;
		height: 25px;
		color: vars.getColor('brand-orange');
		right: 10px;
	}

	svg:hover {
		color: vars.getColor('dark-orange');
	}
}


#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	left: 0;
	top: 0;

	.overlay-item {
		width: 20em;
		min-height: 20em;
		background: white;
		margin: auto;
		margin-top: 20%;
		opacity: 1;
		border-radius: 4px;
		padding: 5px;
		@include vars.hovering2;

		div {
			width: 15em;
			margin: auto;
			margin-bottom: 1em;
		}

		input {
			// width: 40%;
			display: inline;
		}
	}

	.icon {
		width: 40px;
		height: 40px;
		display: block;
		margin: 0 auto;
	}

	h3 {
		text-align: center;
		margin-top: 5px;
	}

	h4 {
		text-align: center;
	}

	.cancel {
		position: absolute;
		width: 30px;
		right: 10px;
		top: 10px;
	}

	button {
		display: inline-block;
		margin: auto;
		display: flex;
		align-items: center;
		text-align: center;
		justify-content: center;
		@include vars.inverting-button(vars.getColor('brand-orange'), white);
		font-size: 1.1rem;
		min-width: 7em;
	}

	#url {
		width: 100%;
	}

	p {
		margin-top: 2em;
		text-align: center;
	}

	li {
		margin: 1em 0;
	}

}

button .loading-icon {
	display: inline;
	height: 1.5em;
}

#panel #main .credits-display {
	text-align: center;
	margin: 1em;
	color: vars.getColor('brand-orange');
	display: flex;
	justify-content: center;
	align-items: center;
}

.select-credits .credits-pane {
	flex-flow: wrap;
	border-radius: 4px;
	margin-bottom: 2em;
	text-align: center;
	display: flex;
	gap: 5%;
	padding: 0.5em 0;

	span {margin-right: 0.5em;}
}

.select-credits h2 {
	margin: 0;
}

.select-credits h3 {
	text-align: center;
}

.select-credits input {
	width: 3em;
}

.brand-btn {
		display: inline-block;
		margin: auto;
		display: flex;
		align-items: center;
		text-align: center;
		justify-content: center;
		@include vars.inverting-button(vars.getColor('brand-orange'), white);
		font-size: 1.1rem;
		min-width: 7em;
}

div#card-errors {
	margin: 5%;
	text-align: center;
}

#payment-section {
	h4 {
		text-align: center;
	}

	form {
		margin-top: 2em;
	}

	label {
		display: block;
	}

	input {
		margin: 1em 0;
	}

	#save-card {
		display: flex;
		gap: 10px;
		align-items: center;
		justify-content: center;
	}

	#billing-name {
		width: 25em;
		max-width: 90%;
	}
}

#card-element {
		border: 2px solid grey;
		border-radius: 4px;
		padding: 10px;
}

.info-grey {
	text-align: center;
	color: grey;
	// color: vars.getColor('light2-grey');
	div {
		width: 20%;
		margin: auto;
		height: 4px;
		margin-top: 1em;
		background: vars.getColor('light2-grey');
		border-radius: 2px;
	}
}

.saved-card {
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: space-around;
	max-width: 15em;
	margin: auto;
}

.status-dialog {
	position: relative;
	top: 15%;
	margin: auto;
	max-width: 20em;
	text-align: center;

	img {
		margin: auto;
		display: block;
	}
}

.saved-cards-heading {
	display: flex;
	align-items: center;
	justify-content: space-around;
	max-width: 25em;
	margin: auto;

	h5 {
		margin: 0;
	}

}

.settings-page .saved-card {
	max-width: 25em;
	// align-items: start;
	justify-content: space-between;
	margin-top: 1em;
	
	> * {
		min-width: 20%;
	}
	
	img {
		width: 15px;
		display: block;
	}

	input {
		display: block;
		margin: auto;
	}
}

.saved-card button {
	width: 3em;
	height: 2em;
}

nav.info-page {
	position: relative;
}

main.terms {
	section {
		padding-top: 0;
		padding-bottom: 2em;
		padding-right: 5%;
		padding-left: 5%;
		max-width: 50em;
		margin: auto;
	}

	section:nth-child(1) {
		margin-top: 3em;
	}

	p {
		color: grey;
	}
}

.payment-window {
	min-height: 5em;
	margin-top: 1em;
	text-align: center;
	color: grey;
	img {
		width: 250px;
		max-width: 80%;
		margin: auto;
		margin-bottom: 1em;
		display: block;
		height: 90px;
	}
}

#agreement-check {
	margin: auto;
	max-width: 30em;
	display: flex;
	align-items: center;

	label {
		display: inline-block;
		// width: 85%;
		margin: 1em;
	}

	input {
		display: inline-block;
	}
}

.support-section .loading-icon {
	margin-top: 25%;
	color: vars.getColor('brand-orange');
}

#support-form {
	margin-top: 10%;

	label {
		margin: auto;
		text-align: center;
		width: 10em;
		display: block;
		margin-bottom: 1em;
	}

	select {
		display: block;
		margin: auto;
		margin-bottom: 2em;
		width: 10em;
		text-align: center;
		background: white;
	}

	textarea {
		display: block;
		width: 90%;
		margin: auto;
	}

	button {
		display: block;
		font-size: 1em;
		margin: auto;
		margin-top: 2em;
		height: 2.3em;
		width: 5em;
		@include vars.inverting-button(black, white);
	}
}

.error-message {
	text-align: center;
	color: vars.getColor('red-alert');
	margin-top: 1em;
	margin-bottom: 1em;
}

//Maybe this should have a max width
.dialog {
	text-align: center;
}

