@charset "UTF-8";

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap");



/* CSS Document */

/************* CSS RESET *************/

/*** Mike's CSS Reset ***/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  /*font: inherit;*/
  vertical-align: baseline;
  list-style: none;
}
img {
  border-style: none;
}
* {
  margin: 0;
  padding: 0;
}
html {
  width: 100%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:link {
  color: inherit;
  text-decoration: none;
}
a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #a4aab0;
  text-decoration: none;
}
a:active {
  color: inherit;
  text-decoration: none;
}

*,
div {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --gradient-color-red: linear-gradient(90deg,
    hsl(7, 89%, 46%) 15%,
    hsl(11, 93%, 68%) 100%);
    --gradient-color-orange: linear-gradient(90deg,
    hsl(22, 89%, 46%) 15%,
    hsl(54, 90%, 45%) 100%);
    --gradient-color-yellow: linear-gradient(90deg,
    hsl(54, 89%, 46%) 15%,
    hsl(92, 90%, 45%) 100%);
    --gradient-color-green: linear-gradient(90deg,
    hsl(92, 89%, 46%) 15%,
    hsl(92, 90%, 68%) 100%);
    --text-color: #000;
    --body-color: hsl(0, 100%, 100%);
    --container-color: hsl(0, 100%, 100%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Rubik', sans-serif;

    --biggest-font-size: 2.5rem;
    --normal-font-size: .938rem;
    --smaller-font-size: .75rem;
}



/************* MEDIA CALLS *************/

/***************/
/*   STANDARD  */
/***************/

@media (max-width: 640px) {
}

/***************/
/*   HANDHELD  */
/***************/

@media only screen and (orientation: landscape) and (max-device-width: 1024px) and (min-width:320px) {
}

/************* PAGE STYLING *************/

#page {
  width: 100%;
  height: auto;
  font-family: "Open Sans";
  font-weight: 300;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-bold-webfont.woff2") format("woff2"),
    url("../fonts/opensans-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("./../fonts/opensans-regular-webfont.woff2") format("woff2"),
    url("./../fonts/opensans-regular-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

h1,
h2,
h3 {
}

p {
}

.clear {
  clear: both;
}

/************* CUSTOM STYLING *************/

#nav {
    z-index: 1;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  border: 1px solid #d5d5d7;
  border-left: none;
  border-right: none;
  padding: 0 20px;
  background-color: #ffffff;
}

#nav_left {
  width: 50%;
  height: auto;
  float: left;
  padding: 10px 0;
}

#nav_left img {
  width: auto;
  height: 80px;
}

#nav_right {
  width: 50%;
  height: auto;
  float: right;
  padding-top: 18px;
}

#nav_right_inner  {
	width: auto;
	height: auto;
	float: right;
}

#main {
  width: 100%;
  height: auto;
  margin-top: 100px;
  background: #f0f1f3;
  min-height: calc(100vh - 100px);
  padding: 4px 0;
}

.depot_container {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  border-bottom: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.04);
  margin: 16px 20px;
  overflow: hidden;
  border-left: 4px solid #00953a;
}

.depot_full {
  width: 100%;
  height: auto;
  float: left;
  padding: 20px;
}

.depot_left {
  width: 50%;
  height: auto;
  float: left;
  padding: 20px;
}

.depot_title {
  width: 100%;
  height: auto;
  color: #00953a;
  padding-bottom: 10px;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 32px;
}

.depot_details {
  width: 100%;
  height: auto;
  padding-left: 20px;
  color: #38383a;
}

.weather {
    border: #8fba38 1px solid;
    padding:5px; 
    box-sizing: border-box;
}

.battery_cs {
    width: 50%;
    border: #8fba38 1px solid;
    padding:5px;  
    box-sizing: border-box;
    float: none; 
}

.batteryBox {
    border: #8fba38 1px solid;
    padding: 10px; 
    width: auto;
    box-sizing: border-box;
}

.bagsCountBox {
  border: #8fba38 1px solid;
  padding: 10px; 
  width: auto;
  box-sizing: border-box;
}

.space {
  margin-bottom: 2em; 
}

.depot_detail_item {
  width: 100%;
  height: auto;
  padding-bottom: 24px;
}

.depot_detail_item::before {
    /*content: "- "; */
  }

.depot_stat_row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.depot_stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border-left: 3px solid #00953a;
  border-radius: 4px;
  padding: 10px 14px;
}

.vpn_badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.vpn_badge i {
  font-size: 13px;
}

.vpn_badge--checking {
  background: #e9ecef;
  color: #636363;
}

.vpn_badge--up {
  background: #d4edda;
  color: #155724;
}

.vpn_badge--down {
  background: #f8d7da;
  color: #721c24;
}

@keyframes vpn-spin {
  to { transform: rotate(360deg); }
}

