/* Building blocks of the pages of fax (app.html: the logged-in area, site.html: the public pages). */

.btn2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 9px 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	color: #333 !important;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.btn2:hover {
	background-color: #f3f3f3;
}
.btn2.primary {
	background-color: #0078D5;
	border-color: #0078D5;
	color: #fff !important;
}
.btn2.primary:hover {
	background-color: #0068bb;
}
.btn2.danger {
	color: #c62828 !important;
	border-color: #e6b3b3;
}
.btn2.danger:hover {
	background-color: #fdeaea;
}
.btn2.link {
	border-color: transparent;
	background: none;
	color: #0b5cad !important;
	padding-left: 4px;
	padding-right: 4px;
}
.btn2[disabled], .btn2.disabled {
	opacity: 0.45;
	pointer-events: none;
}
.btn2 svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.badge2 {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 9px;
	border-radius: 10px;
	white-space: nowrap;
	background-color: #eee;
	color: #555;
}
.badge2.green {
	background-color: #e5f4e8;
	color: #2e7d32;
}
.badge2.blue {
	background-color: #e3effb;
	color: #0b5cad;
}
.badge2.orange {
	background-color: #fff4e0;
	color: #a85d00;
}
.badge2.red {
	background-color: #fdeaea;
	color: #c62828;
}
.panel {
	border: 1px solid #e3e3e3;
	border-radius: 10px;
	padding: 18px 20px;
	background-color: #fff;
}
.panel + .panel {
	margin-top: 16px;
}
.panel.muted {
	background-color: #f8f9fa;
}
.sectionTitle {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 28px 0 12px 0;
}
.lead {
	color: #555;
	line-height: 1.5;
	margin: 0 0 16px 0;
}
.featureList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.featureList li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.35;
}
.featureList li svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: #2e7d32;
	margin-top: 1px;
}
.featureList li.no {
	color: #999;
}
.featureList li.no svg {
	fill: #bbb;
}
.usageBar {
	height: 10px;
	border-radius: 5px;
	background-color: #e9eef4;
	overflow: hidden;
}
.usageBar > div {
	height: 100%;
	background-color: #0078D5;
	border-radius: 5px;
}
.usageBar.high > div {
	background-color: #e08600;
}
/* over the included pages: orange, not red - after the trial sending over the limits is allowed to a limited extent */
.usageBar.full > div {
	background-color: #e08600;
}
.stepper2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px 0;
	padding: 0;
	list-style: none;
	color: #888;
	flex-wrap: wrap;
}
.stepper2 li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.stepper2 .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: #e8e8e8;
	color: #666;
	font-weight: 600;
	font-size: 13px;
}
.stepper2 li.active {
	color: #222;
	font-weight: 600;
}
.stepper2 li.active .num {
	background-color: #0078D5;
	color: #fff;
}
.stepper2 li.done .num {
	background-color: #c9def5;
	color: #0b5cad;
}
.stepper2 li.sep {
	width: 24px;
	height: 1px;
	background-color: #ddd;
}
@media (max-width: 600px) {
	.stepper2 li:not(.active) .label {
		display: none;
	}
}
.msg {
	display: none;
	margin: 14px 0 0 0;
	padding: 10px 14px;
	border-radius: 6px;
	line-height: 1.45;
}
.msg.visible {
	display: block;
}
.msg.error {
	background-color: #fdeaea;
	color: #a61b1b;
}
.msg.ok {
	background-color: #e5f4e8;
	color: #1b5e20;
}
.msg.info {
	background-color: #f0f6fd;
	color: #1d4f85;
}
.formGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.formGrid label,
.field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: #444;
}
.appCard input[type="text"],
.appCard input[type="date"],
.appCard input[type="email"],
.appCard input[type="tel"],
.appCard select,
.appCard textarea {
	font: inherit;
	font-size: 15px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	box-sizing: border-box;
	max-width: 100%;
}
.appCard input.invalid,
.appCard select.invalid,
.invalidBox {
	border-color: #c62828 !important;
	background-color: #fff6f6 !important;
}
.checkRow {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	line-height: 1.45;
}
.checkRow input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0 0;
	flex: none;
}
.actionsRow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	flex-wrap: wrap;
}
.actionsRow .right {
	margin-left: auto;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* the note of the beta phase (tpl betaNote) */
.betaNote {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 18px 0;
	padding: 12px 16px;
	border: 1px solid #f0d9b5;
	border-radius: 8px;
	background-color: #fff8ec;
	color: #5c3d00;
	line-height: 1.5;
}
.betaNote svg {
	flex: none;
	width: 22px;
	height: 22px;
	fill: #c77700;
	margin-top: 1px;
}
