:root {
  --baseBackground: #fff;
  --headerBackground: #fff;
  --fontColor: #000;
  --brandLight: #f3bc63;
  --brandBase: #FFA500;
  --brandDark: #d68b13;
  --navHoverBackground: rgba(0, 0, 0, 0.075);
  --navActiveBackground: rgba(0, 0, 0, 0.125);
  --boxBackground: #fff;
  --boxBorderColor: #bebebe;
  --inputBorderColor: #dddddd;
  --inputBorderColorHover: #bbbbbb;
  --inputBorderColorFocus: #f9a51b;
  --buttonBase: var(--brandBase);
  --buttonTextColor: #fff;
  --logStatusDefaultColor: #eee;
  --logStatusSuccessColor: #0cda7a;
  --logStatusErrorColor: #c23256;
  --logSpacerColor: #bebebe;
  --tabTextColor: rgba(0, 0, 0, 0.6);
  --tabTextColorHover: #000000;
  --tabTextColorActive: #000000;
  --tabBackgroundColorActive: rgba(249, 165, 27, 0.15);
  --toolBackgroundColor: var(--boxBackground);
  --toolHoverShadowColor: rgba(0, 0, 0, 0.15);
  --toolHoverBackgroundColor: #fff;
}
:root[darkmode] {
  --baseBackground: #121212;
  --headerBackground: rgba(255, 255, 255, 0.07);
  --fontColor: #fff;
  --navHoverBackground: rgba(255, 255, 255, 0.075);
  --navActiveBackground: rgba(255, 255, 255, 0.125);
  --boxBackground: rgba(255, 255, 255, 0.05);
  --boxBorderColor: rgba(255, 255, 255, 0.16);
  --inputBorderColor: rgba(255, 255, 255, 0.25);
  --inputBorderColorHover: rgba(255, 255, 255, 0.4);
  --logStatusDefaultColor: #2e2e2e;
  --logStatusSuccessColor: rgba(12, 218, 122, 0.6);
  --logStatusErrorColor: rgba(194, 50, 86, 0.6);
  --logSpacerColor: rgba(255, 255, 255, 0.16);
  --tabTextColor: rgba(255, 255, 255, 0.6);
  --tabTextColorHover: #ffffff;
  --tabTextColorActive: #ffffff;
  --tabBackgroundColorActive: rgba(249, 165, 27, 0.15);
  --toolHoverBackgroundColor: rgba(255, 255, 255, 0.12);
}
body {
  font-family: "Product Sans", sans-serif;
  font-size: 16px;
  background: var(--baseBackground);
  color: var(--fontColor);
  transition: 0.15s ease all;
}
.grid-wrapper {
  width: 90%;
  max-width: 600px;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 40px;
  margin: 0 auto;
}
header {
  background: var(--headerBackground);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.15s ease background;
}
header .grid-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 25px;
}
header .grid-wrapper nav {
  align-self: center;
}
header .grid-wrapper nav a {
  color: inherit;
  display: block;
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.15s ease-in-out;
  opacity: 0.6;
  border-radius: 100px;
}
header .grid-wrapper nav a .mdi {
  font-size: 26px;
}
header .grid-wrapper nav a:hover {
  background: var(--navHoverBackground);
}
header .grid-wrapper nav a:active {
  opacity: 1;
  background: var(--navActiveBackground);
}
header .grid-wrapper .brand {
  color: var(--brandBase);
  transform: translateX(-25px);
  font-size: 22px;
  padding: 20px 0px;
}
header .grid-wrapper .title {
  font-size: 22px;
  padding: 20px 0px;
}
main {
  padding: 40px;
}
main .illustration {
  text-align: center;
}
main .illustration img {
  height: 200px;
}
main h1 {
  font-weight: 500;
  font-size: 1.75rem;
  margin-bottom: 10px;
}
main .box {
  background: var(--boxBackground);
  border: 1px solid var(--boxBorderColor);
  border-radius: 6px;
  transition: 0.15s ease background, 0.15s ease border;
}
main .box .tab {
  padding: 20px;
  display: none;
}
main .box .tab.active {
  display: block;
}
main .box .tab .form-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-gap: 20px;
  margin-bottom: 20px;
}
main .box .tab .form-item .form-label {
  text-align: right;
  font-weight: bold;
  align-self: center;
}
main .box .tab .form-item .form-content input,
main .box .tab .form-item .form-content select,
main .box .tab .form-item .form-content textarea {
  width: 100%;
  padding: 10px 15px;
  border-radius: 4px;
  background: transparent;
  color: var(--fontColor);
  border: 2px solid var(--inputBorderColor);
  font-family: "Product Sans", sans-serif;
  font-size: 16px;
  transition: 0.2s ease all;
}
main .box .tab .form-item .form-content input option,
main .box .tab .form-item .form-content select option,
main .box .tab .form-item .form-content textarea option {
  color: #000;
}
main .box .tab .form-item .form-content input:hover,
main .box .tab .form-item .form-content select:hover,
main .box .tab .form-item .form-content textarea:hover {
  border-color: var(--inputBorderColorHover);
}
main .box .tab .form-item .form-content input:focus,
main .box .tab .form-item .form-content select:focus,
main .box .tab .form-item .form-content textarea:focus {
  outline: 0;
  border-color: var(--inputBorderColorFocus);
}
main .box .log {
  height: 300px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column-reverse;
}
main .box .log .log-item {
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-gap: 10px;
}
main .box .log .log-item .log-status {
  background: var(--logStatusDefaultColor);
  border-radius: 100px;
  font-size: 12px;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  align-self: flex-start;
}
main .box .log .log-item .log-status.log-status-success {
  background: var(--logStatusSuccessColor);
}
main .box .log .log-item .log-status.log-status-error {
  background: var(--logStatusErrorColor);
}
main .box .log .log-item .log-content {
  padding: 8px 0px;
}
main .box .log .log-item:not(:last-child) {
  border-top: 1px solid var(--logSpacerColor);
}
main .box.download-box {
  padding: 20px;
  line-height: 1.5;
}
main .box.download-box .illustration {
  padding: 40px;
  margin-bottom: 20px;
  text-align: center;
}
main .box.download-box .illustration img {
  height: 100px;
}
main .box.download-box .text {
  text-align: center;
}
main .box.download-box .text button {
  padding: 10px 50px;
}
main .box.download-box .text .smalltext {
  font-size: 0.75em;
  opacity: 0.85;
  margin-top: 10px;
}
main .box button {
  background: var(--buttonBase);
  padding: 10px 20px;
  border-radius: 4px;
  color: var(--buttonTextColor);
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  border: 0px;
  cursor: pointer;
  transition: 0.2s ease all;
}
main .box button:not(:disabled):hover {
  background: var(--brandLight);
}
main .box button:not(:disabled):active {
  background: var(--brandDark);
}
main .box button:focus {
  outline: 0;
}
main .box button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
main .tab-view {
  display: flex;
  transition: 0.15s ease border;
  border-bottom: 2px solid var(--logSpacerColor);
}
main .tab-view .tab-item {
  margin-right: 10px;
  transition: 0.15s ease all;
  border-bottom: 2px solid transparent;
  font-size: 1.15em;
  padding: 15px 20px;
  margin-bottom: -2px;
  color: var(--tabTextColor);
  transition: 0.2s ease all;
}
main .tab-view .tab-item.active {
  border-color: var(--brandLight);
  color: var(--brandBase);
  cursor: default;
}
main .tab-view .tab-item:not(.active):hover {
  color: var(--tabTextColorHover);
  cursor: pointer;
}
main .tab-view .tab-item:not(.active):active {
  color: var(--tabTextColorActive);
  background: var(--tabBackgroundColorActive);
  cursor: pointer;
}
main .grid-tools {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 15px;
}
main .grid-tools .tool {
  background: var(--toolBackgroundColor);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  grid-gap: 15px;
  padding: 15px;
  color: inherit;
  text-decoration: none;
  transition: border 0.15s ease-in-out, box-shadow 0.15s ease-in-out, transform 0.1s ease-in-out, background 0.1s ease-in-out;
}
main .grid-tools .tool .icon {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
}
main .grid-tools .tool .text .title {
  font-size: 1.15em;
  margin-bottom: 3px;
}
main .grid-tools .tool .text .description {
  opacity: 0.4;
  line-height: 1.5;
}
main .grid-tools .tool:hover {
  box-shadow: 0px 4px 16px var(--toolHoverShadowColor);
  background: var(--toolHoverBackgroundColor);
  border-color: transparent;
  transform: scale(1.05);
}
footer {
  text-align: center;
  padding: 20px;
  opacity: 0.3;
}