.vpn_badge--checking i {
  animation: vpn-spin 1s linear infinite;
}

.depot_stat--warning {
  background: #fff3cd;
  border-left-color: #d4a017;
}

.depot_stat--warning .depot_stat_icon {
  color: #d4a017;
}

.depot_stat--danger {
  background: #f8d7da;
  border-left-color: #dc3545;
}

.depot_stat--danger .depot_stat_icon {
  color: #dc3545;
}

.depot_stat_icon {
  font-size: 20px;
  color: #00953a;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.depot_stat_content {
  flex: 1;
  min-width: 0;
}

.depot_stat_label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #636363;
  line-height: 1;
}

.depot_stat_value {
  font-size: 15px;
  font-weight: 700;
  color: #38383a;
  margin-top: 2px;
}

.weather_card {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 14px;
  margin-top: 8px;
}

.weather_card_header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.weather_card_img {
  width: 48px;
  height: 48px;
}

.weather_card_desc {
  font-size: 13px;
  font-weight: 600;
  color: #636363;
  text-transform: capitalize;
}

.weather_card_temp {
  font-size: 24px;
  font-weight: 900;
  color: #38383a;
  line-height: 1.1;
}

.weather_card_details {
  display: flex;
  gap: 8px;
}

.weather_card_detail {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
}

.weather_card_detail i {
  display: block;
  font-size: 16px;
  color: #00953a;
  margin-bottom: 4px;
}

.weather_card_detail_label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #636363;
}

.weather_card_detail_value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #38383a;
  margin-top: 2px;
}

.detail_columns {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.detail_col_left {
  flex: 1;
  min-width: 0;
}

.detail_col_right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.chart_section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chart_box {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 16px;
}

.chart_box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #38383a;
  margin-bottom: 10px;
}

.chart_select {
  padding: 6px 10px;
  border: 1px solid #d5d5d7;
  border-radius: 4px;
  font-size: 13px;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 10px;
  background: #fff;
}

.chart_select:focus {
  outline: none;
  border-color: #00953a;
}

.depot_camera_detail {
  margin-bottom: 16px;
}

.depot_camera_detail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

@media only screen and (max-width: 768px) {
  .detail_columns { flex-direction: column; }
  .chart_box { padding: 12px; }
}

  .depot_functions {
    width: 100%;
    height: auto;
    padding-top: 10px;
    padding-left: 20px;
  }

  .depot_function_item {
    width: auto;
    max-width: 120px;
    height: auto;
    text-align: center;
    background-color: #00953a;
    color: #fff;
    padding: 6px 10px;
    cursor: pointer;
  }

  .depot_function_item:hover {
    background-color: #82bc00;
  }

  .depot_right {
    width: 50%;
    height: auto;
    float: right;
    background-color: #f8f8f8;
    padding: 20px;
    border-left: 1px solid #ededee;
  }

  .depot_cameras_container_inside {
    width: 100%;
    height: auto;
  }

  .depot_camera_inside {
    width: 100%;
    height: auto;
    float: auto;
    padding: 5px;
  }

  .depot_cameras_header_inside {
    width: 100%;
    height: auto;
    padding-bottom: 14px;
    color: #38383a;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .depot_camera_inside img {
    -webkit-transition: all 300ms 0ms ease-in-out;
    transition: all 300ms 0ms ease-in-out;
    width: 100%;
    height: auto;
  }

  .depot_camera_inside img:hover
  {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);

  }

  .depot_cameras_container {
    width: 100%;
    height: auto;
  }

  .depot_camera {
    width: 50%;
    height: auto;
    float: left;
    padding: 5px;
  }

  .depot_cameras_header {
    width: 100%;
    height: auto;
    padding-bottom: 8px;
    color: #636363;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    font-weight: 700;
  }

  .depot_camera img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
  }
  #login_container {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }

  #login_logo {
    width: 100%;
    height: auto;
    padding: 20px 10px 20px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #login_logo img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .login_label {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    padding-bottom: 4px;
    color: #3c3c3c;
  }

  #login_text {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    text-align: center;
    font-weight: 700;
    color: #00953a;
    font-size: 24px;
    padding-bottom: 14px;
  }

  #login-wrap {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
  }

  .login_item {
    width: 100%;
    height: auto;
    padding-bottom: 12px;
  }

  .login_label {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
    padding-bottom: 4px;
    color: #3c3c3c;
  }

  .login_input {
    width: 100%;
    height: auto;
    padding: 0 10px 0 10px;
  }

  .login_input input[type="text"],
  .login_input input[type="password"] {
    width: 100%;
    height: auto;
    border: 1px solid #646464;
    padding: 8px 10px;
    font-size: 14px;
  }

  .standardbtn {
    height: auto;
    text-align: center;
    background-color: #00953a;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    border: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
  }

  .standardbtn:hover {
    background-color: #82bc00;
  }

  .secondarybtn {
    background-color: #636363;
  }

  .secondarybtn:hover {
    background-color: #969696;
  }

  .dangerbtn {
    background-color: #dc3545;
  }

  .dangerbtn:hover {
    background-color: #ff6a79;
  }

  .alert {
    width: 300px;
    position: fixed;
    bottom: 10px;
    right: 10px;
  }



  .modal {
    display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

/*=============== BATTERY ===============*/
.battery {
    display: grid;
    place-items: center;
    margin: 0 1.5rem;
}

.battery__card {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: var(--container-color);
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.battery__text {
    margin-bottom: .5rem;
}

.battery__percentage {
    font-size: var(--biggest-font-size);
}

.battery__status {
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--smaller-font-size);
}

.battery__status i {
    font-size: 1.25rem;
}

.battery__pill {
    position: relative;
    width: 75px;
    height: 180px;
    background-color: var(--container-color);
    box-shadow: inset 20px 0 48px hsl(0, 0%, 16%),
    inset -4px 12px 48px hsl(0, 0%, 56%);
    border-radius: 3rem;
    justify-self: flex-end;
}

.battery__level {
    position: absolute;
    inset: 2px;
    border-radius: 3rem;
    overflow: hidden;
}

.battery__liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: var(--gradient-color-red);
    box-shadow: inset -10px 0 12px hsla(0, 0%, 0%, .1),
    inset 12px 0 12px hsla(0, 0%, 0%, .15);
    transition: .3s;
}

