*,
*:after,
*:before {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

#video-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 35px;
}

#clock {
    flex: 1;
    text-align: left;
}

#worker-name {
    flex: 1;
    text-align: right;
    font-size: 1.25em;
    font-weight: bold;
}

#video-terms {
  position: absolute;
  top: 190px;
  right: 0;
  z-index: 1;
}

video, canvas {
  width: 240px;
  height: auto;
}

#video {
  width: 240px !important;
  height: 180px !important;
}

#canvas {
  width: 0px;  /* or any percentage you want */
  height: 0px;
}

.ui-autocomplete {
  max-height: 400px;
  font-size: 26px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}

.ui-menu .ui-menu-item a {
  color: #000;
  border-radius: 0px;
  border: 0px solid #454545;
  font-family: 'Rubik', sans-serif;
}

.ui-autocomplete li {
  padding: 15px 0;  /* Adjust the padding as needed */
}

body {
  background: #004995;
  font-family: 'Rubik', sans-serif;
}

span.bulabel {
    font-size: 1.5em;
}


.login-form {
  background: #fff;
  width: 700px;
  margin: 65px auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  border-radius: 4px;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.2);
}

.login-form h1 {
  padding: 35px 35px 0 35px;
  font-weight: 300;
}

.login-form .content { 
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 35px;
  padding-right: 35px;
  text-align: center;
}

.login-form .input-field {
  padding: 12px 5px;
}

.login-form .input-field input {
  font-size: 26px;
  display: block;
  font-family: 'Rubik', sans-serif;
  width: 100%;
  padding: 10px 1px;
  border: 0;
  border-bottom: 1px solid #747474;
  outline: none;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.login-form .input-field input::-webkit-input-placeholder {
  text-transform: uppercase;
}

.login-form .input-field input::-moz-placeholder {
  text-transform: uppercase;
}

.login-form .input-field input:-ms-input-placeholder {
  text-transform: uppercase;
}

.login-form .input-field input::-ms-input-placeholder {
  text-transform: uppercase;
}

.login-form .input-field input::placeholder {
  text-transform: uppercase;
}

.login-form .input-field input:focus {
  border-color: #222;
}

.login-form a.link {
  text-decoration: none;
  color: #747474;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 20px;
}

.login-form .action {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
}

.login-form .action button {
  width: 100%;
  font-size: 1.5em;
  border: none;
  padding: 18px;
  margin: 20px;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  background: #e8e9ec;
  color: #000;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0;
  letter-spacing: 0.2px;
  outline: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.login-form .action button:hover {
  background: #d8d8d8;
}

.error {
  color: red;
}

.flash {
  font-size: 16px;
}


.bu_radio label {
  display: flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.375em;
}

.bu_radio label input {
  position: absolute;
  left: -9999px;
}

.bu_radio label input:checked+span {
  background-color: #d6d6e5;
}

.bu_radio label input:checked+span:before {
  box-shadow: inset 0 0 0 0.4375em #00005c;
}

.bu_radio label span {
  display: flex;
  align-items: center;
  padding: 0.375em 0.75em 0.375em 0.375em;
  border-radius: 99em;
  transition: 0.25s ease;
}

.bu_radio label span:hover {
  background-color: #d6d6e5;
}

.bu_radio label span:before {
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #00005c;
}

.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #888;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.popup-content {
  font-size: .8em;
  font-family: 'Rubik', sans-serif;
}
.popup-close {
  cursor: pointer;
  color: #aaa;
  float: right;
  font-size: 28px;
}
.popup-close:hover,
.popup-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Styles for the overlay */
.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.highlight-green {
    background-color: #d4edda;
}
.highlight-red {
    background-color: #f8d7da;
}

.large-toast-text .jq-toast-single {
  font-size: 2em; /* Double the default size */
}