@import url('https://fonts.googleapis.com/css?family=Baloo');

body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    font-family: 'Baloo', cursive;
    background: #fff;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
}

img {
    border: 0;
    max-width: 100%;
}

img#webcam, img#snap {
    width: 100%;
    margin: 0;
    padding: 0 10px 0 10px;
    box-sizing: border-box;
    max-height: 65vh;
    object-fit: contain;
    background: #f0f4f8;
}


.top-bar {
    background: #ffffff;
    text-align: right;
    min-height: 40px;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 5px 5px 5px #888;
    
}

.top-bar-table {
    text-align: left;
    display: inline-block;
    
}

.top-bar-menu {
    float: right;
    position: fixed;
    top: 48px;
    right: 0;
    margin: 0;
    padding: 0;
    box-shadow: 5px 5px 5px #888;
}

.top-bar-menu li {
    text-align: left;
    background: #fff;
    opacity: 0.95;
    min-width: 200px;
    font-size: 1.2em;
    list-style-type: none;
    padding: 5px;
    padding-left: 15px;
    padding-right: 8px;
}

.top-bar-menu li:hover {
    opacity: 0.6;
    cursor: pointer;
}

.bottom-bar {
    margin-top: 10px;
}

.title-icon {
    margin: 0 auto;
    vertical-align: baseline;
    max-height: 38px;
    margin-bottom: -5px;
}

h1 {
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 15px;
    vertical-align: middle;
    font-size: 1.5em;
    color: #776356;
}

img.logo {
    margin: 10px;
    max-height: 100px;
}

a {
    text-decoration: inherit;
    color: inherit;
}

a:hover{
    opacity: 0.6;
    cursor: pointer;
}

.invisible {
    display: none;
}

input {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    outline: none;
    font-family: inherit;
}

button {
    padding: 10px;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
    -webkit-tap-highlight-color: transparent;
}

div.top {
    background: #333;
    border: 0;
    padding: 0;
    color: #fff;
}

div.pinpad{
    border: 0;
    padding: 0;
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline : none;
    -moz-outline: none;
}

div.pinpad div button {
    font-size: 30px;
    height: 70px;
    width: 70px;
    margin: 0;
    margin: 4px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: #fff;
    border: solid 1px #aaa;
    border-radius: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline : none;
    -moz-outline: none;
}

div.pinpad div button:hover {
    opacity: 0.4;
}

input.pinpad, input.login {
    height: 60px;
    font-size: 30px;
    text-align: center;
    border: 0;
    width: 100%;
    box-sizing: border-box;
}

input.login {
    display: block;
}

.grecaptcha-badge {
    display: none;
}

div.bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px;
    border-top: 1px solid #eee;
    background: #fff;
    text-align: center;
    font-size: 0.7em;
    z-index: 100;
}

div.bottomspace {
    height: 28px;
}

/* BAR https://www.cssportal.com/style-input-range/ */
input[type=range] {
    height: 32px;
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #50555C;
    background: #50555C;
    border-radius: 0px;
    border: 0px solid #000000;
  }
  input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 26px;
    width: 10px;
    border-radius: 0px;
    background: #529DE1;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8.5px;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #50555C;
  }
  input[type=range]::-moz-range-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #50555C;
    background: #50555C;
    border-radius: 0px;
    border: 0px solid #000000;
  }
  input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 26px;
    width: 10px;
    border-radius: 0px;
    background: #529DE1;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower {
    background: #50555C;
    border: 0px solid #000000;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #50555C;
  }
  input[type=range]::-ms-fill-upper {
    background: #50555C;
    border: 0px solid #000000;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #50555C;
  }
  input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 0px solid #000000;
    height: 26px;
    width: 10px;
    border-radius: 0px;
    background: #529DE1;
    cursor: pointer;
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #50555C;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #50555C;
  }



.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin: 10px;
    margin-bottom: 0;
}

.card-header {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2b6cb0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.data-row:last-child {
    border-bottom: none;
}

.label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}

.value {
    font-weight: 600;
    color: #4a5568;
}

.status-green {
    color: #38a169;
}

.icon-bg {
    background: #ebf8ff;
    padding: 8px;
    border-radius: 50%;
    display: inline-flex;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight {
    color: #2b6cb0;
    font-size: 1.1em;
}

.battery-full {
    color: #38a169;
}
