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

:root {
  --bg-card: #e7f7f9;
  --border-color: rgb(111,111,111);
  --primary: #7c58a5;
  --accent: #2e71c6;
  --secondary: #5bc7da;
  --font-family-roboto: "Roboto", sans-serif;
  --bright-control: #ffffffdd;
}


html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-family-roboto);
}

h2 {
  font-weight: 500;
  margin-bottom: .75rem;
}

.info-text {
  font-size: 1rem;
  color: #919191;
}

.bluelink {
  color: var(--accent) !important;
  text-decoration: none !important;
  font-size: 1rem;
}

.mud-main-content {
  /*  padding-top: 19px !important;*/
}

.mud-container {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.mud-card-content {
  padding-top: 10px;
  padding-bottom: 10px;
}

.availability {
  margin-top: 5px;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: grey;
  color: white;
  font-size: 0.6rem;
  font-weight: 500;
}

.emptycontainer {
  height: 50px;
  background-color: lightgrey;
  width: 100%;
}

.cursor-pointer {
  cursor: pointer;
}

.miniplate {
  background-color: white;
  padding: 2px 5px 2px 5px;
  padding-left: 5px;
  border: 1px solid black;
  border-radius: 5px;
  font-weight: bold;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlK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jk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

  .blazor-error-boundary::after {
    content: "An error has occurred."
  }

.header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: none !important;
}

.nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 75px;
  /*  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);*/
  border-top: 1px solid var(--border-color);
  display: flex;
  overflow-x: auto;
  align-items: stretch;
  padding: .5rem 1rem;
  background-color: var(--bg-card);
}

.nav-wrapper {
  background-color: white;
}

.bg-card {
  background-color: var(--bg-card);
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: .25rem;
  min-width: 50px;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-family-roboto);
  font-size: 13px;
  color: #444444;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.1s ease-in-out;
  padding-top: 5px;
}

  .nav__link:hover {
    background-color: #eeeeee;
  }

.active {
  color: var(--mud-palette-primary);
}

.nav__icon {
  font-size: 18px;
}

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

.bold {
  font-weight: bold;
}

#loadingMessage {
  /*used for QR scanner component */
  font-weight: bold;
  font-size: 16px;
}

.hide-spinner::-webkit-inner-spin-button,
.hide-spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hide-spinner {
  -moz-appearance: textfield; /* For Firefox */
}

.no-zoom {
  touch-action: manipulation;
}

.paper-tile {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.round-button {
  background: white;
  border-radius: 50%;
  padding: .4rem;
}

  .round-button > span {
    width: 20px;
    height: 20px;
    color: var(--accent);
  }

  .round-button:hover > span {
    color: white;
  }

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bg-accent {
  background-color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.separator-line {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center
}

  .separator-line > div {
    height: 1px;
    background-color: var(--accent);
    flex-grow: 1;
  }

  .separator-line > span {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-family-roboto);
    font-size: 13px;
  }

.parking-zone-link {
  display: flex;
  align-content: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: .25rem;
}

.location-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  margin-left: 0px;
  margin-top: 0px;
  width: 100%;
}

.parking-time-selector {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.parking-time-hours input, .parking-time-minutes input, .parking-time-separator {
  font-size: 44px !important;
  font-weight: bold !important;
}

.parking-time-hours input {
  text-align: right;
}

.parking-time-hours, .parking-time-minutes {
  min-width: 55px;
  justify-content: center !important;
}

.tab-header .mud-tabs-tabbar-wrapper {
  width: unset !important;
  flex-grow: 1;
}

.tab-header .d-inline-block {
  flex-grow: 1;
  flex-basis: 1rem;
  font-weight: bold;
  border-radius: .5rem;
  padding: 1rem .2rem;
}

.tab-header p {
  font-weight: bold;
  font-size: .8rem;
}

.tab-active {
  background-color: var(--primary);
  color: white !important;
  border-radius: .5rem;
  border: none !important;
}

.setting-card {
  background-color: var(--bg-card);
  border-radius: .5rem;
  padding: 1rem;
}

.tab-header .mud-tab-slider {
  background: none !important;
}

.tab-header .mud-tab {
  padding: .75rem .1rem;
  border-radius: .5rem;
  min-width: 50px !important;
}

  .tab-header .mud-tab:hover {
    background-color: var(--primary) !important;
    color: white !important;
    opacity: .4 !important;
  }


.title-bar {
  margin: 1rem 0 0 0;
  align-items: center;
}

  .title-bar svg {
    width: 26px;
    height: 26px;
  }

  .title-bar h1 {
    font-size: 1rem;
    font-weight: 400;
  }

.mud-input-underline {
  background-color: var(--bright-control) !important;
  border-radius: 4px;
}

.mud-input.mud-input-underline:before {
  border-bottom: 1px solid var(--bright-control) !important;
  border-radius: 4px;
}

.mud-button-filled-default {
  background-color: var(--bright-control);
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.list-item {
  background: var(--bright-control);
  border-radius: 4px;
  padding: .6rem .6rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}

  .list-item .highlight {
    border: 2px solid black;
    border-radius: 4px;
    padding: .6rem .6rem;
    font-weight: bold;
    font-size: 1rem;
  }

.w-100 {
  width: 100%;
}

.code-edit {
  background-color: var(--secondary) !important;
  border-radius: 4px !important;
}

  .code-edit input.mud-input-root {
    text-align: center !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    padding: .75rem 0 !important;
  }

.flex-sm-column {
  flex-direction: row !important;
}

@media (max-width: 768px) {
  .parking-time-selector {
    gap: .5rem;
  }

  .tab-header .mud-tab:hover {
    opacity: 1 !important;
  }

  .flex-sm-column {
    flex-direction: column !important;
  }
}
