@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  --flamingo-500: #f15a24;
  --grey-050: #efefef;
  --grey-100: #d9d9da;
  --grey-200: #c3c3c4;
  --grey-300: #adadaf;
  --grey-400: #979799;
  --grey-500: #818284;
  --grey-600: #6b6c6e;
  --grey-700: #555659;
  --grey-800: #3f4043;
  --grey-900: #292a2e;

  --text-color: var(--grey-900);
  --background-color: #fff;
  --primary: black;
  --secondary: #cdcdcd;
  --accent: #323232;
  background: var(--background-color);
  color: var(--text-color);
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100vw;
}

p {
  line-height: 22px;
  color: var(--grey-700);
  font-size: 1rem;
  margin: 1rem 0;
}

input,
button,
div,
section,
span {
  font-size: 1.2rem;
  color: var(--text-color);
}

input {
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  border: 2px var(--grey-100) solid;
  width: auto;
  background-color: var(--background-color);

  line-height: 1.25rem;
  letter-spacing: 0.005em;
}

input.errored {
  border: double 2px var(--flamingo-500);
}
input.errored::placeholder {
  color: var(--flamingo-500);
}

h1 {
  margin-top: 0;
  font-size: 1.8rem;
  margin: auto;
}
@media (min-width: 1024px) {
  h1 {
    margin: inherit;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0 0 1rem;
}

button {
  border: 1px solid var(--grey-200);
  background: var(--background-color);
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 4px;

  line-height: 1.25rem;
  letter-spacing: 0.005em;
}

button:hover,
button:focus,
a:focus {
  opacity: 0.9;
  box-shadow: 0 0 0 2px #ffffff, 0 0 3px 5px #29abe2;
  outline: 2px dotted transparent;
  outline-offset: 2px;
}

img {
  min-width: 500px;
  width: 50vw;
  max-width: 800px;
  display: block;
  margin: auto;
}

ul {
  width: 100%;
  padding: 0;
}

form,
label {
  display: flex;
}

form {
  margin-bottom: 2rem;
  flex-direction: column;
}

button.primary {
  background-color: var(--primary);
  color: var(--background-color);
  border: none;
}

button.linkStyle {
  cursor: pointer;
  display: inline;
  border: none;
  padding: 0;
  margin: 0;
  width: auto;
}

label {
  font-size: 1rem;
  font-weight: 500;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

main::before {
  content: "";
  display: block;
  flex-grow: 1;
  height: 24px;
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main::after {
  content: "";
  display: block;
  flex-grow: 2;
  height: 24px;
}

.container {
  padding: 3.5rem 2.5rem 2rem 2.5rem;
  max-width: 365px;
  min-width: 300px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 512px) {
  .container {
    border: 2px var(--grey-100) solid;
    border-radius: 4px;
  }
}

#logout-button {
  display: flex;
  padding: 8px;
  margin: 1rem 1rem 1rem auto;
  font-size: 0.8rem;
  width: auto;
}

.highlightBox {
  background-color: var(--grey-100);
  padding: 0.7rem 0rem;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  font-size: 1.5rem;
  font-weight: 500;
}

.warningBox {
  border: 1px var(--grey-200) solid;
  border-radius: 4px;
  padding: 1rem 2rem;
}

hr {
  margin-bottom: 1rem;
  width: 100%;
  border-top: 1px solid var(--grey-400);
}

#icLogo {
  width: 80%;
  align-self: center;
  margin-top: -3rem;
}

#aboutLink {
  text-decoration: none;
  color: var(--grey-600);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.deviceItem {
  display: flex;
  width: 100%;
}

.deviceItemAlias {
  border: 1px solid var(--grey-200);
  border-radius: 2px;
  height: 40px;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin-right: 0.5rem;
  padding-left: 1rem;
}

.deviceItemRemove {
  border-radius: 2px;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header {
  position: absolute;
  top: 1rem;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.toast {
  -webkit-text-size-adjust: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  tab-size: 4;
  line-height: inherit;
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(63, 131, 248, 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  margin-bottom: 1rem;
  display: flex;
  width: 100%;
  max-width: 20rem;
  align-items: center;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color),
    0 1px 2px -1px var(--tw-shadow-color);
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: white;
}
.toast span {
  font-family: inherit;
  color: inherit;
}

.close-button {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(63, 131, 248, 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  text-transform: none;
  cursor: pointer;
  -webkit-appearance: button;
  background-image: none;
  margin-right: -0.375rem;
  margin-bottom: -0.375rem;
  margin-top: -0.375rem;
  margin-left: auto;
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  padding: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: white;
}

.hidden {
  display: none;
  visibility: hidden;
}
.hidden * {
  display: none;
}
