﻿@font-face {
  font-family: "primary";
  font-display: swap;
  src: url("/tools/cherift/font/AlbertSans-VariableFont_wght.ttf");
}
:root {
  --color-primary: #E11A45;
  --color-secondary: #FF7F50;
  --color-tertirary: #578EF5;
}

html {
  background-color: #fcfcfc;
  color: #333;
  font-size: 1rem;
  font-family: "primary";
  font-weight: 400;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

input, button, textarea, select, option {
  font-family: "primary";
  font-size: 1rem;
}

/* inline styles*/
/*btn*/
.btn {
  display: flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  background-color: #111;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  border: 2px solid #333;
  outline: none;
  gap: 0.25rem;
  transition: all 300ms;
  box-sizing: border-box;
  cursor: pointer;
  width: fit-content;
}
.btn:hover {
  background-color: white;
  color: #333;
}
.btn:hover .hover--invert {
  filter: invert(1);
}

.btn-primary {
  color: white;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  color: var(--color-primary);
  background-color: white;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

.btn-square {
  border-radius: 0.75rem;
}

.btn-light-grey {
  color: #333;
  background-color: #F3F3F3;
  border-color: #F3F3F3;
}
.btn-light-grey:hover {
  color: #666;
  background-color: #EEE;
  border-color: var(--color-tertirary);
}

/*btn*/
/*form*/
.form-input, .form-textarea {
  background-color: transparent;
  color: #333;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #eee;
  box-sizing: border-box;
  min-width: initial;
  max-width: 100%;
  width: 100%;
  background-color: white;
}

::-webkit-file-upload-button {
  background-color: var(--color-secondary);
  color: white;
  font-family: "primary";
  border: 1px solid #eee;
  outline: none;
  border-radius: 2rem;
  padding: 4px 8px;
}

.control-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem 0;
}
.control-container-checkbox {
  flex-direction: row;
  align-items: center;
  width: fit-content;
  gap: 1rem;
}
.control-container-checkbox label {
  word-wrap: normal;
  white-space: pre;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.form-label {
  color: #666;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 812px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.c-checkbox {
  display: flex;
  width: 58px;
  max-width: 58px;
  min-width: 58px;
  padding: 2px;
  background-color: #eee;
  height: 30px;
  border-radius: 2rem;
  transition: all 150ms;
}

.c-checkbox-tracker {
  height: 100%;
  width: 66%;
  background-color: white;
  border-radius: 2rem;
  cursor: pointer;
  margin-left: 0%;
  margin-right: 0%;
  transition: all 150ms;
}

[data-checbox-bind-value=on] {
  background-color: var(--color-tertirary);
}
[data-checbox-bind-value=on] .c-checkbox-tracker {
  margin-left: 34%;
  margin-right: 0%;
}

/*form*/
/*Flows/instructions*/
.flow-item {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #fafafa;
}
.flow-item img {
  display: flex;
}

.dom-image {
  border-radius: 0px !important;
}

.flow-item-flag, .available-flag-item {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.4rem;
  font-size: 0.6rem;
  border-radius: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.available-flag-item {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
}

#available-flags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-item-end {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: center;
  text-align: start;
}

.summary-renderer-empty {
  padding: 2rem;
  text-align: center;
  background-color: #eee;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.flow-item-text {
  color: #333;
  font-size: 0.9rem;
}

.summary-renderer {
  border-radius: 1rem;
  background-color: white;
  max-width: 812px;
  margin: auto;
  width: 100%;
  border: 1px solid #fafafa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

/*Flows/instructions*/
/*nav*/
nav {
  background-color: var(--color-primary);
  border-bottom: 1px solid #eee;
  color: white;
}

.nav-content {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  font-weight: 900;
  font-size: 1.2rem;
  text-decoration: none;
  color: white;
}
.nav-brand img {
  display: flex;
  align-self: center;
}

.nav-links {
  display: flex;
}
.nav-links a {
  color: white;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
}
.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: white;
}

/*nav*/
/*banner*/
.banner {
  background-color: white;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 5rem 1rem;
  justify-content: center;
  align-items: center;
  max-width: 660px;
  margin: auto;
  text-align: center;
}
.banner-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
}
.banner-content h1, .banner-content p {
  margin: 0;
}
.banner-content p {
  color: #666;
}

.banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: auto;
  width: fit-content;
  align-items: center;
}

/*banner*/
/*section*/
.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-header h2, .section-header p {
  margin: 0;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
}
.section-header p {
  color: #666;
}

.section {
  padding: 5rem 0;
}

/*section*/
/* footer */
footer {
  background-color: #111;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-links a {
  text-decoration: underline;
  color: white;
}

/* footer*/
/*modal*/
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 6;
}

.modal-content {
  max-width: 580px;
  width: 100%;
  border: 1px solid #eee;
  background-color: white;
  border-radius: 1rem;
}

.modal-body, .modal-header {
  padding: 0.75rem 1rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

/*modal*/
/*--------------------------------*/
/*global*/
.container {
  max-width: 1204px;
  margin-left: auto;
  margin-right: auto;
}

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

.px-default {
  padding-left: 1rem;
  padding-right: 1rem;
}

.bg-white {
  background-color: white;
}

/*global*/