.battery__liquid::after {
    content: '';
    position: absolute;
    height: 8px;
    background: var(--gradient-color-red);
    box-shadow: inset 0px -3px 6px hsla(0, 0%, 0%, .2);
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -4px;
    border-radius: 50%;
}

/* Full battery icon color */
.green-color {
    background: var(--gradient-color-green);
}

/* Battery charging animation */
.animated-green {
    background: var(--gradient-color-green);
    animation: animated-charging-battery 1.2s infinite alternate;
}

/* Low battery animation */
.animated-red {
    background: var(--gradient-color-red);
    animation: animated-low-battery 1.2s infinite alternate;
}

.animated-green,
.animated-red,
.green-color {
    -webkit-background-clip: text;
    color: transparent;
}

@keyframes animated-charging-battery {
    0% {
        text-shadow: none;
    }
    100% {
        text-shadow: 0 0 6px hsl(92, 90%, 68%);
    }
}

@keyframes animated-low-battery {
    0% {
        text-shadow: none;
    }
    100% {
        text-shadow: 0 0 8px hsl(7, 89%, 46%);
    }
}

/* Liquid battery with gradient color */
.gradient-color-red,
.gradient-color-red::after {
    background: var(--gradient-color-red);
}

.gradient-color-orange,
.gradient-color-orange::after {
    background: var(--gradient-color-orange);
}

.gradient-color-yellow,
.gradient-color-yellow::after {
    background: var(--gradient-color-yellow);
}

.gradient-color-green,
.gradient-color-green::after {
    background: var(--gradient-color-green);
}


@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 1440px) {
  .depot_camera { width: 100%; margin-bottom: 20px; }
  .depot_camera_inside { width: 100%; margin-bottom: 20px; }
}

@media only screen and (max-width: 1024px) {
  .depot_left, .depot_right { width: 100%; float: none; }
  .depot_right { border-left: none; border-top: 1px solid #ededee; }
  .depot_cameras_container { display: flex; gap: 12px; }
  .depot_camera { width: 50%; float: none; margin-bottom: 0; }
}

@media only screen and (max-width: 768px) {
  .depot_container { margin: 12px 10px; }
  .depot_details > div[style*="50%"] { width: 100% !important; float: none !important; }
  .depot_title { font-size: 24px; }
  .battery { margin: 0; }
  .battery__card { height: 140px; }
  .battery__pill { width: 55px; height: 140px; }
  .battery__percentage { font-size: 1.8rem; }
  .battery__status { bottom: 0.75rem; font-size: 0.65rem; }
  .weather_card_details { flex-wrap: wrap; }
  .weather_card_detail { min-width: 0; }
  .depot_cameras_container { flex-direction: column; }
  .depot_camera { width: 100%; }
  .modal-content { width: 100%; }
}

@media only screen and (max-width: 480px) {
  .depot_title { font-size: 20px; }
  .depot_left, .depot_right { padding: 14px; }
  .depot_details { padding-left: 0; }
  .battery__card { grid-template-columns: 1fr auto; gap: 8px; height: auto; min-height: 120px; }
  .battery__pill { width: 45px; height: 120px; }
  .battery__percentage { font-size: 1.5rem; }
  #nav_left img { height: 50px; }
  #main { margin-top: 70px; }
}