@charset "UTF-8";
/* ===================================================
  THIS IS AN SCSS FILE

  Installation - https://sass-lang.com/install
  > npm install -g sass

  Running manually (go to /src directory):
  > sass style.scss ../public/style.css
  > sass style_dark.scss ../public/style_dark.css

  Running automatically (go to /src directory in two separate windows and run both at same time):
  > sass --watch style.scss ../public/style.css
  > sass --watch style_dark.scss ../public/style_dark.css
  =================================================== */
/* ===================================================
  COLORS 
  =================================================== */
/* ===================================================
  SIZES 
  =================================================== */
/* ===================================================
  GLOBAL FONTS
  FONTS HAVE BEEN MOVED LOCALLY SO THE APP CAN BE USED OFFLINE (FOR THE TRADE SHOW).
  WOFF2 FONTS WILL WORK ON ALL BROWSERS EXCEPT FOR IE AND SAFARI ON EL CAPITAN (2015) OR EARLIER.
  INCOMPATIBLE BROWSERS HAVE AN EXTREMELY LOW MARKET SHARE SO THIS SHOULD BE FINE. THE APP DOES NOT 
  SUPPORT IE AT ALL. WOFF2 IS ABOUT 30% SMALLER THAN WOFF.
  =================================================== */
/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZJhiI2B.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZthiI2B.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZNhiI2B.woff2) format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZxhiI2B.woff2) format("woff2");
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZBhiI2B.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZFhiI2B.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fAZ9hiA.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fallback */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2");
}
/* fallback */
@font-face {
  font-family: "Material Icons Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format("woff2");
}
/* devanagari */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJfecg.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  src: url(roboto-v48-latin-regular.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(roboto-v48-latin-800.woff2) format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(roboto-v48-latin-500italic.woff2) format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.material-icons-outlined {
  font-family: "Material Icons Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* ===================================================
  CSS RESET 
  =================================================== */
html, body {
  min-height: 100%;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  min-width: 320px;
  color: #393D46;
  background: linear-gradient(125.24deg, #FFFFFF -74.39%, #85B8DE 100%);
}
body div, body span, body input, body button, body textarea {
  box-sizing: border-box;
}
body th button {
  padding: 0;
}
body th button:hover {
  text-decoration-line: underline;
}
body button {
  padding: 0;
}

body.groupMode {
  background: linear-gradient(125.24deg, #FFFFFF -74.39%, #85DEB8 100%);
}

body.disconnectMode {
  background: linear-gradient(125.24deg, #cc6c5f -74.39%, #cc4c1d 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

h1 {
  font-size: 32px;
  margin-top: 0;
}

.save-page h1 {
  width: calc(100% - 240px);
}
@media (max-width: 500px) {
  .save-page h1 {
    width: calc(100% - 32px);
    margin-bottom: 60px;
  }
}

hr {
  border-color: #bcbcbc;
  border-top: none;
}

a {
  text-decoration: none;
  color: #393D46;
}

p {
  color: #6E6B7B;
}

table {
  clear: both;
  width: 100%;
  border-collapse: collapse;
  color: #393D46;
}
table th,
table th button {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: #6E6B7B;
}
table th .material-icons, table th .material-icons-outlined {
  vertical-align: middle;
}
table td {
  font-size: 14px;
  padding-right: 8px;
}
table th, table td {
  padding-right: 4px;
}

form {
  clear: both;
}

label,
.form-title {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
  color: #6E6B7B;
  display: block;
  user-select: none;
  font-weight: 600;
}

.title {
  font-weight: 600;
  margin-bottom: 8px;
}

.name {
  font-weight: 600;
}

.checkbox-field > span .override {
  margin-right: 10px;
}
.checkbox-field > span {
  margin-right: 16px;
  margin-bottom: 16px;
  display: inline-block;
}
.checkbox-field > span label {
  display: inline;
  line-height: 20px;
  vertical-align: top;
  padding-left: 6px;
  user-select: none;
  color: #393D46;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}
.checkbox-field > span label.small-text {
  font-size: 12px;
  margin-bottom: 0;
}

label.checkbox-label {
  margin-left: 6px;
  display: inline-block;
  vertical-align: text-top;
}

textarea,
input[type=date],
input[type=number],
input[type=email],
input[type=time],
input[type=text],
input[type=tel],
input[type=password] {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 10.5px 12px;
  display: block;
  color: #393D46;
  background-color: white;
}
textarea::placeholder,
input[type=date]::placeholder,
input[type=number]::placeholder,
input[type=email]::placeholder,
input[type=time]::placeholder,
input[type=text]::placeholder,
input[type=tel]::placeholder,
input[type=password]::placeholder {
  color: #aaa;
  opacity: 1;
}
textarea:focus,
input[type=date]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=time]:focus,
input[type=text]:focus,
input[type=tel]:focus,
input[type=password]:focus {
  border: 1px solid #1F8DED;
}
textarea:hover,
input[type=date]:hover,
input[type=number]:hover,
input[type=email]:hover,
input[type=time]:hover,
input[type=text]:hover,
input[type=tel]:hover,
input[type=password]:hover {
  border: 1px solid #1F8DED;
}
textarea.fullwidth,
input[type=date].fullwidth,
input[type=number].fullwidth,
input[type=email].fullwidth,
input[type=time].fullwidth,
input[type=text].fullwidth,
input[type=tel].fullwidth,
input[type=password].fullwidth {
  width: 100%;
}

input[type=password],
input[type=email] {
  margin-bottom: 16px;
}

input[type=email],
input[type=text],
input[type=password] {
  background-color: white;
}

/* HIDE PASSWORD EYEBALL ON EDGE BROWSER */
::-ms-reveal {
  display: none;
}

input[type=time],
input[type=number],
input[type=tel],
input[type=email] {
  display: inline-block;
  margin-right: 10px;
}

input[type=date],
input[type=time] {
  padding: 9px 12px;
  height: 40px;
}

input[type=radio],
input[type=checkbox]:not(.sp-enable-checkbox) {
  transform: scale(1.5);
}

input[type=radio] {
  margin-right: 8px;
}

input[type=time] {
  -webkit-appearance: none;
}

input[type=file] {
  position: absolute;
  width: 200px;
  height: 40px;
  margin-top: -40px;
  z-index: 10;
  opacity: 0;
  cursor: pointer;
}

label.wrap {
  margin-bottom: 0;
}
label.wrap input, label.wrap select {
  margin-top: 8px;
}

textarea {
  vertical-align: bottom;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 10.5px 12px;
  font-family: "Inter", sans-serif;
}

details {
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  padding: 8px 16px;
  max-width: 700px;
  margin: 0 auto 16px 0;
}
details:hover {
  border-color: #1F8DED;
}
details h3 {
  font-weight: normal;
  border-bottom: 1px solid #bcbcbc;
  font-size: 14px;
  padding-bottom: 4px;
}
details label {
  display: inline-block;
  padding-left: 6px;
}
details summary {
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
}
details summary h2 {
  display: inline-block;
  margin: 0 0 0 8px !important;
  font-weight: normal;
  font-size: 18px;
}
details .details {
  margin-top: 1em;
}

.sms-consent-text {
  font-size: 0.85em;
  color: #555;
  font-weight: bold;
  display: block;
}

@media (min-width: 600px) {
  .sms-consent-text {
    max-width: 55%;
  }
}
/* ===================================================
  SELECTOR
  https://moderncss.dev/custom-select-styles-with-pure-css/
  =================================================== */
.custom-select {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 16px;
}
.custom-select label {
  color: #6E6B7B;
  float: none;
}
.custom-select .down-arrow {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
}
.custom-select .save-message {
  position: absolute;
  left: 0;
  bottom: -20px;
  font-size: 12px;
  width: 200px;
  color: #6E6B7B;
}
.custom-select .list-item {
  cursor: pointer;
  background-color: white;
}
.custom-select .list-item.selected {
  background-color: #CCEEEE;
}
.custom-select .list-item:hover {
  background-color: #ddebf8;
}

.custom-select select,
select.MuiSelect-select {
  color: #393D46;
  display: block;
  font-size: 14px;
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 11px 40px 11px 16px;
  min-width: 100%;
  appearance: none;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
}
.custom-select select::-ms-expand,
select.MuiSelect-select::-ms-expand {
  display: none;
}
.custom-select select:focus,
select.MuiSelect-select:focus {
  border: 1px solid #1F8DED;
}
.custom-select select option,
select.MuiSelect-select option {
  padding: 10px;
  background-color: white;
}
.custom-select select:hover,
select.MuiSelect-select:hover {
  border-color: #1F8DED;
}
.custom-select select:disabled,
select.MuiSelect-select:disabled {
  cursor: default;
  color: #393D46;
  border-color: #aaa;
}

.equipment-water-now-selected {
  background-color: #EFF2F7;
}

.equipment-water-now-selected td {
  background-color: #EFF2F7;
}

.equipment-row-watering-now {
  background-color: rgba(42, 168, 255, 0.12);
}

.equipment-row-watering-now td {
  background-color: rgba(42, 168, 255, 0.12);
}

.equipment-row-active {
  background-color: #fff0f0;
  border-left: 1px solid #fecaca;
  color: #991b1b;
}

.equipment-row-active td {
  background-color: #fff0f0;
  color: #991b1b;
}

.equipment-row-aux {
  background-color: #fef9e7;
  border-left: 2px solid #e5a100;
}

.equipment-row-aux td {
  background-color: #fef9e7;
}

.equipment-row-disabled {
  color: #9b9ea1 !important;
}
.equipment-row-disabled .on-off-indicator .on {
  background-color: #9b9ea1 !important;
  color: white;
}
.equipment-row-disabled .on-off-indicator .on a {
  color: white !important;
}

.equipment-row-disabled td a {
  color: #9b9ea1 !important;
  pointer-events: none;
}
.equipment-row-disabled td .on-off-indicator {
  color: white !important;
  background-color: #9b9ea1 !important;
}
.equipment-row-disabled td .on-off-indicator .on {
  color: white !important;
  background-color: #9b9ea1 !important;
}

.equipment-row-error {
  background-color: #fef2f2;
  border-left: 1px solid #fecaca;
  color: #b91c1c;
}

.equipment-row-error td {
  background-color: #fef2f2;
  color: #b91c1c;
}

.water-now-button {
  background-color: transparent;
  color: #e7edf7;
  border: none;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 12px;
  padding: 4px 6px;
}

.water-now-text {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: white;
}

.pill, .pill-aux-override, .pill-heartbeat-outlined, .pill-water-now {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.pill-water-now {
  border: 1px solid #2aa8ff;
  background: linear-gradient(180deg, rgb(36, 181, 234) 0%, rgb(24, 66, 145) 100%);
  color: lightcyan;
}

.pill-heartbeat-outlined {
  border: 1px solid #2aa8ff;
  background: transparent;
  color: #2aa8ff;
  animation: pill-heartbeat 1.2s ease-in-out infinite;
}

.pill-aux-override {
  border: 1px solid #e5a100;
  background: #fef3cd;
  color: #856404;
  font-weight: 600;
}

@media (max-width: 576px) {
  .pill,
  .pill-water-now,
  .pill-heartbeat-outlined,
  .pill-aux-override {
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
}
.water-now-popup {
  background-color: #0f131c;
  color: #eef2f8;
  border: 1px solid #2c3546;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 24px;
  border-radius: 12px;
  min-width: 400px !important;
}

.water-now-popup .water-now-header {
  margin-bottom: 20px;
}

.water-now-popup .water-now-title {
  color: #0d6fee;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.water-now-popup label {
  color: #0d6fee;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.water-now-popup select,
.water-now-popup input {
  width: 100%;
  color: #000;
  background: linear-gradient(125.24deg, #FFFFFF -74.39%, #85B8DE 100%);
  border: 1px solid #3d4553;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}
.water-now-popup select:focus,
.water-now-popup input:focus {
  outline: none;
  border-color: #1F8DED;
}
.water-now-popup select.input-50,
.water-now-popup input.input-50 {
  width: 50%;
}

.water-now-popup select {
  cursor: pointer;
  min-height: 42px;
  width: 75%;
}

.water-now-popup input::placeholder {
  color: #6b7280;
}

.water-now-popup .water-now-popup-days {
  width: 5em;
  min-width: 4em;
}

.water-now-popup .water-now-popup-unit {
  margin-left: 8px;
  width: 6em;
  min-width: 4em;
  min-height: 42px;
}

.water-now-popup .water-now-field {
  margin-bottom: 16px;
}

.water-now-popup-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #2c3546;
}

.water-now-popup .water-now-submit {
  min-width: 120px;
}

.water-now-popup .water-now-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.water-now-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.water-now-title {
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.water-now-stop {
  display: inline-flex;
  align-items: center;
  color: #EA5455;
  gap: 4px;
  background: transparent;
  padding: 4px 6px;
  border: none;
  position: relative;
  padding-left: 16px;
}

/* Vertical separator */
.water-now-stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: white;
}

.water-now-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, rgb(36, 181, 234) 0%, rgb(24, 66, 145) 100%);
  border-radius: 5px;
  color: #ffffff;
  transition: all 0.25s ease;
  overflow: hidden;
  height: 40px;
  margin-top: 4px;
  margin-right: 10px;
}

/* Hover Effect */
.water-now-actions:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 47, 141, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.05);
}

/* Click Effect */
.water-now-actions:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(13, 47, 141, 0.25);
}

.water-now-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Button icon inside action buttons ── */
.action-btn-icon {
  font-size: 16px !important;
  vertical-align: middle;
  margin-right: 2px;
  color: white !important;
}

/* ── Distinct button colors ── */
.action-water-now {
  background: linear-gradient(180deg, #3a9bd5 0%, #1a5fa0 100%);
}

.action-water-budget {
  background: linear-gradient(180deg, #3564a8 0%, #1e3a6e 100%);
}

.action-rain-skip {
  background: linear-gradient(180deg, #6b7b8d 0%, #434e5a 100%);
}

.action-walk-valve {
  background: linear-gradient(180deg, #43a047 0%, #2e7d32 100%);
}

/* ── Zone actions bar: always-visible row ── */
.zone-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

/* ── [+] / [−] toggle button ── */
.actions-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #888;
  background: transparent;
  color: #888;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
}
.actions-toggle-btn:hover {
  border-color: #aaa;
  color: #aaa;
}
.actions-toggle-btn:active {
  border-color: #666;
  color: #666;
}

.water-budget-hint {
  display: block;
  font-size: 11px;
  color: #8899aa;
  margin-top: 4px;
}

.water-budget-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 10px 0;
  background: #1d8eec;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
}

.water-budget-status-label {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.wb-countdown {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.wb-cd-box {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: #21b4ea;
  border-radius: 12px;
  padding: 2px 12px;
}

.wb-cd-val {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.wb-cd-unit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 600;
}

.wb-cd-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 14px;
  padding: 0 2px;
}

@media (max-width: 500px) {
  .wb-cd-sep {
    padding: 0px;
  }
}
@media (max-width: 499px) {
  .wb-cd-val {
    font-size: 9px;
  }
  .wb-cd-unit {
    font-size: 10px;
  }
  .water-budget-status-label {
    letter-spacing: 0px;
    font-size: 11px;
  }
  .water-budget-status-bar {
    gap: 5px;
    padding: 4px 9px;
  }
  .wb-cd-box {
    padding: 2px 8px;
  }
  .water-budget-cancel-btn {
    padding: 5px 5px !important;
    font-size: 10px !important;
    margin-left: 0px !important;
  }
}
.water-budget-cancel-btn {
  padding: 6px 15px;
  font-size: 14px;
  min-width: auto !important;
  border: 1px solid white !important;
  color: #1d8eec !important;
  background: white !important;
  border-radius: 6px !important;
  cursor: pointer;
  margin-left: 8px;
}
.water-budget-cancel-btn:hover {
  background: rgba(175, 200, 241, 0.15) !important;
  border-color: #fff !important;
  color: white !important;
}

/* Rain Skip: gray out all equipment rows */
.rain-skip-grayed table.list tbody tr td,
.rain-skip-grayed table.list tbody tr td a,
.rain-skip-grayed table.list tbody tr td span,
.rain-skip-grayed table.list thead tr th {
  color: #b0b8c4 !important;
  pointer-events: none;
}

.rain-skip-grayed table.list tbody tr td a.on-off-indicator,
.rain-skip-grayed table.list tbody tr td a.on-off-indicator.on {
  color: #b0b8c4 !important;
  background: none !important;
}

.rain-skip-grayed table.list tbody tr {
  background-color: transparent !important;
  border-left: none !important;
}

.rain-skip-grayed table.list tbody tr td {
  background-color: transparent !important;
}

/* Channel name remains clickable during rain skip (navigate to channel page) */
.rain-skip-grayed table.list tbody tr td:first-child a.name {
  pointer-events: auto !important;
  cursor: pointer;
}
.rain-skip-grayed table.list tbody tr td:first-child a.name:hover {
  color: #1d8eec !important;
}

/* Rain Skip: gray out div-based equipment rows */
.rain-skip-grayed .equipment-rows .eq-row,
.rain-skip-grayed .equipment-rows .eq-row a,
.rain-skip-grayed .equipment-rows .eq-row span,
.rain-skip-grayed .equipment-rows .eq-row-header {
  color: #b0b8c4 !important;
  pointer-events: none;
}

.rain-skip-grayed .equipment-rows .eq-row a.on-off-indicator,
.rain-skip-grayed .equipment-rows .eq-row a.on-off-indicator.on {
  color: #b0b8c4 !important;
  background: none !important;
}

.rain-skip-grayed .equipment-rows .eq-row {
  background-color: transparent !important;
  border-left: none !important;
}

.rain-skip-grayed .equipment-rows .eq-row .eq-col-name a.name {
  pointer-events: auto !important;
  cursor: pointer;
}
.rain-skip-grayed .equipment-rows .eq-row .eq-col-name a.name:hover {
  color: #1d8eec !important;
}

/* Rain Skip / Water Budget / AUX: styled status bars */
.aux-status-bar-styled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 10px 0;
  background: #fef3cd;
  border: 1px solid #e5a100;
  border-radius: 8px;
  font-size: 13px;
  color: #856404;
}

.aux-status-bar-styled .water-budget-status-label {
  color: #856404;
  font-weight: 600;
}

.rain-skip-status-bar,
.water-budget-status-bar-styled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 10px 0;
  background: #f0f9ff;
  border: 1px solid #d8f0fd;
  border-radius: 8px;
  font-size: 13px;
  color: #1a446d;
}

.rain-skip-status-bar .water-budget-status-label,
.water-budget-status-bar-styled .water-budget-status-label {
  color: #1a446d;
  font-weight: 600;
}

.rain-skip-status-bar .wb-cd-box,
.water-budget-status-bar-styled .wb-cd-box {
  background: #e1f2fe;
  border-radius: 12px;
  padding: 2px 12px;
}

.rain-skip-status-bar .wb-cd-val,
.water-budget-status-bar-styled .wb-cd-val {
  color: #1a446d;
  font-weight: 700;
}

.rain-skip-status-bar .wb-cd-unit,
.water-budget-status-bar-styled .wb-cd-unit {
  color: #3b6d99;
}

.rain-skip-status-bar .wb-cd-sep,
.water-budget-status-bar-styled .wb-cd-sep {
  color: #7faac8;
}

.rain-skip-status-bar .water-budget-cancel-btn,
.water-budget-status-bar-styled .water-budget-cancel-btn {
  color: #1a446d !important;
  background: #f0f9ff !important;
  border: 1px solid #d8f0fd !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.rain-skip-status-bar .water-budget-cancel-btn:hover,
.water-budget-status-bar-styled .water-budget-cancel-btn:hover {
  background: #d8f0fd !important;
  border-color: #b0d8f5 !important;
}

/* Zone error box */
.zone-error-box {
  background-color: #fef2f2;
  border: 1px solid #f9b2b2;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  color: #c4333d;
}

.zone-error-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.zone-error-icon {
  font-size: 20px;
  color: #c4333d;
}

.zone-error-subtitle {
  margin-top: 4px;
  margin-left: 28px;
  font-size: 13px;
  font-weight: 400;
  color: #c4333d;
}

.equipment-header-row {
  display: flex;
  gap: 8px;
}

.info-column {
  text-align: left !important;
}

.info-cell {
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 500px) {
  .hr16-value-boxes {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    column-gap: 6px;
    row-gap: 4px;
    width: auto;
    max-width: 100%;
    margin: 7px 0px;
  }
  .hr16-value-box {
    padding: 4px 6px;
    gap: 4px;
    font-size: 12px;
  }
  .hr16-vb-target {
    font-size: 14px;
  }
  .hr16-vb-unit {
    font-size: 11px;
  }
}
.hr16-value-boxes {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.hr16-value-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #d5d7dd;
  border-radius: 9px;
  background: #f0f0f3;
  font-size: 14px;
  line-height: 1;
}

.hr16-vb-primary {
  font-weight: 700;
  color: #393D46;
}

.hr16-vb-sep {
  width: 1px;
  height: 14px;
  background: #c0c0c0;
}

.hr16-vb-target {
  font-size: 16px;
  color: #777;
}

.hr16-vb-secondary {
  color: #393D46;
}

.hr16-vb-unit {
  white-space: nowrap;
  font-size: 13px;
  color: #888;
}

.hr16-info-text {
  font-size: 13px;
  margin-right: 8px;
}

.hr16-countdown-single-wrap {
  display: inline-flex;
  align-items: center;
}

.hr16-countdown-runs {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-right: 6px;
}

.hr16-countdown-runs-count {
  font-weight: bold;
  line-height: 1.2;
}

.hr16-countdown-runs-label {
  line-height: 1.2;
}

.hr16-countdown-single {
  font-family: "Inter", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #393D46;
  font-size: 14px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

/* Hide new timer column on mobile */
.timer-column {
  display: none;
}

.timer-col {
  display: none;
}

.hr16-time-wrap {
  display: inline-flex;
  align-items: center;
}

.hr16-time-wrap .time-enable {
  margin-bottom: 0;
}

.hr16-time-wrap .time-picker {
  display: none;
}

.hr16-time-wrap .time-enable input[type=time] {
  height: 35px !important;
}

.hr16-time-wrap-mobile {
  display: none;
}

@media (min-width: 800px) {
  .timer-col {
    display: table-cell;
  }
  /* new column */
  .timer-column {
    display: table-cell;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
  }
}
@media (max-width: 799px) {
  .hr16-info-scheduled-inline {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 5px 0px;
  }
  .hr16-time-wrap-mobile {
    display: flex;
    margin-top: 2px;
    align-items: center;
  }
  .hr16-time-wrap .time-enable input[type=time] {
    min-width: 66px;
    font-size: 13px;
    padding: 6px 5px;
    height: 30px;
  }
}
@media (max-width: 768px) {
  .info-cell {
    white-space: normal;
  }
  .hr16-countdown-single {
    min-width: 84px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .hr16-value-boxes {
    gap: 6px;
  }
  .hr16-value-box {
    padding: 5px 8px;
    gap: 5px;
    font-size: 12px;
  }
  .hr16-vb-target {
    font-size: 14px;
  }
  .hr16-vb-unit {
    font-size: 12px;
  }
  .hr16-info-text {
    font-size: 12px;
    word-break: break-word;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .hr16-countdown-single {
    min-width: 76px;
    padding: 5px 8px;
    font-size: 11px;
  }
  .hr16-value-box {
    padding: 4px 6px;
    gap: 4px;
    font-size: 11px;
  }
  .hr16-vb-target {
    font-size: 13px;
  }
  .hr16-vb-unit {
    font-size: 11px;
  }
  .hr16-info-text {
    font-size: 11px;
  }
  .hr16-time-wrap .time-enable input[type=time] {
    min-width: 84px;
    font-size: 10px;
    padding: 1px 1px;
  }
}
@media (max-width: 500px) {
  .equipment-header-row {
    display: inline;
    gap: 8px;
  }
  .water-now-actions {
    margin-right: 5px;
    height: 30px;
  }
  .water-now-text {
    font-size: x-small;
  }
  .zone-actions-bar {
    gap: 4px;
  }
  .actions-toggle-btn {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}
@media (max-width: 500px) {
  .custom-dropdown select {
    width: 0%;
  }
}
@media (max-width: 1200px) {
  .list td:nth-child(2) {
    white-space: nowrap;
  }
  .list td:nth-child(3) {
    width: 32px;
    text-align: center;
    padding-left: 4px;
  }
  .on-off-indicator {
    display: inline-block;
    font-size: 12px;
  }
  .info-button {
    padding: 2px 6px;
  }
}
@media (min-width: 1200px) {
  .hr16-left {
    display: none;
  }
  .hr16-left .sensor-grid {
    justify-content: center;
  }
  .hr16-left .section-controls a.settings-button {
    margin-left: 7px;
  }
}
.responsive-flex {
  display: flex;
  align-items: normal;
  overflow: hidden;
  white-space: nowrap;
}

/* Small to Medium Devices: Wrap */
@media (max-width: 1024px) {
  .responsive-flex {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }
  .responsive-flex > * {
    min-width: 0;
  }
}
@media (max-width: 500px) {
  .responsive-flex {
    gap: 12px;
  }
  .responsive-flex .checkbox-field > span {
    margin-right: 12px;
    margin-bottom: 8px;
  }
}
/* Ensure checkboxes inside responsive-flex are visible on small screens */
@media (max-width: 1024px) {
  .checkbox-field {
    overflow: visible;
    min-width: 0;
  }
  .checkbox-field input[type=checkbox] {
    transform: scale(1.2);
    opacity: 1 !important;
    display: inline-block !important;
    margin-right: 8px;
    vertical-align: middle;
    -webkit-appearance: checkbox;
    appearance: checkbox;
  }
}
@media (max-width: 500px) {
  .checkbox-field {
    padding-left: 2px;
  }
}
/* Manage Site Access permission table: checkboxes sit inside fixed-width
   table cells (not a flex row), so the .checkbox-field/.responsive-flex
   classes don't apply here. Scoped fix mirrors the same mobile treatment
   without changing desktop layout. */
@media (max-width: 1024px) {
  table.user-access td:nth-child(1),
  table.user-access td:nth-child(2),
  table.user-access th:nth-child(1),
  table.user-access th:nth-child(2) {
    overflow: visible;
  }
  table.user-access input[type=checkbox] {
    transform: scale(1.2);
    opacity: 1 !important;
    display: inline-block !important;
    vertical-align: middle;
    -webkit-appearance: checkbox;
    appearance: checkbox;
  }
}
@media (max-width: 500px) {
  table.user-access th:nth-child(1),
  table.user-access th:nth-child(2),
  table.user-access td:nth-child(1),
  table.user-access td:nth-child(2) {
    width: 44px;
    padding: 4px 2px;
  }
}
/* Large Devices: No Wrap */
@media (min-width: 1025px) {
  .responsive-flex {
    flex-wrap: nowrap;
  }
}
/* ===================================================
  "LARGE MODE"
  =================================================== */
/*
@media (min-width: 1900px) {
  .fullwidth.account-page,
  .fullwidth.site-page {
    zoom: 1.5;
  }
}
*/
/* ===================================================
  GLOBAL STYLES 
  =================================================== */
.clearfloat {
  clear: both;
}

.floatright {
  float: right;
  text-align: right;
}

.floatleft {
  float: left;
}

.inline-block {
  display: inline-block !important;
}

.inline {
  display: inline !important;
}

.alignbottom {
  vertical-align: bottom;
}

.top-margin-verysmall {
  margin-top: 2px !important;
}

.top-margin-smaller {
  margin-top: 6px;
}

.top-margin-small {
  margin-top: 10px;
}

.top-margin {
  margin-top: 22px;
}

.left-margin {
  margin-left: 6px;
}

.right-margin {
  margin-right: 6px;
}

.right-margin-large {
  margin-right: 16px !important;
  margin-left: 0px !important;
}

.bottom-margin {
  margin-bottom: 16px;
}

.bottom-padding {
  padding-bottom: 20px;
}

.indented-text {
  margin-left: 16px;
}

.center {
  text-align: center;
}

.alignright {
  text-align: right;
}

.hidden {
  display: none;
}

.colored-link-text {
  color: #1F8DED;
}

.colored-link-text-red {
  color: #EA5455;
}

.divider {
  width: 5px;
  height: auto;
  display: inline-block;
}

.small-text {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 4px;
}

.medium-text {
  font-size: 14px;
}

.large-text {
  font-size: 17px;
}

.material-icons {
  user-select: none;
}

.units {
  font-size: 12px;
  margin-left: 1px;
  margin-right: 10px;
}
.units.water-now-units {
  color: #0d6fee;
}

.add.material-icons,
.add.material-icons-outlined {
  font-size: 36px;
  color: #1F8DED;
}
.add.material-icons:hover,
.add.material-icons-outlined:hover {
  background-color: #ddebf8;
}

/*
.alarm-on {
  color: $alarm-on !important;
}
*/
.table-container {
  overflow-x: auto;
}

input.license-counter[type=number]::-webkit-inner-spin-button {
  opacity: 1;
}

input.license-counter[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

.checkout-summary-row {
  text-indent: 40px;
}

.text-input-wrapper .input-error-message {
  margin-bottom: 16px;
  color: #EA5455;
  margin-top: -10px;
  font-size: 12px;
  font-weight: 600;
  display: none;
}
.text-input-wrapper.input-error-general .input-error-message {
  display: block;
}
.text-input-wrapper.input-error input {
  border-color: #EA5455;
}
.text-input-wrapper.input-error .input-error-message {
  display: block;
  white-space: pre;
}

input.with-right-button, button.with-right-button {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 16px;
}

button, a.button {
  font-size: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  background-color: transparent;
  text-align: center;
  user-select: none;
  font-weight: 500;
}
button.outlined, a.button.outlined {
  padding: 11px 18px;
  color: #1F8DED;
  border: 1px solid #1F8DED;
}
button.outlined:hover, a.button.outlined:hover {
  color: white;
  background-color: #1F8DED;
}
button.outlined:disabled, a.button.outlined:disabled {
  border-color: #aaa;
  color: #aaa;
}
button.outlined:active, a.button.outlined:active {
  background-color: #1F8DED;
  color: white;
}
button.grey, a.button.grey {
  padding: 11px 18px;
  background-color: #e3e3e3;
  border: 1px solid #e3e3e3;
}
button.down-arrow, a.button.down-arrow {
  position: relative;
  padding-right: 50px;
  border-color: #aaa;
  color: #393D46;
}
button.down-arrow span.material-icons, a.button.down-arrow span.material-icons {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
button.danger, a.button.danger {
  padding: 11px 18px;
  border: 1px solid #EA5455;
  color: #EA5455;
}
button.danger:hover, a.button.danger:hover {
  background-color: #EA5455;
  color: white;
}
button.icon, a.button.icon {
  border: 1px solid #1F8DED;
  color: #1F8DED;
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
}
button.icon .material-icons,
button.icon .material-icons-outlined, a.button.icon .material-icons,
a.button.icon .material-icons-outlined {
  vertical-align: middle;
  margin-left: 6px;
  margin-top: -4px;
  color: #1F8DED;
}
button.icon:hover, a.button.icon:hover {
  color: white;
  background-color: #1F8DED;
}
button.icon:hover .material-icons,
button.icon:hover .material-icons-outlined, a.button.icon:hover .material-icons,
a.button.icon:hover .material-icons-outlined {
  color: white;
}
button.add, a.button.add {
  border-color: #e3e3e3;
  background-color: #e3e3e3;
  color: #393D46;
  font-weight: 500;
}
button.add .material-icons,
button.add .material-icons-outlined, a.button.add .material-icons,
a.button.add .material-icons-outlined {
  margin-left: -6px;
  font-size: 32px;
}
button.only-icon, a.button.only-icon {
  border: 1px solid #1F8DED;
  color: #1F8DED;
  line-height: 36px;
  height: 36px;
  padding: 0 5px !important;
}
button.only-icon .material-icons,
button.only-icon .material-icons-outlined, a.button.only-icon .material-icons,
a.button.only-icon .material-icons-outlined {
  vertical-align: middle;
  margin: 0;
  color: #1F8DED;
}
button.only-icon:hover, a.button.only-icon:hover {
  border-color: #1F8DED;
}
button.filled, a.button.filled {
  padding: 11px 18px;
}
button.small, a.button.small {
  border: 1px solid #aaa;
  padding: 8px 14px;
  vertical-align: top;
  line-height: normal !important;
}
button.small:hover, a.button.small:hover {
  border-color: #1F8DED;
}
button.small:disabled, a.button.small:disabled {
  color: #aaa;
  border-color: #aaa !important;
  cursor: default;
}
button.small:disabled:hover, a.button.small:disabled:hover {
  border-color: #aaa !important;
}
button.filled, a.button.filled {
  border: 1px solid #1F8DED;
  background-color: #1F8DED;
  color: white;
}
button.filled:hover, a.button.filled:hover {
  background-color: white;
  color: #1F8DED;
}
button.filled:active, a.button.filled:active {
  background-color: #1F8DED;
  color: white;
}
button.filled:disabled, a.button.filled:disabled {
  cursor: default;
  background-color: #aaa;
  color: white;
  border-color: #aaa !important;
}
button.toggle, a.button.toggle {
  padding: 11px 18px;
  border: 2px solid transparent;
  margin-right: 12px;
  margin-bottom: 16px;
  background-color: #e3e3e3;
  color: #393D46;
}
button.toggle.selected, a.button.toggle.selected {
  border-color: #1F8DED;
}
button.toggle:hover, a.button.toggle:hover {
  background-color: #ddebf8;
}
button.download-file, a.button.download-file {
  border: 1px solid #b62822;
  background-color: #b62822;
  color: white;
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
}
button.download-file .material-icons,
button.download-file .material-icons-outlined, a.button.download-file .material-icons,
a.button.download-file .material-icons-outlined {
  vertical-align: middle;
  margin-left: 6px;
  margin-top: -4px;
  color: white;
}
button.download-file:hover, a.button.download-file:hover {
  border-color: white;
}

.material-icons.trash {
  color: #EA5455;
  cursor: pointer;
}

.subnav a {
  font-size: 16px;
  font-weight: bold;
  margin-right: 16px;
  margin-bottom: 16px;
  display: inline-block;
}
.subnav a.active {
  border-bottom: 2px solid #393D46;
}
.subnav a:hover {
  text-decoration: underline;
}

.none-found {
  clear: both;
  color: #6E6B7B;
  text-align: center;
  font-size: 20px;
  margin: 60px 0 30px;
}

.opaque-background {
  background-color: white;
}

html div.progress-bar {
  background-color: #00ff00 !important;
}

/* ===================================================
  EQUIPMENT NOT CONNECTED ICONS
  =================================================== */
.material-icons.not-connected-icon,
.material-icons-outlined.not-connected-icon {
  color: orange;
  display: none;
}

.not-connected-message {
  display: none;
}

.not-synced .not-connected-message,
.not-synced .material-icons.not-connected-icon,
.not-synced .material-icons-outlined.not-connected-icon {
  display: inline;
  cursor: default;
}

.hardware-alert {
  color: orange;
  font-size: 50%;
  vertical-align: middle;
  background-color: white;
  padding: 6px 10px;
  border-radius: 5px;
}
.hardware-alert .material-icons-outlined {
  color: orange;
  vertical-align: middle;
  margin-right: 6px;
}

.button-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.button-list button, .button-list a.button {
  padding: 11px 18px;
  border: 1px solid #aaa;
  color: #393D46;
  margin: 0 auto 12px 0;
  display: block;
  min-width: 250px;
}
.button-list button:hover, .button-list a.button:hover {
  background-color: white;
  border-color: #1F8DED;
  color: #1F8DED;
}

.user-toggle-field button {
  padding: 8.2px 18px;
  user-select: none;
  margin-right: 12px;
  margin-bottom: 16px;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;
  background-color: #e3e3e3;
  height: 40px;
  color: black;
}
.user-toggle-field button img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  margin-right: 8px;
  vertical-align: middle;
}
.user-toggle-field button.selected {
  border-color: #1F8DED;
  background-color: #ddebf8;
  color: #393D46;
}
.user-toggle-field button:hover {
  background-color: #ddebf8;
}
.user-toggle-field.filled button.selected {
  border-color: #1F8DED;
  background-color: #1F8DED;
  color: white;
  cursor: default;
}

.right-checkbox label {
  display: inline-block;
  margin-right: 12px;
}
.right-checkbox input {
  vertical-align: text-top;
}

table.list {
  font-size: 12px;
}
table.list td {
  height: 49px;
}
table.list td:first-of-type {
  padding-left: 6px;
}
table.list td:last-of-type {
  padding-right: 0;
}
table.list tr.alarm-on {
  background-color: #f4e5e5;
  border-left: 3px solid #EA5455;
}
table.list tr.alarm-on td {
  background-color: #f4e5e5;
  color: #EA5455;
}
table.list textarea {
  width: 100%;
}

.material-icons,
.material-icons-outlined {
  color: #5E5873;
  vertical-align: top;
}
.material-icons.selected,
.material-icons-outlined.selected {
  color: #1F8DED;
}
.material-icons.button,
.material-icons-outlined.button {
  fill: black;
  cursor: pointer;
}
.material-icons.button:hover,
.material-icons-outlined.button:hover {
  fill: #777;
}

.settings-button {
  cursor: pointer;
}
.settings-button:hover {
  background-color: #ddebf8;
}

table.info-table tr {
  border: 1px solid #bcbcbc;
}
table.info-table td, table.info-table th {
  padding: 4px;
}

.y-axis-label {
  cursor: pointer;
  fill: black;
  text-decoration: underline;
}
.y-axis-label:hover {
  fill: #1F8DED;
}

.gj-expand {
  cursor: pointer;
  color: #1F8DED;
}
.gj-expand:hover {
  text-decoration: underline;
}

/* LEFT AND RIGHT HALF SECTIONS */
section.left-half, section.right-half {
  float: left;
  box-sizing: border-box;
}
section.left-half {
  width: calc(54% - 16px);
  padding-right: 32px;
  border-right: 1px solid #bcbcbc;
  margin-right: 16px;
}
section.right-half {
  width: calc(46% - 16px);
  padding-left: 32px;
  margin-left: 16px;
}
section {
  /* TWO COLUMS IN TABS; NOT REALLY USED */
}
section .left-tab-column,
section .right-tab-column {
  width: 50%;
  float: left;
}
@media (max-width: 820px) {
  section .left-tab-column,
  section .right-tab-column {
    width: 100%;
    float: none;
  }
  section .right-tab-column {
    margin-top: 12px;
  }
}

/* hr16 split: left 25%, right 75% - 16px (big screens) */
section.left-half.hr16-left {
  display: none !important;
  width: 25%;
}

section.right-half.hr16-right {
  width: 100%;
  margin-left: 0 !important;
}

/* STACK ON MOBILE: right first, left below */
@media (max-width: 1049px) {
  #content-area {
    display: flex;
    flex-direction: column;
    width: 88%;
  }
  section.left-half, section.right-half, section.hr16-right {
    width: 100% !important;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  section.left-half {
    border-right: none;
  }
  section.right-half {
    margin-top: 32px;
  }
  section.hr16-right {
    order: 1;
    margin-top: 0;
  }
  section.hr16-left {
    order: 2;
    margin-top: 32px;
  }
}
@media (min-width: 1050px) {
  .zone-page #content-area {
    display: flex;
  }
}
.zone-page {
  /* STACK ON MOBILE WITH SIDEBAR OPEN! */
}
@media (max-width: 1514px) {
  .zone-page .sidebar-open #content-area {
    display: block;
  }
  .zone-page .sidebar-open section.left-half, .zone-page .sidebar-open section.right-half {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  .zone-page .sidebar-open section.left-half {
    border-right: none;
  }
  .zone-page .sidebar-open section.right-half {
    margin-top: 32px;
  }
}
@media (min-width: 1515px) {
  .zone-page #content-area {
    display: flex;
  }
}

/* PAGING ARROWS AT BOTTOM OF PAGE */
.paging {
  float: right;
  clear: both;
  height: 28px;
  margin-top: 16px;
}
.paging > button {
  padding: 0;
  font-size: 32px;
  line-height: 28px;
  display: inline-block;
  cursor: pointer;
  margin-left: 6px;
  margin-right: 6px;
  color: #393D46;
}
.paging > button:hover {
  color: #1F8DED;
}
.paging .page-range {
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
  padding-bottom: 10px;
}

/* TIME PERIOD PICKER BUTTON */
.time-period-button {
  border: 1px solid #aaa;
  border-radius: 10px;
  padding: 6px 0 6px 6px;
  cursor: pointer;
  margin-bottom: 16px;
}
.time-period-button table td {
  padding: 3px;
}
.time-period-button:hover {
  border-color: #1F8DED;
}
.time-period-button input {
  width: 100px;
}

.checkbox-list label {
  display: inline-block;
  margin-left: 8px;
  margin-bottom: 14px;
  vertical-align: text-top;
  font-size: 14px;
  color: #393D46;
  font-weight: 500;
}

.select-all {
  font-size: 12px;
  color: #1F8DED;
  text-decoration: underline;
  cursor: pointer;
  user-select: none;
  padding-left: 0;
  vertical-align: text-top;
}

/* ===================================================
  GLOBAL MARGINS 
  =================================================== */
h1,
#breadcrumb-container,
#weather-station,
#content-area,
#footer {
  margin-left: 32px;
  margin-right: 32px;
}

.tab-panel {
  padding: 24px;
}

@media (max-width: 800px) {
  h1,
  .save-page #main #save-header,
  #breadcrumb-container,
  #weather-station,
  #content-area,
  #footer {
    margin-left: 10px;
    margin-right: 10px;
  }
  .tab-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
  #main #content-area section {
    padding: 16px 10px;
    min-width: 80vw;
    /* CENTER STUFF ON MOBILE */
  }
  #main #content-area section .sensor-grid,
  #main #content-area section .controller-grid,
  #main #content-area section .location-grid-area {
    justify-content: center;
  }
  #main #content-area section .button-list button, #main #content-area section .button-list a.button {
    margin-left: auto;
    margin-right: auto;
  }
  #main #content-area section .list-wrapper {
    text-align: center;
  }
  .save-page #main #save-header {
    top: 60px;
  }
}
/* ===================================================
  REUSABLE ELEMENTS
  =================================================== */
.chart-elements-container,
.grow-journal-select-tags {
  background-color: white;
}
.chart-elements-container div,
.grow-journal-select-tags div {
  background-color: white !important;
  color: #393D46 !important;
  cursor: pointer;
}
.chart-elements-container div:hover,
.grow-journal-select-tags div:hover {
  border-color: #1F8DED;
}

.grow-journal-select-tags {
  width: 180px;
}

.grow-journal-tag,
.on-off-indicator {
  display: inline-block;
  background-color: #6e6b7b;
  color: white;
  border-radius: 10px;
  height: 21px;
  line-height: 21px;
  font-size: 12px;
  padding: 0 10px;
}
.grow-journal-tag.on,
.on-off-indicator.on {
  background-color: #1F8DED;
}

.grow-journal-tag {
  margin-top: 8px;
  margin-right: 4px;
}
.grow-journal-tag.site {
  background-color: #555;
}
.grow-journal-tag.zone {
  background-color: #888;
}
.grow-journal-tag.equipment {
  background-color: #3c6478;
}
.grow-journal-tag.sensors {
  background-color: #107896;
}
.grow-journal-tag.plants {
  background-color: #21B52D;
}
.grow-journal-tag.pests {
  background-color: #000;
}
.grow-journal-tag.nutrients {
  background-color: #da621e;
}
.grow-journal-tag.power {
  background-color: #c02f1d;
}
.grow-journal-tag.personnel {
  background-color: #bca136;
}
.grow-journal-tag.supplies {
  background-color: #43abc9;
}
.grow-journal-tag.maintenance {
  background-color: #613fb5;
}
.grow-journal-tag.documentation {
  background-color: #5ca3cc;
}
.grow-journal-tag.link4 {
  background-color: #204080;
}
.grow-journal-tag.other {
  background-color: #829356;
}

table .grow-journal-tag {
  margin-top: 2px;
  margin-bottom: 4px;
}

table .grow-journal-tag.subscription {
  margin-bottom: 0px;
}

.alarm-icon {
  background-color: #EA5455;
  display: inline-block;
  height: 17px;
  width: 17px;
  color: white;
  text-align: center;
  line-height: 17px;
  margin-left: 8px;
  margin-right: 8px;
  border-radius: 4px;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.lock-icon {
  display: inline-block;
  height: 15px;
  width: 15px;
  color: #EA5455;
  text-align: center;
  line-height: 15px;
  margin-left: 8px;
  margin-right: 8px;
  border-radius: 4px;
}

.controller-container .alarm-icon {
  position: absolute;
  top: 27px;
  right: 16px;
}

.small-alarm-icon {
  display: inline-block;
  background-color: #e3e3e3;
  border-radius: 6px;
  padding: 2px 4px;
  margin-right: 6px;
}
.small-alarm-icon .material-icons-outlined {
  font-size: 20px;
}
.small-alarm-icon.urgent-alarm {
  color: #EA5455;
  background-color: #FEECED;
}
.small-alarm-icon.urgent-alarm .material-icons-outlined {
  color: #EA5455;
}
.small-alarm-icon.resolved-alarm {
  color: #22823C;
  background-color: #71F594;
}
.small-alarm-icon.resolved-alarm .material-icons-outlined {
  color: #22823C;
}

.info-button {
  display: inline-block;
  height: 17px;
  width: 17px;
  text-align: center;
  border: 1px solid #5E5873;
  color: #5E5873;
  border-radius: 4px;
  font-size: 12px;
  line-height: 17px;
  cursor: pointer;
  user-select: none;
}
.info-button.non-auto {
  background-color: #FFEEAA;
}
.info-button.forced {
  background-color: #FFAAAA;
}
.info-button.error {
  background-color: #FF0000;
  color: #FFFFFF;
}
.info-button:hover {
  border-color: #1F8DED;
  background-color: #1F8DED;
  color: white;
}
.info-button:hover:disabled {
  border-color: #bcbcbc;
  background-color: white;
  color: #bcbcbc;
}
.info-button:disabled {
  border-color: #bcbcbc;
  cursor: default;
}

.alarm-on .info-button {
  background-color: #EA5455;
  border-color: #EA5455;
  color: white;
}
.alarm-on .info-button:disabled:hover {
  border-color: #EA5455;
  background-color: #EA5455;
  color: white;
}

.flip {
  transform: scaleX(-1);
  padding: 0;
}

.tabs .tab-controls {
  float: right;
  margin-bottom: -1px;
  border-right: 1px solid #bcbcbc;
}
.tabs .tab-controls .tab {
  float: left;
  font-size: 14px;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border-radius: 0;
  border-top: 1px solid #bcbcbc;
  border-left: 1px solid #bcbcbc;
  background-color: #eeeeee;
  border-bottom: 1px solid #bcbcbc;
  color: #6E6B7B;
  cursor: pointer;
  user-select: none;
}
@media (max-width: 400px) {
  .tabs .tab-controls .tab {
    padding: 0 10px;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
  }
}
.tabs .tab-controls .tab.selected {
  background-color: white;
  border-bottom-color: white;
  cursor: default;
}
.tabs .tab-panels .tab-panel {
  clear: both;
  border: 1px solid #bcbcbc;
  display: none;
}
.tabs .tab-panels .tab-panel.selected {
  display: block;
  overflow-x: auto;
}
.tabs .tab-panels .tab-panel h2 {
  margin: 0 0 32px;
}
.tabs .tab-panels .tab-panel h3 {
  margin: 24px 0 6px;
}
.tabs .tab-panels .tab-panel .title {
  font-size: 12px;
  color: #6E6B7B;
}

/* ===================================================
  MAIN HEADER
  =================================================== */
@media (max-width: 600px) {
  .header-Ricon {
    display: none !important;
  }
}
header#main-header {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  height: 80px;
  border-bottom: 1px solid #bcbcbc;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  background-color: white;
  z-index: 10;
}
@media (max-width: 1000px) {
  header#main-header {
    height: 60px;
  }
}
header#main-header #main-logo {
  float: left;
  display: flex;
  align-items: center;
  width: 80px;
  height: 80px;
  border-right: 1px solid #bcbcbc;
  justify-content: center;
}
@media (max-width: 1000px) {
  header#main-header #main-logo {
    height: 60px;
  }
}
header#main-header #main-logo img {
  height: 30px;
}
@media (max-width: 1000px) {
  header#main-header #main-logo #version-info {
    display: none !important;
  }
}
header#main-header #mobile-menu-button-container {
  float: left;
  align-items: center;
  height: 80px;
  margin-left: 20px;
  display: none;
}
@media (max-width: 1000px) {
  header#main-header #mobile-menu-button-container {
    height: 60px;
  }
}
header#main-header #mobile-menu-button-container #mobile-menu-button {
  display: block;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  box-sizing: border-box;
  padding: 9px 6px;
  cursor: pointer;
  user-select: none;
  background-color: white;
}
header#main-header #mobile-menu-button-container #mobile-menu-button span {
  display: block;
  background: #393D46;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  transform-origin: center;
  transition: 0.3s ease;
}
header#main-header #mobile-menu-button-container #mobile-menu-button span:nth-child(2) {
  margin: 4px 0;
}
header#main-header nav#main-nav {
  float: left;
  font-weight: bold;
  color: #5E5873;
  margin-left: 20px;
}
header#main-header nav#main-nav a, header#main-header nav#main-nav span {
  float: left;
  display: block;
  margin: 0 20px;
  height: 80px;
  line-height: 80px;
  cursor: pointer;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  header#main-header nav#main-nav a, header#main-header nav#main-nav span {
    height: 60px;
    line-height: 60px;
  }
}
header#main-header nav#main-nav a:hover, header#main-header nav#main-nav span:hover {
  text-decoration-line: underline;
}
header#main-header nav#main-nav a.current-menu-item, header#main-header nav#main-nav span.current-menu-item {
  border-bottom: 2px solid #393D46;
}
@media (min-width: 1300px) {
  header#main-header .sub-icon {
    display: none;
  }
}
@media (max-width: 1300px) {
  header#main-header .sub-section {
    display: none;
  }
}
header#main-header {
  /* MOBILE DROPDOWN MENU */
}
@media (max-width: 1000px) {
  header#main-header #mobile-menu-button-container {
    display: flex;
  }
  header#main-header nav#main-nav {
    position: absolute;
    left: -200px;
    top: 60px;
    background-color: white;
    margin-left: 0;
    border: 2px solid #bcbcbc;
    border-left: none;
    border-top: none;
    width: 200px;
    transition: left 0.4s;
    z-index: 2;
  }
  header#main-header nav#main-nav.mobile-menu-triggered {
    display: block;
    left: 0px;
  }
  header#main-header nav#main-nav a {
    float: none;
    height: auto;
    line-height: normal;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
}
header#main-header #header-notifications {
  float: right;
  align-items: center;
  display: flex;
}
header#main-header #header-notifications #header-alarm {
  position: relative;
  margin: 0 20px;
  cursor: pointer;
}
header#main-header #header-notifications #header-alarm #header-alarm-icon {
  background-color: #5E5873;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  text-align: center;
  color: white;
}
header#main-header #header-notifications #header-alarm #header-alarm-icon:hover {
  background-color: #777;
  border-radius: 7px;
}
header#main-header #header-notifications #header-alarm #header-info-icon {
  background-color: #5E5873;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  text-align: center;
  color: white;
}
header#main-header #header-notifications #header-alarm #header-info-icon:hover {
  filter: brightness(120%);
}
header#main-header #header-notifications #header-alarm #header-notify-icon {
  background-color: #5E5873;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  text-align: center;
  color: white;
}
header#main-header #header-notifications #header-alarm #header-notify-icon:hover {
  background-color: #777;
  border-radius: 7px;
}
header#main-header #header-notifications #header-alarm #header-sites-icon {
  background-color: #5E5873;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  text-align: center;
  color: white;
}
header#main-header #header-notifications #header-alarm #header-sites-icon:hover {
  background-color: #777;
  border-radius: 7px;
}
header#main-header #header-notifications #header-alarm #alarm-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #5E5873;
  width: 19px;
  height: 19px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  position: absolute;
  top: -13px;
  right: -13px;
  font-size: 12px;
}
header#main-header #header-notifications #header-alarm.alarm-on #header-alarm-icon,
header#main-header #header-notifications #header-alarm.alarm-on #alarm-number {
  background-color: #EA5455;
}
header#main-header #header-notifications #header-alarm.alarm-on #header-alarm-icon:hover,
header#main-header #header-notifications #header-alarm.alarm-on #alarm-number:hover {
  background-color: #ec6a6a;
}
header#main-header #header-notifications #header-settings-icon {
  width: 22px;
  margin: 0 20px;
  font-size: 30px;
  color: #5E5873;
  cursor: pointer;
  float: right;
}
header#main-header #header-notifications #header-settings-icon:hover {
  color: #777;
}
header#main-header #header-notifications #user-name {
  color: #393D46;
  margin-left: 20px;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 1000px) {
  header#main-header #header-notifications #user-name {
    display: none;
  }
}
header#main-header #header-notifications #header-portrait {
  height: 80px;
  display: flex;
  align-items: center;
  margin: 0 20px;
  cursor: pointer;
  background-color: transparent;
}
header#main-header #header-notifications #header-portrait img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 16px;
}
@media (max-width: 1000px) {
  header#main-header #header-notifications #header-portrait {
    height: 60px;
  }
  header#main-header #header-notifications #header-portrait img {
    height: 40px;
    width: 40px;
  }
}
header#main-header #header-notifications #header-portrait:hover {
  filter: brightness(120%);
}
@media (max-width: 650px) {
  header#main-header #header-notifications #header-alarm,
  header#main-header #header-notifications #header-settings-icon,
  header#main-header #header-notifications #header-portrait {
    margin: 0 10px;
  }
}

/* ===================================================
  SAVE HEADER
  =================================================== */
#save-header {
  display: none;
}

.save-page {
  /*
  header#main-header {
    position: static;
  }
  */
}
.save-page .save-button-spacer {
  float: right;
  width: 1px;
  height: 12px;
}
.save-page #save-header {
  display: block;
  box-sizing: border-box;
  position: sticky;
  top: 90px;
  left: 0;
  padding: 8px;
  background-color: white;
  height: 51px;
  overflow-y: visible;
  z-index: 3;
  border-radius: 10px;
  margin-right: 32px;
  margin-bottom: 12px;
  float: right;
  margin-top: -60px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
}
.save-page #save-header .float-right-box {
  float: right;
  display: block;
}
.save-page #save-header .float-right-box button {
  margin-left: 8px;
}
.save-page #save-header #error-notification-slideout,
.save-page #save-header #save-notification-slideout {
  position: absolute;
  bottom: -41px;
  right: 0;
  height: 40px;
  width: 0px;
  line-height: 40px;
  background-color: #E9F3FD;
  color: #1F8DED;
  z-index: 20;
  overflow: hidden;
  font-weight: 600;
  transition: width 0.5s;
}
.save-page #save-header #error-notification-slideout.open,
.save-page #save-header #save-notification-slideout.open {
  width: 180px;
  border: 1px solid #1F8DED;
}
.save-page #save-header #error-notification-slideout {
  background-color: #FEECED;
  color: #EA5455;
}
.save-page #save-header #error-notification-slideout.open {
  border-color: #EA5455;
}
.save-page #save-header .save-cancel-box {
  /* CANCEL BUTTON */
}
.save-page #save-header .save-cancel-box button:first-of-type {
  margin-left: 0;
  color: #393D46;
}
.save-page #page-container {
  margin-top: 0;
}

/* FOR ADD AND TRASH ICONS AFTER SELECTOR */
.after-selector {
  vertical-align: bottom !important;
  margin-bottom: 19px;
  /*
  &.trash {
    margin-bottom: 25px;
  }
  */
}

/* ===================================================
  CONTENT AFTER TITLE
  =================================================== */
#page-container {
  display: flex;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  transition: 0.5s;
  clear: both;
}
#page-container.sidebar-open {
  max-width: 1636px;
}

/* ===================================================
  FULL WIDTH PAGES
  =================================================== */
.fullwidth #page-container {
  max-width: none;
}
.fullwidth #page-container.sidebar-open {
  max-width: none;
}

/* ===================================================
  BREADCRUMBS
  =================================================== */
@media (max-width: 600px) {
  #breadcrumb-container {
    flex-wrap: nowrap !important;
  }
  #breadcrumb-container a:not(:has(.home-icon)) {
    text-decoration: underline;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
#breadcrumb-container {
  padding: 10px 0;
  text-align: left;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#breadcrumb-container a, #breadcrumb-container span {
  margin-right: 10px;
}
#breadcrumb-container a {
  cursor: pointer;
}
#breadcrumb-container a:hover {
  text-decoration-line: underline;
}
#breadcrumb-container .back-arrow {
  font-size: 30px;
  font-weight: bold;
  color: #393D46;
  padding-left: 0;
  margin-right: 12px;
  background-color: transparent;
}
@media (max-width: 680px) {
  #breadcrumb-container {
    font-size: 17px;
  }
}

/* ===================================================
  WEATHER STATION
  ==================================================== */
#weather-station {
  border-radius: 10px;
  font-size: 16px;
  overflow-x: auto;
  background-color: white;
  clear: both;
  margin-top: 0px;
  margin-bottom: 20px;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
}
#weather-station .inner {
  display: flex;
  flex-wrap: wrap;
}
#weather-station .inner > span {
  display: block;
  text-align: left;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 16px;
  padding-left: 10px;
  padding-right: 22px;
}
#weather-station .inner > span .ws-title {
  font-size: 14px;
  color: #6E6B7B;
}
#weather-station .inner > span .ws-small-icon {
  color: #1F8DED;
  font-size: 20px;
  margin-right: 3px;
}
#weather-station .inner > span#ws-icons {
  display: none;
}
#weather-station .inner > span#ws-icons #snow-icon,
#weather-station .inner > span#ws-icons #rain-icon {
  display: none;
  padding-right: 10px;
}
#weather-station .inner > span#ws-icons.rain, #weather-station .inner > span#ws-icons.snow {
  display: flex;
  justify-content: space-around;
}
#weather-station .inner > span#ws-icons.rain #rain-icon {
  display: block;
}
#weather-station .inner > span#ws-icons.snow #snow-icon {
  display: block;
}
#weather-station .inner > span#ws-icons img {
  height: 48px;
  width: 48px;
}

/* ===================================================
  CONTENT SECTIONS
  ==================================================== */
section.link4 {
  padding: 32px;
  border-radius: 10px;
  margin-bottom: 32px;
  background-color: white;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
}

section.no-section {
  padding: 0 !important;
  box-shadow: none;
  background-color: transparent;
  margin-bottom: 0;
}
section .section-header {
  margin-bottom: 16px;
  min-height: 40px;
}
section .tab-header {
  margin-bottom: 32px;
}
section .section-header, section .tab-header {
  line-height: 40px;
}
section .section-header h2, section .tab-header h2 {
  margin-top: 0;
  display: inline-block;
  line-height: 40px;
}
section .section-header .date, section .section-header .title, section .tab-header .date, section .tab-header .title {
  float: left;
  line-height: 40px;
  font-size: 16px;
  font-weight: 500;
}
section .section-controls,
section .tab-header-controls {
  float: right;
}
section .section-controls a,
section .tab-header-controls a,
section .section-controls div,
section .tab-header-controls div,
section button.material-icons,
section button.download {
  margin-left: 10px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}
section .section-controls a.list-button, section .section-controls a.grid-button, section .section-controls a.phys-button,
section .tab-header-controls a.list-button,
section .tab-header-controls a.grid-button,
section .tab-header-controls a.phys-button,
section .section-controls div.list-button,
section .section-controls div.grid-button,
section .section-controls div.phys-button,
section .tab-header-controls div.list-button,
section .tab-header-controls div.grid-button,
section .tab-header-controls div.phys-button,
section button.material-icons.list-button,
section button.material-icons.grid-button,
section button.material-icons.phys-button,
section button.download.list-button,
section button.download.grid-button,
section button.download.phys-button {
  font-size: 30px;
  width: 40px;
  border-radius: 10px;
  background-color: #e3e3e3;
}
section .section-controls a.settings-button,
section .tab-header-controls a.settings-button,
section .section-controls div.settings-button,
section .tab-header-controls div.settings-button,
section button.material-icons.settings-button,
section button.download.settings-button {
  font-size: 24px;
  margin-left: 20px;
  min-width: 40px;
  background-color: #e3e3e3;
  border-radius: 10px;
}
section .section-controls a.add,
section .tab-header-controls a.add,
section .section-controls div.add,
section .tab-header-controls div.add,
section button.material-icons.add,
section button.download.add {
  float: left;
  min-width: 40px;
  background-color: #e3e3e3;
  border-radius: 10px;
}
section .section-controls a.download,
section .tab-header-controls a.download,
section .section-controls div.download,
section .tab-header-controls div.download,
section button.material-icons.download,
section button.download.download {
  font-size: 32px;
  margin-left: 16px;
  min-width: 40px;
  background-color: #e3e3e3;
  border-radius: 10px;
}
section .section-controls a.quick-charts,
section .tab-header-controls a.quick-charts,
section .section-controls div.quick-charts,
section .tab-header-controls div.quick-charts,
section button.material-icons.quick-charts,
section button.download.quick-charts {
  font-size: 12px;
  color: #1F8DED;
  float: left;
}
section .section-controls a.quick-charts .material-icons-outlined,
section .tab-header-controls a.quick-charts .material-icons-outlined,
section .section-controls div.quick-charts .material-icons-outlined,
section .tab-header-controls div.quick-charts .material-icons-outlined,
section button.material-icons.quick-charts .material-icons-outlined,
section button.download.quick-charts .material-icons-outlined {
  color: #1F8DED;
  font-size: 24px;
  line-height: 40px;
}
section .section-controls a.quick-charts span,
section .tab-header-controls a.quick-charts span,
section .section-controls div.quick-charts span,
section .tab-header-controls div.quick-charts span,
section button.material-icons.quick-charts span,
section button.download.quick-charts span {
  float: left;
}
section .section-controls a.quick-charts:hover,
section .tab-header-controls a.quick-charts:hover,
section .section-controls div.quick-charts:hover,
section .tab-header-controls div.quick-charts:hover,
section button.material-icons.quick-charts:hover,
section button.download.quick-charts:hover {
  background-color: #ddebf8;
  color: black;
}
section .section-controls a.quick-charts:hover .material-icons-outlined,
section .tab-header-controls a.quick-charts:hover .material-icons-outlined,
section .section-controls div.quick-charts:hover .material-icons-outlined,
section .tab-header-controls div.quick-charts:hover .material-icons-outlined,
section button.material-icons.quick-charts:hover .material-icons-outlined,
section button.download.quick-charts:hover .material-icons-outlined {
  color: black;
}
section .section-controls a:hover,
section .tab-header-controls a:hover,
section .section-controls div:hover,
section .tab-header-controls div:hover,
section button.material-icons:hover,
section button.download:hover {
  background-color: #ddebf8;
}
section .section-controls a.selected,
section .tab-header-controls a.selected,
section .section-controls div.selected,
section .tab-header-controls div.selected,
section button.material-icons.selected,
section button.download.selected {
  background-color: #1F8DED;
  color: white;
  cursor: default;
}
section .date-small,
section .info-popover {
  display: inline-block;
}
section .date-large {
  display: inline-block;
}
section .infoicon-hide {
  display: none;
}
@media (max-width: 600px) {
  section .home-icon {
    margin-right: none;
  }
  section .button-css {
    font-size: 24px;
    margin-left: 10px;
    background-color: #e3e3e3;
    border-radius: 10px;
    padding: 6px;
    color: #1F8DED;
  }
  section .button-css {
    cursor: pointer;
  }
  section .button-css:hover {
    background-color: #ddebf8;
  }
  section .settings-button {
    color: #5E5873;
  }
  section .section-header .date {
    float: none;
  }
  section .date-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
  }
  section .infoicon-hide {
    display: inline-block;
  }
  section .date-small {
    display: inline-block;
  }
  section .info-popover {
    display: inline-block;
    margin-top: 9px;
    margin-left: 4px;
    font-size: 20px;
  }
  section .date-large {
    display: inline-block;
  }
}
section {
  /* ===================================================
    SITE GRID
    ==================================================== */
}
section .location-grid-area {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin-left: -14px;
  width: calc(100% + 28px);
}
section .location-grid-area .location-box-container {
  position: relative;
}
section .location-grid-area .location-box-container .create-grow-journal-entry {
  position: absolute;
  display: none;
  right: 6px;
  bottom: 6px;
  background-color: white;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  color: #1F8DED;
}
section .location-grid-area .location-box-container .not-connected-icon {
  position: absolute;
  right: 6px;
  top: 6px;
  background-color: white;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
}
@media (max-width: 400px) {
  section .location-grid-area {
    margin-left: 0px;
    width: 100%;
  }
}
section .location-grid-area .location-box {
  display: block;
  width: 300px;
  height: 300px;
  border: 1px solid #bcbcbc;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin: 14px;
  box-sizing: border-box;
  cursor: pointer;
  background-color: white;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
}
@media (max-width: 400px) {
  section .location-grid-area .location-box {
    margin: 14px auto;
  }
}
section .location-grid-area .location-box:hover {
  border-color: #1F8DED;
  box-shadow: 0 0 0 1px #1F8DED;
}
section .location-grid-area .location-box.alarm-on {
  border-color: #EA5455;
}
section .location-grid-area .location-box.alarm-on:hover {
  border-color: #EA5455;
  box-shadow: 0 0 0 1px #EA5455;
}
section .location-grid-area .location-box h2 {
  margin: 10px 16px;
  font-size: 22px;
  max-width: calc(100% - 40px);
  color: #393D46;
}
section .location-grid-area .location-box img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
section .location-grid-area .location-box table tr:nth-child(odd) {
  background-color: transparent;
}
section .location-grid-area .location-box table th {
  padding-left: 16px;
}
section .location-grid-area .location-box table td {
  text-align: right;
  padding-right: 16px;
}
section .location-grid-area .location-box table td, section .location-grid-area .location-box table th {
  height: 25px;
}
section .location-grid-area .location-box table tr.alarm-on {
  background-color: #f4e5e5;
}
section {
  /* ===================================================
    CONTROLLER LIST
    ==================================================== */
}
section .controller-list {
  overflow-x: auto;
}
section .controller-list table {
  margin-bottom: 9px;
  padding: 5px;
  border-collapse: separate;
  border-spacing: 0 10px;
}
section .controller-list table tr:hover {
  outline: thin solid #1F8DED;
  cursor: pointer;
}
section .controller-list table tr.alarm-on {
  border-color: #EA5455;
  outline: thin solid #EA5455;
}
section .controller-list table tr.alarm-on:hover {
  outline: solid #EA5455;
  cursor: pointer;
}
section .controller-list table tr {
  background-color: white;
  background: white;
  border-radius: 6px;
}
section .controller-list table td:first-child {
  border-radius: 10px 0 0 10px;
}
section .controller-list table td:last-child {
  border-radius: 0 10px 10px 0;
}
section .controller-list table th {
  font-weight: normal;
}
section .controller-list table a.name {
  font-size: 16px;
  width: 100%;
  display: block;
}
@media (max-width: 820px) {
  section .controller-list table a.name {
    font-size: 12px;
  }
}
section .controller-list table div.name {
  display: inline-flex;
}
section .controller-list table .alarm-icon {
  margin: 3px 3px 0;
}
section .controller-list table {
  min-width: 1000px;
}
section {
  /* ===================================================
    SITE LIST
    ==================================================== */
}
section .location-list {
  overflow-x: auto;
}
section .location-list table {
  min-width: 620px;
  margin-bottom: 9px;
  padding: 5px;
  border-collapse: separate;
  border-spacing: 0 10px;
}
section .location-list table .not-connected-icon {
  vertical-align: middle;
}
section .location-list tr:hover {
  outline: thin solid #1F8DED;
  cursor: pointer;
}
section .location-list tr.alarm-on {
  border-color: #EA5455;
  outline: thin solid #EA5455;
}
section .location-list tr.alarm-on:hover {
  outline: solid #EA5455;
  cursor: pointer;
}
section .location-list tr {
  background-color: white;
  background: white;
  border-radius: 6px;
}
section .location-list a.name {
  font-size: 16px;
  width: 100%;
  display: block;
}
@media (max-width: 820px) {
  section .location-list a.name {
    font-size: 12px;
  }
}
section .location-list .alarm-icon {
  margin: 3px 3px 0;
}
section .location-list tr:first-child {
  background: none !important;
  border-radius: 0px;
}
section .location-list tr:first-child:hover {
  outline: none;
  cursor: default;
}
section .location-list td:first-child {
  border-radius: 10px 0 0 10px;
}
section .location-list td:last-child {
  border-radius: 0 10px 10px 0;
}
section {
  /* ===================================================
    CONTROLLER GRID
    ==================================================== */
}
section .controller-grid {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin-left: -16px;
  width: calc(100% + 32px);
}
@media (max-width: 400px) {
  section .controller-grid {
    margin-left: 0;
    width: 100%;
  }
  section .controller-grid .controller-container .controller-wrapper {
    margin: 14px auto;
  }
}
section .controller-grid .controller-container {
  position: relative;
}
section .controller-grid .controller-container .not-connected-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: white;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
}
section .controller-grid .controller-container .create-grow-journal-entry {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background-color: white;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  color: #1F8DED;
}
section .controller-grid .controller-container .controller-wrapper {
  display: block;
  border: 1px solid #bcbcbc;
  border-radius: 6px;
  overflow: hidden;
  margin: 16px;
  padding-bottom: 6px;
  cursor: pointer;
  font-size: 12px;
  background-color: white;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
}
section .controller-grid .controller-container .controller-wrapper:hover {
  border-color: #1F8DED;
  box-shadow: 0 0 0 1px #1F8DED;
}
section .controller-grid .controller-container .controller-wrapper.alarm-on {
  border-color: #EA5455;
}
section .controller-grid .controller-container .controller-wrapper.alarm-on:hover {
  box-shadow: 0 0 0 1px #EA5455;
}
section .controller-grid .controller-container .controller-wrapper table {
  width: 240px;
  line-height: 15px;
  padding: 8px 16px;
  border-collapse: collapse;
}
section .controller-grid .controller-container .controller-wrapper table h2 {
  font-size: 16px;
  line-height: 19px;
  margin: 10px 0 5px;
  text-align: left;
  display: inline-block;
  width: calc(100% - 22px);
  height: 38px;
  overflow: hidden;
}
section .controller-grid .controller-container .controller-wrapper table th {
  padding-left: 16px;
}
section .controller-grid .controller-container .controller-wrapper table tr:nth-child(even) {
  background-color: transparent;
}
section .controller-grid .controller-container .controller-wrapper table tr {
  height: 25px;
}
section .controller-grid .controller-container .controller-wrapper table tr.alarm-on {
  background-color: #f4e5e5;
}
section .controller-grid .controller-container .controller-wrapper table td {
  text-align: right;
  padding-right: 16px;
  font-size: 12px;
}
section {
  /* ===================================================
    EQUIPMENT LIST
    ==================================================== */
}
section .two-column-equipment-list table,
section .equipment-list table {
  max-width: 500px;
}
section .two-column-equipment-list table th,
section .equipment-list table th {
  font-weight: normal;
}
section .two-column-equipment-list table td,
section .equipment-list table td {
  font-size: 14px;
}
section .two-column-equipment-list table a.name,
section .equipment-list table a.name {
  width: 10ch;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 768px) {
  section .two-column-equipment-list table a.name,
  section .equipment-list table a.name {
    width: 15ch;
  }
}
section .two-column-equipment-list table a.name:hover,
section .equipment-list table a.name:hover {
  overflow: visible;
  white-space: normal;
  word-break: break-all;
}
section .two-column-equipment-list table tr.show-details,
section .equipment-list table tr.show-details {
  border-bottom-color: white;
}
section .two-column-equipment-list table tr.show-details + tr,
section .equipment-list table tr.show-details + tr {
  display: table-row;
}
section .two-column-equipment-list table tr.equip-hidden-info,
section .equipment-list table tr.equip-hidden-info {
  display: none;
}
section .two-column-equipment-list table tr.equip-hidden-info td,
section .equipment-list table tr.equip-hidden-info td {
  height: 19px;
}
section .two-column-equipment-list table tr.equip-hidden-info td span,
section .equipment-list table tr.equip-hidden-info td span {
  display: inline-block;
  margin: 0 18px 16px 16px;
}
section .two-column-equipment-list table th:nth-of-type(3),
section .two-column-equipment-list table td:nth-of-type(3),
section .equipment-list table th:nth-of-type(3),
section .equipment-list table td:nth-of-type(3) {
  text-align: right;
}
section .two-column-equipment-list .left-column, section .two-column-equipment-list .right-column {
  width: 50%;
  float: left;
  box-sizing: border-box;
}
section .two-column-equipment-list .left-column {
  padding-right: 20px;
  border-right: 1px solid #bcbcbc;
}
section .two-column-equipment-list .right-column {
  padding-left: 20px;
}
@media (max-width: 860px) {
  section .two-column-equipment-list .left-column, section .two-column-equipment-list .right-column {
    width: 100%;
    float: none;
    padding: 0 !important;
    border-right: none;
  }
  section .two-column-equipment-list .right-column tr:first-child {
    display: none;
  }
}
@media (min-width: 1000px) {
  section .equipment-list.hr16 table.list {
    margin-top: 20px;
    width: 98% !important;
    table-layout: auto;
  }
}
section .equipment-list.hr16 table {
  max-width: none;
}
section .equipment-list.hr16 table.list {
  margin-top: 20px;
  width: auto;
  table-layout: auto;
}
section .equipment-list.hr16 table.list th,
section .equipment-list.hr16 table.list td {
  vertical-align: middle;
  padding-right: 8px;
}
section .equipment-list.hr16 table.list th:nth-child(1),
section .equipment-list.hr16 table.list td:nth-child(1) {
  text-align: left;
  width: 1%;
  white-space: nowrap;
  padding-right: 12px;
}
section .equipment-list.hr16 table.list th:nth-child(2),
section .equipment-list.hr16 table.list td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
  padding-right: 10px;
}
section .equipment-list.hr16 table.list th:nth-child(3),
section .equipment-list.hr16 table.list td:nth-child(3) {
  width: 9%;
  text-align: left;
  padding-left: 4px;
  padding-right: 4px;
}
section .equipment-list.hr16 table.list th:nth-child(4),
section .equipment-list.hr16 table.list td:nth-child(4) {
  width: 1%;
  white-space: nowrap;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}
section .equipment-rows {
  max-width: 500px;
}
section .equipment-rows .eq-row-header {
  display: flex;
  align-items: center;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: normal;
  border-bottom: 1px solid #bcbcbc;
}
section .equipment-rows .eq-row {
  display: flex;
  align-items: center;
  padding: 8px 6px;
  min-height: 49px;
  box-sizing: border-box;
  border-bottom: 1px solid #bcbcbc;
  font-size: 14px;
}
section .equipment-rows .eq-row.alarm-on {
  background-color: #f4e5e5;
  border-left: 3px solid #EA5455;
  color: #EA5455;
}
section .equipment-rows .eq-col-name {
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}
section .equipment-rows .eq-col-name a.name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
section .equipment-rows .eq-col-name a.name:hover {
  overflow: visible;
  white-space: normal;
  word-break: break-all;
}
section .equipment-rows .eq-col-status {
  white-space: nowrap;
  padding-right: 10px;
  flex-shrink: 0;
}
section .equipment-rows .eq-col-info {
  flex-shrink: 0;
  text-align: right;
}
section .equipment-rows .eq-info-tip-wrap {
  position: relative;
  display: inline-block;
}
section .equipment-rows .eq-info-tip-wrap .eq-info-tooltip {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  background: #393D46;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 10;
  pointer-events: none;
}
section .equipment-rows .eq-info-tip-wrap .eq-info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 6px;
  border: 5px solid transparent;
  border-top-color: #393D46;
}
section .equipment-rows .eq-info-tip-wrap:hover .eq-info-tooltip, section .equipment-rows .eq-info-tip-wrap:focus-within .eq-info-tooltip {
  display: block;
}
section .equipment-rows.hr16 {
  max-width: none;
  container-type: inline-size;
}
section .equipment-rows.hr16 .eq-row-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 0.1fr));
}
section .equipment-rows.hr16 .eq-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 0.1fr));
  min-height: auto;
}
section .equipment-rows.hr16 .eq-col-name {
  flex: 0 0 auto;
  white-space: nowrap;
}
section .equipment-rows.hr16 .eq-col-status {
  flex: 0 0 auto;
}
section .equipment-rows.hr16 .eq-col-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}
@container (max-width: 700px) {
  section .equipment-rows.hr16 .eq-row-header {
    display: none;
  }
  section .equipment-rows.hr16 .eq-row {
    display: flex;
    display: flex;
    flex-wrap: wrap;
  }
  section .equipment-rows.hr16 .eq-row .eq-col-name {
    width: 100%;
    flex: 1 0 100%;
    padding-bottom: 4px;
    padding-right: 0;
  }
  section .equipment-rows.hr16 .eq-row .eq-col-name a.name {
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  section .equipment-rows.hr16 .eq-row .eq-col-status {
    flex: 0 0 auto;
  }
  section .equipment-rows.hr16 .eq-row .eq-col-info {
    flex: 1;
    text-align: left;
    min-width: 0;
  }
  section .equipment-rows.hr16 .equipment-rows.hr16 .eq-row {
    min-height: auto;
    flex-wrap: wrap;
  }
}
section {
  /* ===================================================
    SENSOR GRID
    ==================================================== */
}
section .sensor-grid {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin-left: -12px;
  width: calc(100% + 24px);
}
section .sensor-grid .sensor-box {
  position: relative;
  width: 180px;
  height: 180px;
  border: 1px solid #bcbcbc;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  margin: 12px;
  cursor: pointer;
}
section .sensor-grid .sensor-box .name {
  width: calc(100% - 30px);
  margin: 8px 15px 0;
  overflow: hidden;
}
section .sensor-grid .sensor-box .gauge {
  width: 100%;
  height: auto;
}
section .sensor-grid .sensor-box .stage {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  line-height: 17px;
  padding: 1px 6px;
  border-radius: 8px;
}
section .sensor-grid .sensor-box .stage.heat {
  color: #EA5455;
  background-color: #FEECED;
}
section .sensor-grid .sensor-box .stage.cool {
  color: #1F8DED;
  background-color: #E9F3FD;
}
section .sensor-grid .sensor-box .low-alarm,
section .sensor-grid .sensor-box .high-alarm {
  display: none;
  position: absolute;
  bottom: 10px;
  margin: 0;
}
section .sensor-grid .sensor-box .low-alarm {
  left: 10px;
}
section .sensor-grid .sensor-box .high-alarm {
  right: 10px;
}
section .sensor-grid .sensor-box.low-alarm-on {
  border-color: #EA5455;
  background-color: #f4e5e5;
}
section .sensor-grid .sensor-box.low-alarm-on .low-alarm {
  display: block;
}
section .sensor-grid .sensor-box.low-alarm-on:hover {
  border-color: #EA5455;
  box-shadow: 0 0 0 1px #EA5455;
}
section .sensor-grid .sensor-box.high-alarm-on {
  border-color: #EA5455;
  background-color: #f4e5e5;
}
section .sensor-grid .sensor-box.high-alarm-on .high-alarm {
  display: block;
}
section .sensor-grid .sensor-box.high-alarm-on:hover {
  border-color: #EA5455;
  box-shadow: 0 0 0 1px #EA5455;
}
section .sensor-grid .sensor-box:hover {
  border-color: #1F8DED;
  box-shadow: 0 0 0 1px #1F8DED;
}
@media (max-width: 600px) {
  section .sensor-grid .sensor-box {
    border-radius: 22px;
    border: 2px solid #bcbcbc;
  }
}
section {
  /* ===================================================
    REPORTS AND GRAPHS
  =================================================== */
}
section .reports-and-graphs table.list {
  overflow-x: auto;
}
section .reports-and-graphs table.list td a.name {
  font-size: 16px;
  width: 100%;
  display: block;
}
@media (max-width: 1000px) {
  section .reports-and-graphs table.list td a.name {
    font-size: 12px;
    font-weight: 600;
  }
}
section .reports-and-graphs table.list td a.name:hover {
  text-decoration: underline;
}
section .reports-and-graphs table.list.reports, section .reports-and-graphs table.list.schedules, section .reports-and-graphs table.list.graphs {
  max-width: 1000px;
  min-width: 650px;
}
section .reports-and-graphs table.list.report {
  min-width: 968px;
  max-width: 1800px;
}
section .reports-and-graphs table.list {
  /*
  @media (max-width: 500px)  {
    &.reports tr {
      th:nth-of-type(4),
      td:nth-of-type(4),
      th:nth-of-type(3),
      td:nth-of-type(3) {
        display: none;
      }
    }
  }
  @media (max-width: 600px)  {
    &.schedules tr {
      th:nth-of-type(4),
      td:nth-of-type(4),
      th:nth-of-type(3),
      td:nth-of-type(3) {
        display: none;
      }
    }
  }
  @media (max-width: 720px)  {
    &.graphs tr {
      th:nth-of-type(6),
      td:nth-of-type(6),
      th:nth-of-type(5),
      td:nth-of-type(5) {
        display: none;
      }
    }
  }
  */
}
section .reports-and-graphs .float-right-box label {
  font-size: 14px;
}
section .reports-and-graphs .float-right-box button {
  margin-left: 0;
}
section .reports-and-graphs .float-left-box {
  margin-bottom: 32px;
}
section .time-period-container button.icon .material-icons {
  color: #5E5873;
}
section #edit-report details {
  max-width: 1300px;
  margin-left: 0;
}
section {
  /* DATE RANGE PICKER */
}
section .rdrDateRangePickerWrapper {
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.16);
  background-color: white;
}
section .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper {
  background-color: transparent !important;
  border-color: #bcbcbc !important;
}
section .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper button.rdrStaticRange {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #393D46;
}
section .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper button.rdrStaticRange:hover .rdrStaticRangeLabel, section .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper button.rdrStaticRange:focus .rdrStaticRangeLabel {
  background-color: white !important;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper {
  background-color: transparent !important;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrDateDisplayWrapper {
  background-color: #EFF2F7;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrDateDisplayWrapper .rdrDateDisplayItem {
  background-color: white;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrDateDisplayWrapper .rdrDateDisplayItem input {
  color: #393D46;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonthAndYearWrapper .rdrNextPrevButton {
  background-color: #EFF2F7;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonthAndYearWrapper .rdrPprevButton i {
  border-right-color: #393D46;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonthAndYearWrapper .rdrNextButton i {
  border-left-color: #393D46;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonthAndYearWrapper select {
  color: #393D46;
  background-color: #EFF2F7;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrDayNumber span {
  color: #393D46;
}
section .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrDayPassive .rdrDayNumber span {
  color: #bcbcbc;
}
section {
  /* ===================================================
    GRAPH PAGE
  =================================================== */
}
section .time-period-container {
  float: left;
  margin-right: 16px;
  margin-bottom: 1em;
}
section .time-period-container button.icon {
  color: #393D46;
  border-color: #aaa;
}
section .time-period-container button.icon:hover {
  border-color: #1F8DED;
}
section .chart-elements-container {
  float: left;
  margin-right: 16px;
}
section .chart-elements-container div:nth-of-type(2) {
  cursor: pointer;
}
section .chart-elements-container div:nth-of-type(2) div {
  cursor: pointer !important;
}
section .chart-elements-container:hover {
  border-color: #1F8DED;
}
section .data-markers-box {
  margin-top: 35px;
  margin-bottom: 0 !important;
}
@media (max-width: 700px) {
  section .chart-elements-container,
  section .data-markers-box {
    clear: both;
  }
  section .data-markers-box {
    margin-top: 20px;
  }
}
section #main-graph {
  width: 100%;
  margin-top: 32px;
  margin-bottom: 1px;
  height: 40vw;
  max-height: 400px;
  min-height: 150px;
}
section #guide-graph {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 32px;
  height: 10vw;
  max-height: 100px;
  min-height: 70px;
}
section .float-left-box {
  float: left;
  margin-right: 13px;
}
section .float-right-box {
  float: right;
  box-sizing: border-box;
}
section .float-right-box h3 {
  margin-top: 0;
  font-size: 16px;
  font-weight: 500;
}
section .float-right-box input[type=text] {
  margin-bottom: 16px;
  width: calc(100% - 32px);
}
section .float-right-box {
  /*
  button {
    margin-left: 16px;
  }
  */
}
section .float-right-box .spacer {
  height: 16px;
  clear: both;
}

.float-right-box label,
.float-left-box label {
  display: inline-block;
  line-height: 20px;
  vertical-align: top;
  margin-right: 12px;
}

.graph-axis-popup {
  width: 300px;
}
.graph-axis-popup h2 {
  margin-top: 0;
}
.graph-axis-popup .float-left-box {
  margin-right: 0;
  width: 100%;
}
.graph-axis-popup .manual-axis-selector {
  margin-top: 1em;
  display: none;
}
.graph-axis-popup .manual-axis-selector input {
  width: 80px;
  margin-right: 4px;
}
.graph-axis-popup .color-selector {
  margin-top: 1em;
  margin-bottom: 2em;
}
.graph-axis-popup .axis-color-picker {
  display: flex;
  justify-content: space-between;
}
.graph-axis-popup .axis-color-picker button {
  width: 24px;
  height: 24px;
  background-color: blue;
  box-sizing: content-box;
  border: 2px solid white;
}
.graph-axis-popup .axis-color-picker button.selected {
  box-shadow: 0 0 0 2px #393D46;
}

.table-container {
  overflow-x: auto;
}

/* ===================================================
  ALARM PAGES
  =================================================== */
table.active-alarms-table {
  min-width: 720px;
  max-width: 1500px;
}
table.active-alarms-table th {
  height: 30px;
}
table.active-alarms-table td {
  height: 49px;
}
table.active-alarms-table td:nth-of-type(3),
table.active-alarms-table td:nth-of-type(4) {
  font-size: 16px;
}
table.active-alarms-table td:nth-of-type(9) {
  color: #EA5455;
}
table.active-alarms-table tr.spacer td {
  height: 10px;
}
@media (max-width: 1000px) {
  table.active-alarms-table td {
    font-size: 12px !important;
  }
}

table.alarms-table {
  min-width: 920px;
  max-width: 1500px;
}
table.alarms-table th {
  height: 30px;
}
table.alarms-table td {
  height: 49px;
}
table.alarms-table td:nth-of-type(3) {
  font-size: 16px;
}

table.notification-log-table {
  min-width: 800px;
  max-width: 1200px;
}
table.notification-log-table tr {
  border-bottom: 10px solid white;
}

/* ===================================================
  MAIN BODY AND RIGHT SIDEBAR
  =================================================== */
main#main {
  width: calc(100% - 32px);
  transition: 0.5s;
}
main#main.no-sidebar {
  width: 100%;
}

#right-sidebar {
  width: 30px;
  transition: 0.5s;
  box-sizing: border-box;
  transition: all 0.5s;
}
#right-sidebar #sidebar-arrow {
  font-size: 30px;
  position: fixed;
  top: 50%;
  text-align: center;
  cursor: pointer;
  user-select: none;
  padding: 4px;
  z-index: 2;
  margin-left: -21px;
  color: #5E5873;
  background-color: white;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.46);
}
#right-sidebar #sidebar-arrow:hover {
  background-color: #ddebf8;
}
#right-sidebar #sidebar-content {
  margin-left: 28px;
  margin-right: 32px;
  position: fixed;
  top: 90px;
  width: 0px;
  overflow: hidden;
  transition: all 0.5s;
  background-color: white;
  margin-top: 14px;
}
#right-sidebar #sidebar-content .inner {
  width: 433px;
  padding: 20px;
}
#right-sidebar .floatright.material-icons-outlined,
#right-sidebar .floatright .material-icons-outlined {
  padding-right: 0;
}
#right-sidebar .floatright .only-icon {
  margin-left: 18px;
}

@media (max-width: 1000px) {
  #right-sidebar {
    position: fixed;
    right: 0;
    z-index: 5;
    width: 0;
    border-left: none;
  }
  #right-sidebar #sidebar-content {
    margin-left: 0px;
    margin-right: 0px;
    top: 60px !important;
    background-color: white;
  }
  #right-sidebar #sidebar-arrow {
    padding-left: 0;
    display: block;
  }
  main#main {
    width: 100% !important;
  }
}
#page-container.sidebar-open #right-sidebar #sidebar-content {
  width: 433px;
  transition: all 0.5s;
  border-radius: 10px;
  height: calc(100vh - 150px);
  overflow-y: auto;
  box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.46);
}
#page-container.sidebar-open #right-sidebar #sidebar-content::-webkit-scrollbar {
  width: 0px;
}
#page-container.sidebar-open main#main {
  width: calc(100% - 497px);
  transition: all 0.5s;
}
#page-container.sidebar-open #page-container {
  position: relative;
}
@media (max-width: 1000px) {
  #page-container.sidebar-open #right-sidebar {
    width: 320px;
  }
  #page-container.sidebar-open #right-sidebar #sidebar-content {
    width: 320px;
    height: calc(100vh - 80px);
    box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.46);
  }
  #page-container.sidebar-open #right-sidebar #sidebar-content .inner {
    width: 320px;
    padding: 20px 20px 10px 10px;
  }
  #page-container.sidebar-open #sidebar-arrow {
    padding-right: 0;
    position: fixed;
    margin-left: -10px;
  }
}

@media (max-width: 1000px) {
  .arrows-key {
    margin-left: 0px !important;
    position: inherit !important;
  }
}
/* ===================================================
  RIGHT SIDEBAR / GROW JOURNAL
  =================================================== */
table.grow-journal-table {
  min-width: 900px;
  max-width: 1300px;
}
table.grow-journal-table td:first-of-type {
  font-size: 16px;
}
table.grow-journal-table tr.unread td {
  font-weight: bold;
}
table.grow-journal-table tr.unread td .grow-journal-tag {
  font-weight: normal;
}

.info-section,
#grow-journal-entry-page {
  margin-top: 6px;
  clear: both;
}
.info-section .title,
#grow-journal-entry-page .title {
  float: left;
  margin-bottom: 12px;
  font-size: 14px;
}
.info-section button.read-all, .info-section a.read-all,
#grow-journal-entry-page button.read-all,
#grow-journal-entry-page a.read-all {
  float: right;
  color: #1F8DED;
  cursor: pointer;
}
.info-section .body,
#grow-journal-entry-page .body {
  clear: both;
  margin-top: 1em;
  max-width: 800px;
}
.info-section .body img,
#grow-journal-entry-page .body img {
  display: block;
  margin: 1em 0;
  cursor: pointer;
}
.info-section .body .full,
#grow-journal-entry-page .body .full {
  display: none;
}
.info-section .journal-entry,
#grow-journal-entry-page .journal-entry {
  margin-top: 2em;
  position: relative;
}
.info-section .journal-entry.reply,
#grow-journal-entry-page .journal-entry.reply {
  margin-top: 2em;
  margin-left: 2em;
  margin-bottom: 6px;
  display: none;
}
.info-section .journal-entry.reply.edit,
#grow-journal-entry-page .journal-entry.reply.edit {
  display: block;
}
.info-section .journal-entry textarea,
#grow-journal-entry-page .journal-entry textarea {
  width: 100%;
}
.info-section .hide,
#grow-journal-entry-page .hide {
  display: none;
}
.info-section.expanded .hide,
#grow-journal-entry-page.expanded .hide {
  display: inline-block;
}
.info-section.expanded .body .full,
.info-section.expanded .journal-entry.reply,
#grow-journal-entry-page.expanded .body .full,
#grow-journal-entry-page.expanded .journal-entry.reply {
  display: block;
}
.info-section.expanded .show,
.info-section.expanded .body .excerpt,
#grow-journal-entry-page.expanded .show,
#grow-journal-entry-page.expanded .body .excerpt {
  display: none;
}
.info-section .floatleft span,
#grow-journal-entry-page .floatleft span {
  font-weight: 500;
}
.info-section .floatleft label,
#grow-journal-entry-page .floatleft label {
  display: inline-block;
}
.info-section .floatleft input[type=checkbox],
#grow-journal-entry-page .floatleft input[type=checkbox] {
  vertical-align: text-top;
  margin-right: 10px;
}
.info-section .floatleft img,
#grow-journal-entry-page .floatleft img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 8px;
}
.info-section.managed-by .title,
#grow-journal-entry-page.managed-by .title {
  margin-top: 8px;
}
.info-section .floatright .time-date, .info-section .floatright.time-date,
#grow-journal-entry-page .floatright .time-date,
#grow-journal-entry-page .floatright.time-date {
  font-size: 12px;
  color: #6E6B7B;
  margin-top: 5px;
}
.info-section .floatright .time-date button, .info-section .floatright.time-date button,
#grow-journal-entry-page .floatright .time-date button,
#grow-journal-entry-page .floatright.time-date button {
  vertical-align: middle;
  margin-left: 6px;
}
.info-section .floatright .time-date button.add, .info-section .floatright.time-date button.add,
#grow-journal-entry-page .floatright .time-date button.add,
#grow-journal-entry-page .floatright.time-date button.add {
  font-size: 24px;
  background-color: transparent;
}
.info-section .floatright .time-date button:hover, .info-section .floatright.time-date button:hover,
#grow-journal-entry-page .floatright .time-date button:hover,
#grow-journal-entry-page .floatright.time-date button:hover {
  background-color: #ddebf8;
}
.info-section .floatright img,
#grow-journal-entry-page .floatright img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 12px;
}
.info-section .floatright img.small,
#grow-journal-entry-page .floatright img.small {
  width: 20px;
  height: 20px;
}
.info-section .floatright .due,
#grow-journal-entry-page .floatright .due {
  text-align: right;
  font-size: 12px;
  float: right;
  margin-top: 4px;
}
.info-section.audit-log-reply,
#grow-journal-entry-page.audit-log-reply {
  margin-left: 2em;
  margin-bottom: 6px;
}

.load-more {
  margin-top: 1em;
  display: inline-block;
}

.spinner {
  margin-left: 18px;
  padding-top: 5px;
  display: inline-block;
  float: left;
}

.spinnerGraph {
  margin-right: 4px;
  display: inline-block;
  float: left;
}

.photo-grid {
  clear: both;
  margin-top: 6px;
  text-align: center;
}
.photo-grid button {
  margin: 7.5px;
  display: inline-block;
  padding: 0;
}
.photo-grid button img {
  width: 105px;
  height: 105px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  .photo-grid button img {
    width: 80px;
    height: 80px;
  }
}

#sidebar-tasks .floatleft input[type=checkbox] {
  vertical-align: top;
}
#sidebar-tasks .floatleft label {
  max-width: 200px;
}
#sidebar-tasks .floatright {
  max-width: 160px;
}
@media (max-width: 1000px) {
  #sidebar-tasks .floatleft label {
    max-width: calc(100% - 28px);
  }
}

#sidebar-media img {
  margin: 1em 0;
  cursor: pointer;
}

#sidebar-alarms .floatleft .alarm-name {
  max-width: 200px;
  display: inline-block;
  vertical-align: top;
}
@media (max-width: 1000px) {
  #sidebar-alarms .floatleft .alarm-name {
    max-width: calc(100% - 52px);
  }
}

#sidebar-audit-log .floatleft {
  max-width: 230px;
}
#sidebar-audit-log .floatleft .log-entry {
  margin-bottom: 4px;
  display: inline-block;
}
#sidebar-audit-log .floatleft .change {
  font-size: 17px;
}
#sidebar-audit-log .floatright {
  max-width: 160px;
}
@media (max-width: 1000px) {
  #sidebar-audit-log .floatleft {
    max-width: 100%;
  }
}

.file-upload-form {
  clear: none !important;
  float: left !important;
}

/* ===================================================
  GROW JOURNAL PAGE (INHERITS FROM SIDEBAR)
  ==================================================== */
#grow-journal-entry-page {
  max-width: 1000px;
}
#grow-journal-entry-page h2 {
  margin-top: 36px;
  margin-bottom: 0;
}
#grow-journal-entry-page .floatright.time-date {
  font-size: 14px;
  font-weight: 500;
  color: #393D46;
}
#grow-journal-entry-page .replies-container {
  max-width: 590px;
}
#grow-journal-entry-page .replies-container textarea {
  width: 100%;
}

/* ===================================================
    GENERAL INFO PAGE
   =================================================== */
#general-info-page h2:first-of-type {
  margin-top: 0;
}
#general-info-page textarea {
  width: 100%;
  padding: 16px;
}
#general-info-page textarea#crop-info {
  min-height: 300px;
}
#general-info-page textarea#zone-info {
  min-height: 150px;
}

/* ===================================================
  IMAGE POPUPS
  ==================================================== */
.image-popup {
  z-index: 10;
  position: fixed;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  max-width: 96%;
}
.image-popup .image-close-button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: white;
}
.image-popup .image-button:hover {
  background-color: #C8C8C8;
}

/* ===================================================
  SENSOR ORDERING LIST
  ==================================================== */
.list-wrapper {
  text-align: left;
}
.list-wrapper ul.ordering-list {
  list-style-type: none;
  padding-left: 0;
  display: inline-block;
}
.list-wrapper ul.ordering-list li {
  margin-bottom: 10px;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  padding: 8px 48px;
  position: relative;
}
.list-wrapper ul.ordering-list li span, .list-wrapper ul.ordering-list li button {
  vertical-align: middle;
  cursor: pointer;
}
.list-wrapper ul.ordering-list li span.sensor-name, .list-wrapper ul.ordering-list li button.sensor-name {
  margin: 0 10px 0 10px;
  cursor: default;
  font-size: 14px;
  line-height: 16px;
}
.list-wrapper ul.ordering-list li span.up-arrow, .list-wrapper ul.ordering-list li span.down-arrow, .list-wrapper ul.ordering-list li button.up-arrow, .list-wrapper ul.ordering-list li button.down-arrow {
  height: 28px;
  line-height: 28px;
  background-color: white;
}
.list-wrapper ul.ordering-list li span.up-arrow, .list-wrapper ul.ordering-list li button.up-arrow {
  position: absolute;
  left: 10px;
  top: 3px;
  border: 2px solid;
  border-radius: 50%;
  padding: 0;
}
.list-wrapper ul.ordering-list li span.up-arrow:hover, .list-wrapper ul.ordering-list li button.up-arrow:hover {
  color: #1F8DED;
}
.list-wrapper ul.ordering-list li span.down-arrow, .list-wrapper ul.ordering-list li button.down-arrow {
  position: absolute;
  right: 10px;
  top: 3px;
  border: 2px solid;
  border-radius: 50%;
  padding: 0;
}
.list-wrapper ul.ordering-list li span.down-arrow:hover, .list-wrapper ul.ordering-list li button.down-arrow:hover {
  color: #1F8DED;
}
.list-wrapper ul.ordering-list li span.hide, .list-wrapper ul.ordering-list li button.hide {
  display: none;
}
.list-wrapper ul.ordering-list li.last-moved {
  border-color: #1F8DED;
  background-color: #1F8DED;
  color: white;
}
.list-wrapper ul.ordering-list li.last-moved .up-arrow,
.list-wrapper ul.ordering-list li.last-moved .down-arrow {
  color: #1F8DED;
}
.list-wrapper ul.ordering-list li.last-moved .up-arrow:hover,
.list-wrapper ul.ordering-list li.last-moved .down-arrow:hover {
  color: #1F8DED;
}

/* ===================================================
    AUX SETTINGS
  ==================================================== */
.aux table {
  max-width: 800px;
  margin: 0;
}
.aux td:first-of-type {
  width: 100px;
}
.aux td:first-of-type input {
  width: 200px;
}
.aux td:nth-of-type(2) {
  width: 50px;
  text-align: center;
}

.aux-element {
  border: 1px solid #bcbcbc;
  border-radius: 12px;
  display: flex;
  padding: 12px 6px;
  margin-bottom: 36px;
  max-width: 850px;
}
.aux-element .left {
  position: relative;
  width: 36px;
}
.aux-element .left .up-arrow,
.aux-element .left .down-arrow {
  padding-right: 0;
  margin-left: 0;
}
.aux-element .left .trash {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-left: 0;
}
.aux-element .right {
  width: calc(100% - 36px);
}
.aux-element .right .body {
  font-size: 16px;
}
.aux-element .right .body button {
  border: 1px solid #aaa;
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  display: inline-block;
  margin: 4px 0;
  font-size: 16px;
  color: #393D46;
}
.aux-element .right .body button:hover {
  border-color: #393D46;
}
.aux-element .right .body input[type=text] {
  width: 100px;
  display: inline-block;
}
.aux-element .right .body input[type=time],
.aux-element .right .body .custom-select {
  margin-right: 0;
}
.aux-element .right .bottom {
  margin-top: 12px;
}
.aux-element .right .bottom textarea {
  width: 100%;
  max-width: 750px;
}

/* ===================================================
    ZONE AUX CONTROLS (OLD MATERIAL UI VERSION)
  ==================================================== */
.zone_Aux_Controls .aux-wrapper {
  width: 400px;
  background-color: #EFF2F7;
  padding: 10px;
  border: 1px solid #bcbcbc;
}
.zone_Aux_Controls .aux-container {
  height: 200px;
  overflow-y: auto;
}

/* ===================================================
  SETTINGS PAGES
  =================================================== */
.site-image {
  margin-top: 12px;
}
.site-image img {
  max-height: 200px;
}

.time-enable {
  margin-bottom: 0px;
}

.user-table-container {
  overflow-x: auto;
}
.user-table-container table.user-table {
  min-width: 1000px;
}
.user-table-container table.user-table td {
  padding-right: 16px;
  padding-top: 10px;
}
.user-table-container table.user-table td img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 8px;
}
.user-table-container table.user-table th:first-of-type,
.user-table-container table.user-table td:first-of-type {
  width: 46px;
  min-width: 46px;
  padding-right: 0;
}
.user-table-container table.user-table .active {
  background-color: #1F8DED;
}
.user-table-container table.user-table .pending {
  background-color: #777;
}
.user-table-container table.user-table .inactive {
  background-color: #aaa;
}
.user-table-container table.user-table .owner {
  background-color: #595;
}
.user-table-container table.user-table .thirdParty {
  background-color: #980;
}
.user-table-container table.user-table .pending, .user-table-container table.user-table .active, .user-table-container table.user-table .inactive, .user-table-container table.user-table .owner, .user-table-container table.user-table .thirdParty {
  display: inline-block;
  font-size: 12px;
  border-radius: 10px;
  padding: 3px 10px 3px;
  color: white;
}
.user-table-container table.user-table button.invitation {
  color: #1F8DED;
}

.user-table-container table.user-table button.invitation:disabled {
  color: #999;
}

.task-table-container {
  overflow-x: auto;
}
.task-table-container table.task-table {
  width: 100%;
  table-layout: fixed;
}
.task-table-container table.task-table td {
  padding-top: 10px;
}
.task-table-container table.task-table td img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  table.task-table {
    table-layout: auto;
    min-width: 900px;
  }
}
.custom-color-select-container {
  text-align: right;
}
.custom-color-select-container .custom-color-select-selection {
  border-radius: 10px;
  right: 0px;
  margin-bottom: initial;
  padding: 0px 40px 0px 16px;
  border: 1px solid #aaa;
}
.custom-color-select-container .custom-color-select-list {
  border-radius: 10px;
  height: initial;
  text-align: left;
  background-color: #FFCCCC;
  border-radius: 10px;
}
.custom-color-select-container .custom-color-select-list td {
  padding: 0px 20px;
  background-color: white;
}
.custom-color-select-container .custom-color-select-list td.over {
  background-color: #EFF2F7;
}

.bubble-text {
  display: inline-block;
  font-size: 12px;
  line-height: 21px;
  border-radius: 10px;
  padding: 3px 10px 3px;
  color: white;
  background-color: #4bd087;
}

.bubble-text.status-created {
  background-color: #f3bb2a;
}

.bubble-text.status-approved {
  background-color: #80d04b;
}

.bubble-text.status-readyToStart {
  background-color: #c7d04b;
}

.bubble-text.status-inProgress {
  background-color: #1f8ded;
}

.bubble-text.status-onHold {
  background-color: #a8a8a8;
}

.bubble-text.status-cancelled {
  background-color: #4bb5d0;
}

.bubble-text.status-waitingForReview {
  background-color: #4bd0a4;
}

.bubble-text.status-complete {
  background-color: #4bd087;
}

.bubble-text.status-problem {
  background-color: #d04b4b;
}

.bubble-text.priority-low {
  background-color: #254bb7;
}

.bubble-text.priority-medium {
  background-color: #5fb725;
}

.bubble-text.priority-high {
  background-color: #adb725;
}

.bubble-text.priority-urgent {
  background-color: #b72525;
}

.bubble-text.category-greenhouse {
  background-color: #bf0065;
}

.bubble-text.category-waterPlants {
  background-color: #bf0243;
}

.bubble-text.category-hydroponic {
  background-color: #b62822;
}

.bubble-text.category-flowerBeds {
  background-color: #a54000;
}

.bubble-text.category-generalMaintenance {
  background-color: #726000;
}

.bubble-text.category-manualLabor {
  background-color: #526a00;
}

.bubble-text.category-plantGrowth {
  background-color: #247000;
}

.bubble-text.category-generalPlantCare {
  background-color: #007514;
}

.bubble-text.category-straightTruck {
  background-color: #00795f;
}

.bubble-text.category-prune {
  background-color: #007982;
}

.bubble-text.category-seasonalPosition {
  background-color: #0077a1;
}

.bubble-text.category-plantMaintenance {
  background-color: #0074ba;
}

.bubble-text.category-dig {
  background-color: #0066d1;
}

.bubble-text.category-assemblyLine {
  background-color: #4159cb;
}

.bubble-text.category-regularBasis {
  background-color: #7949bc;
}

tr.tableBand {
  background-color: #CCCCCC;
}

table.user-access tr {
  height: 32px;
}
table.user-access th {
  color: #6E6B7B;
  padding-top: 12px;
}
table.user-access th:nth-child(1),
table.user-access th:nth-child(2),
table.user-access td:nth-child(1),
table.user-access td:nth-child(2) {
  text-align: center;
  width: 40px;
}
table.user-access th:nth-child(3),
table.user-access td:nth-child(3) {
  padding-left: 20px;
}
table.user-access:first-of-type {
  max-width: 260px;
}

.idoser input, .idoser textarea,
.modbus input,
.modbus textarea {
  min-width: 225px;
}
.idoser input.narrow,
.idoser input[type=number],
.idoser input[type=tel],
.modbus input.narrow,
.modbus input[type=number],
.modbus input[type=tel] {
  min-width: 0;
  width: 90px;
}
.idoser input[type=time],
.idoser input[type=date],
.modbus input[type=time],
.modbus input[type=date] {
  min-width: 0;
  margin-right: 10px;
}
.idoser input[type=text],
.modbus input[type=text] {
  margin-right: 10px;
}
.idoser,
.modbus {
  /*
  .trash {
    vertical-align: sub;
  }
  */
}
.idoser .material-icons-outlined.add,
.modbus .material-icons-outlined.add {
  padding-left: 0;
  background-color: transparent;
}
.idoser .line,
.modbus .line {
  clear: both;
  margin-bottom: 6px;
  white-space: nowrap;
}
.idoser .line input,
.idoser .line .custom-select,
.modbus .line input,
.modbus .line .custom-select {
  margin-bottom: 10px;
}
.idoser .line .label,
.modbus .line .label {
  margin-right: 16px;
  min-width: 170px;
  display: inline-block;
}
.idoser .toggle-field,
.modbus .toggle-field {
  max-width: 570px;
}
.idoser .toggle-field button,
.modbus .toggle-field button {
  min-width: 78px;
}
.idoser .toggle-field.days,
.modbus .toggle-field.days {
  max-width: 660px;
}
.idoser .toggle-field.days-of-month,
.modbus .toggle-field.days-of-month {
  max-width: 500px;
}
.idoser .toggle-field.days-of-month button,
.modbus .toggle-field.days-of-month button {
  min-width: 54px;
}
.idoser .index-field,
.modbus .index-field {
  max-width: 1150px;
}
.idoser .index-field span,
.modbus .index-field span {
  margin-bottom: 16px;
  min-width: 136px;
  text-align: right;
}
.idoser .index-field span input,
.modbus .index-field span input {
  min-width: 100px;
  width: 100px;
}

.zone-box {
  padding: 10px;
  border: 1px solid;
  border-radius: 10px;
  min-height: 300px;
}

@media (min-width: 700px) {
  .zone-box {
    width: 500px;
    min-height: 300px;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
  }
}
/* ===================================================
  EQUIPMENT PAGES
  ==================================================== */
.stage-on-off {
  overflow-x: auto;
}
.stage-on-off table {
  max-width: 820px;
  width: auto;
}
.stage-on-off table th {
  text-align: center;
  padding-bottom: 6px;
}
.stage-on-off table td {
  text-align: center;
  padding: 0 4px;
}
.stage-on-off table td button {
  margin: 0;
  min-width: 68px;
}

.biweeklyMappingWrapper {
  overflow-x: auto;
}

.biweeklyMapping {
  min-width: 680px;
  max-width: 800px;
  margin-bottom: 16px;
}
.biweeklyMapping th, .biweeklyMapping td {
  text-align: center;
  padding-bottom: 6px;
}
.biweeklyMapping button.toggle {
  margin: 0;
}

.time-override {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 500px) {
  .time-override {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    padding-left: 2px;
  }
}
/* ===================================================
  SMART COOL PAGE
  ==================================================== */
.smart-cool-table-wrapper {
  overflow-x: auto;
}
.smart-cool-table-wrapper table {
  min-width: 840px;
  max-width: 900px;
}
.smart-cool-table-wrapper table td {
  text-align: center;
}
.smart-cool-table-wrapper table td input {
  width: 70px !important;
  margin-right: 0;
}

/* ===================================================
  RETRACTABLE GREENHOUSE PAGE
  ==================================================== */
/*

    tr {
      &:nth-of-type(1),
      &:nth-of-type(6),
      &:nth-of-type(11),
      &:nth-of-type(16),
       {
         td{
          padding-top: 1em;
          font-size: 18px;
         }
      }
    }

*/
.retractable-greenhouse {
  overflow-x: auto;
}
.retractable-greenhouse table {
  min-width: 1600px;
}
.retractable-greenhouse table td {
  padding: 4px;
  min-width: 90px;
}
.retractable-greenhouse table td input {
  width: 60px;
  text-align: center;
  margin-right: 4px;
  padding-right: 1px;
  color: #393D46;
}
.retractable-greenhouse table td:nth-of-type(3) input {
  background-color: #98fb98;
}
.retractable-greenhouse table td:nth-of-type(4) input, .retractable-greenhouse table td:nth-of-type(5) input, .retractable-greenhouse table td:nth-of-type(6) input, .retractable-greenhouse table td:nth-of-type(7) input, .retractable-greenhouse table td:nth-of-type(8) input {
  background-color: #f5f5dc;
}
.retractable-greenhouse table td:nth-of-type(9) input, .retractable-greenhouse table td:nth-of-type(10) input, .retractable-greenhouse table td:nth-of-type(11) input, .retractable-greenhouse table td:nth-of-type(12) input, .retractable-greenhouse table td:nth-of-type(13) input {
  background-color: #00ffff;
}
.retractable-greenhouse table td:nth-of-type(14) input, .retractable-greenhouse table td:nth-of-type(15) input, .retractable-greenhouse table td:nth-of-type(16) input, .retractable-greenhouse table td:nth-of-type(17) input, .retractable-greenhouse table td:nth-of-type(18) input {
  background-color: #fffacd;
}
.retractable-greenhouse table td:nth-of-type(19) input, .retractable-greenhouse table td:nth-of-type(20) input, .retractable-greenhouse table td:nth-of-type(21) input, .retractable-greenhouse table td:nth-of-type(22) input, .retractable-greenhouse table td:nth-of-type(23) input {
  background-color: #98fb98;
}

/* ===================================================
  RETRACTABLE VENT (CRAVO) TABLES
  ==================================================== */
.vent-position-wrapper {
  margin-top: 3em;
  overflow-x: auto;
}
.vent-position-wrapper table {
  min-width: 1000px;
}
.vent-position-wrapper table td input {
  width: 66px;
  text-align: center;
  margin-right: 4px;
  margin-bottom: 2px;
  padding-right: 1px;
  color: #393D46;
}
.vent-position-wrapper table td:nth-of-type(2) input {
  background-color: #4CE743;
}
.vent-position-wrapper table td:nth-of-type(3) input {
  background-color: #42DC4E;
}
.vent-position-wrapper table td:nth-of-type(4) input {
  background-color: #3AD25E;
}
.vent-position-wrapper table td:nth-of-type(5) input {
  background-color: #32C774;
}
.vent-position-wrapper table td:nth-of-type(6) input {
  background-color: #2EBB91;
}
.vent-position-wrapper table td:nth-of-type(7) input {
  background-color: #29A8AC;
  color: white;
}
.vent-position-wrapper table td:nth-of-type(8) input {
  background-color: #2274A4;
  color: white;
}

.crop-protection-wrapper {
  margin-top: 4em;
  overflow-x: auto;
}
.crop-protection-wrapper table {
  min-width: 840px;
}
.crop-protection-wrapper table td input {
  width: 66px;
  text-align: center;
  margin-right: 4px;
  margin-bottom: 2px;
  padding-right: 1px;
  color: #393D46;
}
.crop-protection-wrapper table table {
  min-width: 182px;
}
.crop-protection-wrapper table table tr:nth-of-type(2) input {
  background-color: #55b4d2;
  color: white;
}
.crop-protection-wrapper table table tr:nth-of-type(3) input {
  background-color: #71e0b6;
}
.crop-protection-wrapper table table tr:nth-of-type(4) input {
  background-color: #71e0b6;
}

.structural-protection-wrapper {
  margin-top: 4em;
  overflow-x: auto;
}
.structural-protection-wrapper table {
  max-width: 530px;
  min-width: 480px;
}
.structural-protection-wrapper table td {
  text-align: left;
}
.structural-protection-wrapper table input {
  width: 66px;
  text-align: center;
  margin-right: 4px;
  margin-bottom: 2px;
  padding-right: 1px;
  background-color: #55b4d2;
  color: white;
}

.fire-rain-wrapper {
  margin-top: 4em;
}
.fire-rain-wrapper input {
  width: 66px;
  text-align: center;
  margin-right: 4px;
  padding-right: 1px;
  margin: 0 6px 6px 6px;
}

.setpoint-wrapper-1,
.setpoint-wrapper-2,
.setpoint-wrapper-3,
.setpoint-wrapper-4 {
  margin-top: 4em;
  overflow-x: auto;
}
.setpoint-wrapper-1 table,
.setpoint-wrapper-2 table,
.setpoint-wrapper-3 table,
.setpoint-wrapper-4 table {
  min-width: 650px;
}
.setpoint-wrapper-1 table td,
.setpoint-wrapper-2 table td,
.setpoint-wrapper-3 table td,
.setpoint-wrapper-4 table td {
  text-align: left;
}
.setpoint-wrapper-1 table input:not(.sp-enable-checkbox),
.setpoint-wrapper-2 table input:not(.sp-enable-checkbox),
.setpoint-wrapper-3 table input:not(.sp-enable-checkbox),
.setpoint-wrapper-4 table input:not(.sp-enable-checkbox) {
  width: 66px;
  text-align: center;
  margin-right: 4px;
  margin-bottom: 2px;
  padding-right: 1px;
  color: #393D46;
}

.setpoint-wrapper-1 input {
  background-color: #f5f5dc;
}

.setpoint-wrapper-2 input {
  background-color: #00ffff;
}

.setpoint-wrapper-3 input {
  background-color: #fffacd;
}

.setpoint-wrapper-4 input {
  background-color: #98fb98;
}

/* Setpoints Enable column — custom checkbox visible on iOS Safari/Chrome */
.sp-enable-checkbox-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 46px;
  margin: 0;
  cursor: pointer;
  vertical-align: middle;
}

.sp-enable-checkbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  transform: none;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
}

.sp-enable-checkbox:disabled {
  cursor: default;
}

.sp-enable-checkbox-box {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid #888;
  border-radius: 8px;
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  pointer-events: none;
}

.sp-enable-checkbox:checked + .sp-enable-checkbox-box {
  background-color: #b8b8b8;
  border-color: #888;
}

.sp-enable-checkbox:checked + .sp-enable-checkbox-box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 7px;
  height: 14px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.sp-enable-checkbox:disabled + .sp-enable-checkbox-box {
  opacity: 0.85;
}

.sp-enable-checkbox:focus-visible + .sp-enable-checkbox-box {
  outline: 2px solid #1F8DED;
  outline-offset: 2px;
}

.intl-tel-input .country-list {
  max-height: none !important;
  overflow-y: hidden !important;
}

/* ===================================================
  NEW LOGIN / REGISTER / REGISTRATION ACTIVATION PAGES
  ==================================================== */
.login-register-new {
  display: flex;
}
.login-register-new a {
  color: #1F8DED;
  text-decoration: underline;
}
.login-register-new .login-left {
  width: 50%;
  min-height: 100vh;
  background: url("img/greenhouse-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.login-register-new .login-left img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.login-register-new .login-left.register {
  background: url("img/register-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}
.login-register-new .login-right {
  padding: 40px 40px 20px 40px;
  width: 50%;
  min-height: 100vh;
  background-color: white;
  box-shadow: 0 0 20px #808080;
}
.login-register-new .login-right header img {
  max-width: 100px;
}
.login-register-new .login-right header .floatright {
  margin-top: 10px;
}
@media (max-width: 420px) {
  .login-register-new .login-right header .floatright,
  .login-register-new .login-right header .floatleft {
    float: none;
    text-align: center;
  }
}
.login-register-new .login-right form {
  width: 100%;
  max-width: 436px;
  padding-top: 10px;
  margin: calc(50vh - 260px) auto 0;
}
@media (max-height: 560px) {
  .login-register-new .login-right form {
    margin-top: 0;
  }
}
.login-register-new .login-right form.register {
  margin: 10vh auto 0;
}
.login-register-new .login-right form h1 {
  text-align: center;
}
.login-register-new .login-right form input[type=text],
.login-register-new .login-right form input[type=email],
.login-register-new .login-right form input[type=password] {
  width: 100%;
  margin-bottom: 1em;
}
.login-register-new .login-right form .password-container {
  position: relative;
}
.login-register-new .login-right form .password-container .visible-button {
  position: absolute;
  right: -36px;
  top: 2px;
  background: none;
  border: none;
  padding: 6px;
}
.login-register-new .login-right form .password-container .visible-button .material-icons {
  color: #6E6B7B;
}
.login-register-new .login-right form .remember-container {
  margin: 1.5em 1em 2em;
}
.login-register-new .login-right form .remember-container label {
  display: inline-block;
  margin-left: 0.8em;
  max-width: 80%;
  vertical-align: text-top;
}
.login-register-new .login-right form .recaptcha-wrapper {
  margin-left: -40px;
  width: calc(100% + 80px);
}
.login-register-new .login-right form .recaptcha-wrapper .recaptcha-container {
  width: 304px;
  height: 108px;
  margin: 1em auto 0;
}
.login-register-new .login-right form .button-container {
  clear: both;
  margin-top: 1em;
}
.login-register-new .login-right form .button-container button {
  display: block;
  margin: 1em auto;
  width: 165px;
}
.login-register-new .login-right form .button-container #face-id-button,
.login-register-new .login-right form .button-container #touch-id-button {
  display: none;
}
.login-register-new .login-right .info-section {
  margin-top: 20%;
}
.login-register-new .login-right .info-section h1 {
  text-align: center;
}
.login-register-new {
  /* TEMPORARY HACK FOR INVITE-USER PAGE; REMOVE WHEN WE GET RID OF MATERIAL INPUTS */
}
.login-register-new .join-wrapper {
  max-width: 300px;
  margin: 0 auto;
}
.login-register-new .join-wrapper div:first-of-type div {
  padding-left: 10px;
}
.login-register-new #footer {
  position: sticky;
  top: 100vh;
  margin: 0;
  padding: 0;
}
@media (max-width: 820px) {
  .login-register-new .login-left {
    display: none;
  }
  .login-register-new .login-right {
    width: 100%;
  }
}

/* ===================================================
  PROFILE PAGE
  =================================================== */
#login-register .password-container {
  position: relative;
  display: inline-block;
}
#login-register .password-container .visible-button {
  position: absolute;
  right: -36px;
  top: 2px;
  background: none;
  border: none;
  padding: 6px;
}
#login-register input[type=number],
#login-register input[type=email],
#login-register input[type=text],
#login-register input[type=password] {
  font-size: 16px;
  padding: 9px;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 221px;
}

#profile-page #login-register {
  text-align: left;
  margin-top: 0;
}
#profile-page #login-register label {
  margin: 0 0 6px;
}
#profile-page .title {
  font-size: 14px;
  color: #5E5873;
}
#profile-page img {
  width: 103px;
  height: 103px;
  object-fit: cover;
  border-radius: 10px;
  vertical-align: middle;
  margin-right: 20px;
}
#profile-page button {
  vertical-align: middle;
}
#profile-page button.outlined {
  margin-right: 20px;
}
#profile-page .text-input-wrapper {
  float: left;
  margin-right: 32px;
}
#profile-page .text-input-wrapper.password-wrapper {
  margin-right: 64px;
}

/* ===================================================
  MANAGE ACCOUNT PAGE
  =================================================== */
.manage-account-wrapper {
  overflow-x: auto;
}
.manage-account-wrapper .manage-account {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1em;
  align-items: center;
  max-width: 500px;
}
.manage-account-wrapper .manage-account label {
  margin-top: 2px;
  margin-bottom: 0px;
  display: inline-block;
}
.manage-account-wrapper .manage-account input {
  min-width: 50px;
  margin: 0;
}
.manage-account-wrapper .manage-account .custom-select {
  margin: 0;
}
.manage-account-wrapper .manage-account .custom-select select {
  width: 100%;
}
.manage-account-wrapper .manage-account h2 {
  grid-column: 1/3;
  margin: 10px 0 0;
}
.manage-account-wrapper .manage-account h2:first-child {
  margin-top: 0;
}

/* ===================================================
  API CONNECTOR CONFIGURATION
  =================================================== */
.api-connector-page {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.api-connector-page .api-connector-page-header {
  margin-bottom: 24px;
}
.api-connector-page .api-connector-page-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}
.api-connector-page .api-connector-page-header p {
  margin: 0;
  color: #6E6B7B;
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
}

.api-connector-config-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.api-connector-card {
  background: white;
  border-radius: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.5rem;
}
.api-connector-card .api-connector-section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}
.api-connector-card .api-connector-section-header .section-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 18px;
  color: #fff;
}
.api-connector-card .api-connector-section-header .section-icon.icon-link {
  background: #3b82f6;
}
.api-connector-card .api-connector-section-header .section-icon.icon-shield {
  background: #8b5cf6;
}
.api-connector-card .api-connector-section-header .section-icon.icon-table {
  background: #06b6d4;
}
.api-connector-card .api-connector-section-header div {
  flex: 1;
}
.api-connector-card .api-connector-section-header h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
}
.api-connector-card .api-connector-section-header p {
  margin: 0;
  color: #6E6B7B;
  font-size: 12px;
  line-height: 1.4;
}

.api-connector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 12px;
}
@media (max-width: 640px) {
  .api-connector-grid {
    grid-template-columns: 1fr;
  }
}

.api-connector-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.api-connector-field.full-width {
  grid-column: 1/-1;
}
.api-connector-field label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #6E6B7B;
}
.api-connector-field label .required {
  color: #EA5455;
  margin-left: 2px;
  font-size: 11px;
}
.api-connector-field .field-hint {
  font-size: 12px;
  color: #6E6B7B;
  margin: -2px 0 6px;
  line-height: 1.3;
}
.api-connector-field input {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 14px;
  margin: 0;
  transition: border-color 0.2s;
}
.api-connector-field input:focus {
  outline: none;
  border-color: #1F8DED;
  box-shadow: 0 0 0 3px rgba(31, 141, 237, 0.15);
}
.api-connector-field .custom-select {
  margin: 0;
  width: 100%;
}
.api-connector-field .custom-select select {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.api-connector-field.has-error input, .api-connector-field.has-error .custom-select select {
  border-color: #EA5455;
}
.api-connector-field .field-error {
  color: #EA5455;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.api-connector-auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}
.api-connector-auth-tabs .auth-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #6E6B7B;
  transition: all 0.15s;
}
.api-connector-auth-tabs .auth-tab:hover {
  background: rgba(31, 141, 237, 0.05);
}
.api-connector-auth-tabs .auth-tab.active {
  border-color: transparent;
  background: rgba(31, 141, 237, 0.15);
  color: #1F8DED;
}

.api-connector-auth-panel {
  margin-bottom: 8px;
}

.api-connector-test-panel {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}
.api-connector-test-panel .test-button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.api-connector-test-panel .test-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid #22c55e;
  background: transparent;
  color: #22c55e;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.api-connector-test-panel .test-btn .material-icons-outlined {
  font-size: 18px;
}
.api-connector-test-panel .test-btn:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.05);
}
.api-connector-test-panel .test-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  border-color: rgba(0, 0, 0, 0.15);
  color: #6E6B7B;
}
.api-connector-test-panel .preflight-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.api-connector-test-panel .preflight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
}
.api-connector-test-panel .preflight-badge .material-icons-outlined {
  font-size: 14px;
}
.api-connector-test-panel .preflight-badge.ok {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}
.api-connector-test-panel .preflight-badge.ok .material-icons-outlined {
  color: #22c55e;
}
.api-connector-test-panel .preflight-badge.pending {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}
.api-connector-test-panel .preflight-badge.pending .material-icons-outlined {
  color: #ef4444;
}
.api-connector-test-panel .test-result {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.api-connector-test-panel .test-result.success {
  border-color: rgba(46, 125, 50, 0.3);
}
.api-connector-test-panel .test-result.error {
  border-color: rgba(198, 40, 40, 0.3);
}
.api-connector-test-panel .test-result .test-result-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
}
.api-connector-test-panel .test-result .status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.api-connector-test-panel .test-result .status-badge.ok {
  background: #2e7d32;
}
.api-connector-test-panel .test-result .status-badge.fail {
  background: #c62828;
}
.api-connector-test-panel .test-result .test-error-msg {
  font-size: 13px;
  color: #EA5455;
  font-weight: 500;
}
.api-connector-test-panel .test-result .test-response-body {
  margin: 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.02);
  font-size: 12px;
  line-height: 1.5;
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.api-connector-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 4px 0;
}
.api-connector-toggles .toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.api-connector-toggles .toggle-switch input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.api-connector-toggles .toggle-switch input[type=checkbox]:checked + .toggle-slider {
  background: #22c55e;
}
.api-connector-toggles .toggle-switch input[type=checkbox]:checked + .toggle-slider:before {
  transform: translateX(18px);
}
.api-connector-toggles .toggle-switch input[type=checkbox]:focus + .toggle-slider {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}
.api-connector-toggles .toggle-switch .toggle-slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 22px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.api-connector-toggles .toggle-switch .toggle-slider:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.api-connector-toggles .toggle-switch .toggle-text {
  color: #393D46;
}

.api-connector-mapping-table {
  margin: 16px 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.api-connector-mapping-table .mapping-table-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 11px;
  font-weight: 500;
  color: #6E6B7B;
  align-items: center;
}
.api-connector-mapping-table .mapping-table-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  padding: 10px 14px;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.api-connector-mapping-table .mapping-table-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  font-size: 13px;
  margin: 0;
}
.api-connector-mapping-table .mapping-table-row .mapping-arrow {
  font-size: 18px;
  color: #6E6B7B;
}
.api-connector-mapping-table .mapping-table-row .mapping-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  color: #6E6B7B;
  transition: all 0.2s;
}
.api-connector-mapping-table .mapping-table-row .mapping-remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.api-connector-mapping-table .mapping-table-row .mapping-remove-btn .material-icons-outlined {
  font-size: 18px;
}
.api-connector-mapping-table .mapping-table-row .mapping-row-error {
  grid-column: 1/-1;
  margin-top: -4px;
}

.add-row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border: 1.5px dashed rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #393D46;
  transition: all 0.2s;
}
.add-row-btn:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: #1F8DED;
  color: #1F8DED;
}
.add-row-btn .material-icons-outlined {
  font-size: 18px;
}

.api-connector-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.api-connector-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.api-connector-actions .actions-left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.api-connector-actions .actions-left button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.api-connector-actions .actions-left button.filled {
  background: #1f2937;
  color: #fff;
  border: none;
}
.api-connector-actions .actions-left button.filled:hover {
  background: #374151;
}
.api-connector-actions .actions-left button.outlined {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #393D46;
}
.api-connector-actions .actions-left button.outlined:hover {
  background: rgba(0, 0, 0, 0.03);
}
.api-connector-actions .actions-left button .material-icons-outlined {
  font-size: 18px;
}

.save-success-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.save-success-msg .material-icons-outlined {
  font-size: 18px;
}

.generated-code-block {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.generated-code-block .generated-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 13px;
  font-weight: 600;
}
.generated-code-block .generated-code-header .material-icons-outlined {
  font-size: 18px;
}
.generated-code-block pre {
  margin: 0;
  padding: 16px;
  font-size: 12px;
  line-height: 1.5;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.02);
}

/* ===================================================
  MANAGE GATEWAY PAGE
  =================================================== */
.remote-control-wrapper {
  text-align: center;
}
.remote-control-wrapper .remote-control-canvas {
  width: 512px;
  height: 256px;
}
@media (max-width: 500px) {
  .remote-control-wrapper .remote-control-canvas {
    width: 256px;
    height: 128px;
  }
}
.remote-control-wrapper .remote-control-table {
  width: 512px;
  height: 128px;
  margin: 0 auto;
}
.remote-control-wrapper .remote-control-table button {
  /* CSS */
  appearance: none;
  background-color: transparent;
  border: 2px solid #1A1A1A;
  border-radius: 15px;
  box-sizing: border-box;
  color: #3B3B3B;
  cursor: pointer;
  display: inline-block;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}
.remote-control-wrapper .remote-control-table button:disabled {
  pointer-events: none;
}
.remote-control-wrapper .remote-control-table button:hover {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}
.remote-control-wrapper .remote-control-table button:focus {
  color: #fff;
  background-color: #1A1A1A;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}
.remote-control-wrapper .remote-control-table button:active {
  box-shadow: none;
  transform: translateY(0);
}
.remote-control-wrapper .remote-control-table button .material-icons-outlined {
  font-size: 40px;
}
@media (max-width: 500px) {
  .remote-control-wrapper .remote-control-table button .material-icons-outlined {
    font-size: 30px;
  }
}
@media (max-width: 500px) {
  .remote-control-wrapper .remote-control-table {
    width: 256px;
    height: 128px;
  }
}

/* ===================================================
  SELECT A PLAN PAGE
  =================================================== */
.plan-grid-wrapper {
  overflow-x: auto;
}
.plan-grid-wrapper .plan-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  min-width: 600px;
}
.plan-grid-wrapper .plan-grid > div {
  text-align: center;
  overflow: hidden;
}
.plan-grid-wrapper .plan-grid > div.header {
  position: sticky;
}
.plan-grid-wrapper .plan-grid > div:nth-child(4n+1) {
  text-align: left;
}
.plan-grid-wrapper .plan-grid {
  /*
  @media (max-width: 680px) {
    grid-template-columns: auto 0 auto 0;
  }
  */
}

/* ===================================================
  FOOTER
  =================================================== */
#footer {
  clear: both;
  border-top: 1px solid white;
  margin-top: 100px;
  margin-bottom: 8px;
  min-width: 80px;
  color: #6E6B7B;
  font-size: 14px;
  text-align: center;
  padding-bottom: 6px;
}

/* ===================================================
  GLOBAL STYLES 
  =================================================== */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 20px;
  min-width: 300px;
  z-index: 100;
  background-color: white;
  box-shadow: 5px 5px 30px #AAAAAA;
  border-radius: 10px;
  transform: translate(-50%, -50%);
}
.popup p, .popup h1, .popup h2, .popup h3, .popup h4, .popup h5, .popup h6 {
  margin-top: 0;
}
.popup .close {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: white;
  padding: 4px;
  border-radius: 50%;
}
.popup .resize {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 0;
  transform: rotate(90deg);
  font-size: 18px;
  cursor: nwse-resize;
}
.popup.image-popup {
  cursor: grab;
}

.popup-scrim {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.3);
}

/* ===================================================
  MUI PAGE STYLES 
  =================================================== */
.mui-button-container {
  display: inline-block;
  margin-right: 6px;
  vertical-align: text-top;
}

.mui-input-container {
  display: inline-block;
  vertical-align: middle;
}

/* ===================================================
  HTML TOGGLE SWITCHES MODIFIED TO BE SMALLER AND ACCESSIBLE
  https://www.w3schools.com/howto/howto_css_switch.asp
  =================================================== */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

/* Hide default HTML checkbox BUT KEEP OUTLINE WHEN SELECTED WITH TAB KEY! 
   MODIFIED BY BRIAN */
.switch input {
  width: 22px;
  height: 12px;
  -webkit-appearance: none;
  vertical-align: text-bottom;
}

/* HIDE OUTLINE ON IOS; OTHERWISE IT SHOWS WHEN SWITCH IS OFF 
  https://stackoverflow.com/questions/30102792/css-media-query-to-target-only-ios-devices */
@supports (-webkit-touch-callout: none) {
  .switch input {
    opacity: 0;
  }
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: -3px;
  right: 0;
  bottom: 0;
  width: 36px;
  background-color: #a8a8a8;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #1F8DED;
}

input:focus + .slider {
  box-shadow: 0 0 1px #1F8DED;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 16px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ADDED BY BRIAN */
.switch-label {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  padding-right: 8px;
  vertical-align: text-bottom;
}

.slide-switch {
  display: inline-block;
  white-space: nowrap;
  margin-right: 40px;
}

table.slide-table td {
  min-width: 75px;
}

table.subscription td {
  min-width: 130px;
}

table.pricing-table td {
  padding: 6px;
}

.subscription-alarm-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EA5455;
  width: 19px;
  height: 19px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 12px;
}

.copy-button {
  font-size: 22px;
  font-family: "Material Icons Outlined";
  cursor: "pointer";
}
.copy-button:hover {
  color: #a8a8a8;
}

@media (max-width: 1023px) {
  #weather-station .weather-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  #weather-station .inner span.title {
    background: #0074ba;
    color: #e1e1e1;
    padding: 5px 10px;
    border-bottom: 3px solid #f9da00;
    width: 100%;
    border-radius: 0 10px 10px 0;
  }
  #weather-station .inner {
    display: grid;
    grid-auto-flow: column;
  }
  #weather-station .inner span {
    box-sizing: border-box;
  }
  #weather-station .inner > span {
    padding-top: 10px;
  }
  #weather-station .inner .weather-one {
    display: flex;
    flex-direction: column;
  }
  #weather-station .inner .line-one {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
  }
  #weather-station .inner .wind-info {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 2px;
  }
  #weather-station .inner .line-two {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  #weather-station .inner .weather-air {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  #weather-station .inner .weather-light {
    white-space: nowrap;
  }
  #weather-station .inner .weather-rain {
    display: flex;
    gap: 8px;
    white-space: nowrap;
  }
  #weather-station .inner .ws-small-icon {
    color: #1F8DED;
    margin-right: 0px;
    font-size: 14px;
  }
  #weather-station .inner .ws-title {
    font-size: 12px;
  }
  span.material-icons-outlined.ws-small-icon {
    width: 25px !important;
  }
  #weather-station .inner:nth-child(2), #weather-station .inner:nth-child(2) span:nth-child(5) {
    padding-bottom: 12px;
  }
}
@media (min-width: 740px) {
  .weather-line {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .hide-mobile-600 {
    display: none !important;
  }
}
@media (min-width: 601px) {
  .hide-desktop {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  #weather-station .inner span.title {
    background: #0074ba;
    color: #e1e1e1;
    padding: 13px 10px;
    border-right: 5px solid #f9da00;
    border-radius: 0 10px 10px 0;
  }
  #weather-station .inner {
    display: grid;
    grid-template-columns: 13% 17% 17% 17% 18% 18%;
    grid-auto-flow: column;
  }
  #weather-station .inner span {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 10px;
  }
  #weather-station .inner > span {
    padding: 5px 10px;
  }
  #weather-station .inner:nth-child(2) span:nth-child(2) {
    padding: 13px 10px;
  }
}
#\/sidebar\/header > #\/sidebar\/header\/linkBot {
  background-image: url("img/spark-icon.png");
  background-size: 71%;
  width: 66px;
  background-position: 50% -17%;
  background-repeat: no-repeat;
  position: relative;
  top: 5.75px;
  height: 40px;
}

#\/sidebar\/header > .selected#\/sidebar\/header\/linkBot {
  background-position: 50% 116%;
  transition: none;
}

/*
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(109, 106, 106, 0.5); /* Adjust the color and opacity as needed */
/*}*/
@media (max-width: 1023px) {
  #infoWindow {
    width: 100% !important;
    right: 0 !important;
    top: 63px !important;
    height: 92vh !important;
  }
  #infoWindow > div {
    width: 100% !important;
  }
  h1, #breadcrumb-container, #weather-station, #content-area, #footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  #infoWindow > div > div {
    width: 100% !important;
    min-height: 4vh !important;
    max-height: 100vh !important;
    padding: 2px;
  }
  #infoWindow > div > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0px 10px !important;
  }
}
.cbHost-nIcon {
  display: flex;
}
.cbHost-nIcon span {
  margin-right: 15px;
}
.cbHost-nIcon span label {
  background: #1f8ded;
  width: 25px;
  height: 25px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cbHost-nIcon h3 {
  margin: 4px 0 0 0;
}

.cbHost-nIcon span label img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cbGuest .cbHost-nIcon span label {
  background: black;
}

.cbChat-fChild .chArea-wrap textarea.cbtextArea {
  width: 100%;
  height: 90px;
  outline: none;
  resize: none;
}

.btn-area ul {
  margin: 0px;
  list-style: none;
  display: flex;
  justify-content: right;
  position: relative;
}
.btn-area ul li.cbSync button {
  background: #1f8ded;
  width: 48px;
  height: 36px;
  color: white;
}

/* Enhanced existing styles for iOS compatibility */
.chat-container {
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.cbtextArea {
  width: 100%;
  height: 90px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
  outline: none;
  font-size: 16px !important;
  -webkit-appearance: none;
}

.btn-area {
  margin-top: 8px;
}

.replyReaction {
  display: flex;
  justify-content: right;
  margin-top: 5px;
}

.replyReaction span {
  width: 20px;
  margin-right: 8px;
}

.btn-ul {
  margin: 0px;
  list-style: none;
  display: flex;
  justify-content: right;
  position: relative;
  align-items: center;
}

.sendButton {
  background: #1f8ded;
  width: 36px;
  height: 36px;
  background-image: url("img/send-btn-white.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 35%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.ldrChBox {
  bottom: 15px;
  display: block;
  width: 36px;
  height: 36px;
  background: #1f8ded;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
  box-sizing: border-box;
  right: 0;
}

.togglesButtons {
  margin-right: 100px !important;
}

.togglesButtons.onlyTraining {
  margin-right: 190px !important;
}

@media (min-width: 1000px) {
  .togglesButtons.bothButtons {
    margin-right: 190px !important;
  }
  .togglesButtons.onlyTraining {
    margin-right: 290px !important;
  }
}
li.btn-area {
  justify-content: right !important;
  flex-direction: row;
}

ul li.edMode {
  display: flex;
  margin-right: 115px;
}

ul li.edMode .slide-switch {
  margin: 0;
  margin-top: 14px;
  margin-right: 0;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
}

.bar {
  width: 3px;
  height: 10px;
  background-color: #333;
  animation: waveAnim 1s infinite ease-in-out;
  border-radius: 2px;
}

.bar:nth-child(2) {
  animation-delay: 0.1s;
}

.bar:nth-child(3) {
  animation-delay: 0.2s;
}

.bar:nth-child(4) {
  animation-delay: 0.3s;
}

.bar:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes waveAnim {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 20px;
  }
}
@keyframes pill-heartbeat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
  14% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(42, 168, 255, 0.2);
  }
  28% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
  42% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(42, 168, 255, 0.2);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
}
/* Safe area support for newer iOS devices */
@supports (-webkit-touch-callout: none) {
  .cbFormWrap {
    -webkit-overflow-scrolling: touch;
  }
}
.chatbot-toast-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 10px;
  border-radius: 5px;
}

.chatbot-sync-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chatbot-sync-success-icon {
  font-size: 18px;
  color: #43a047;
}

.edMode input[type=file] {
  position: relative !important;
}

.btn-area ul li.cbSync {
  position: absolute;
  right: 0;
  bottom: 11px;
}

li.edMode > div:nth-child(2) {
  margin-top: 5px;
}

#sidebar-content .inner {
  overflow: hidden !important;
}

#sidebar-tasks {
  height: calc(100vh - 300px);
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 10px;
  box-sizing: border-box;
}

#sidebar-content .inner div > div #\/sidebar\/auditLog {
  overflow-y: scroll;
  height: calc(100vh - 300px);
  overflow-x: hidden;
  padding-right: 10px;
  box-sizing: border-box;
}

#sidebar-content .inner div > div #\/sidebar\/weatherInfo {
  overflow-y: scroll;
  height: calc(100vh - 300px);
  overflow-x: hidden;
  padding-right: 10px;
  box-sizing: border-box;
}

#sidebar-content .inner div > div #\/sidebar\/growJournal {
  overflow-y: scroll;
  height: calc(100vh - 300px);
  overflow-x: hidden;
  padding-right: 10px;
  box-sizing: border-box;
}

#\/sidebar\/growJournalEntry {
  padding-right: 10px;
}

#sidebar-alarms {
  overflow-y: scroll;
  height: calc(100vh - 300px);
  padding-right: 10px;
  overflow-x: hidden;
}

/* loading.css */
.loading-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loadside-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #ccc;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.info-section .floatleft {
  width: 100%;
}

.info-section .floatleft > span:nth-child(2) {
  word-wrap: break-word;
}

.cbChat-sChild {
  min-height: 120px;
  max-height: calc(100vh - 325px);
}

.replyReaction {
  display: flex;
  justify-content: right;
  margin-top: 5px;
}
.replyReaction span {
  width: 20px;
  margin-right: 8px;
}

.cbConversationWrap {
  min-height: calc(100vh - 508px);
  max-height: calc(100vh - 508px);
  overflow-y: scroll;
}

.cbHost .cbAns p > div > ul > li > p {
  margin-left: 0;
}

span.lBtn > svg:hover {
  fill: #1f8ded;
  cursor: pointer;
}

span.lBtn > svg:active, span.lBtn > svg:focus {
  fill: #1f8ded;
}

span.lBtn:focus {
  fill: #1f8ded;
}

.cbTextareStatic {
  position: absolute;
  width: 100%;
  bottom: 15px;
}

.cbfileWrap .ui-doc.cbFileTab > h2 {
  display: none;
}

ul.document-list.docTabWrap li.document-item h3.docTab {
  margin-bottom: 5px;
  margin-top: 22px;
}

ul.document-list.docTabWrap {
  list-style: none;
  padding: 0;
  min-height: calc(100vh - 508px);
  max-height: calc(100vh - 508px);
  overflow-y: scroll;
  padding-right: 10px;
  box-sizing: border-box;
  padding-top: 25px;
  overflow-x: hidden;
}

.docActions {
  display: flex;
  justify-content: right;
}

.docActions span {
  margin-left: 11px;
}

.docActions span svg {
  width: 20px;
}

ul.document-list.docTabWrap li.document-item {
  border-bottom: 1px solid #C1C1C1;
}

.docActions span.viewIcon:hover svg {
  fill: #1f8ded;
  cursor: pointer;
}

.docActions span.delIcon:hover svg {
  fill: red;
  cursor: pointer;
}

.cbFileInner {
  height: calc(100vh - 334px);
}

.chFtArea.chArea-wrap textarea {
  width: 100%;
  height: 90px;
  outline: none;
  resize: none;
}

.btn-area.fModeBtn ul {
  margin-top: 5px;
}

.btn-area.fModeBtn ul.cb-doc-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.btn-area.fModeBtn ul.cb-doc-toolbar li.edMode {
  margin-right: 0;
  display: flex;
  align-items: center;
  position: relative;
}

.btn-area.fModeBtn ul.cb-doc-toolbar li.cb-doc-attach > div {
  display: flex;
  align-items: center;
}

.btn-area.fModeBtn ul li.cbSend {
  bottom: 0;
}

.btn-area.fModeBtn ul li.cbSync {
  bottom: 0;
}

.chatbot-toast-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1F8DED;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
}

.dot-loader {
  width: 60px;
  aspect-ratio: 4;
  --_g: no-repeat radial-gradient(circle closest-side,#000 90%,#0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: 33.3333333333% 100%;
  animation: l7 1s infinite linear;
}

@keyframes l7 {
  33% {
    background-size: 33.3333333333% 0%, 33.3333333333% 100%, 33.3333333333% 100%;
  }
  50% {
    background-size: 33.3333333333% 100%, 33.3333333333% 0%, 33.3333333333% 100%;
  }
  66% {
    background-size: 33.3333333333% 100%, 33.3333333333% 100%, 33.3333333333% 0%;
  }
}
.pagination_report_list {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.pagination_report_list button {
  margin: 0 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.pagination_report_list button.active {
  font-weight: bold;
}

/* Time picker */
.time-picker {
  font-size: 12px;
  margin-bottom: 8px;
  display: inline-block;
  color: #6E6B7B;
  display: block;
  user-select: none;
  font-weight: 600;
}

.hr16-weather-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 6px;
  margin: 8px 32px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hr16-weather-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 5px;
}

.hr16-status-rows {
  flex: 1;
  min-width: 0;
}

.hr16-sensor-row {
  border-top: 1px solid #e6e6e6;
  padding-top: 6px;
  margin-top: 2px;
  margin-right: 18px;
}

.hr16-weather-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-right: 1px solid #eeeeee;
  flex: 0 0 130px;
  min-width: 130px;
}

.hr16-weather-item:last-child {
  border-right: none;
}

.hr16-weather-icon {
  font-size: 18px;
}

.hr16-weather-stack {
  display: flex;
  flex-direction: column;
}

.hr16-weather-value {
  font-size: 13px;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.1;
}

.hr16-weather-unit {
  margin-left: 2px;
  font-size: 11px;
  color: #6b6b6b;
}

.hr16-metar-globe {
  margin-right: 2px;
  font-size: 14px !important;
  color: #9aa0a6;
  vertical-align: middle;
}

.hr16-weather-label {
  font-size: 10px;
  color: #7a7a7a;
  white-space: nowrap;
}

.hr16-weather-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  float: none;
  flex: 0 0 auto;
}

.hr16-weather-actions.section-controls {
  float: none;
}

.hr16-weather-actions .settings-button {
  margin-left: 0;
}

/* Icon color overrides */
.hr16-weather-bar .hr16-weather-icon.hr16-weather-blue {
  color: #20a8d8 !important;
}

.hr16-weather-bar .hr16-weather-icon.hr16-weather-orange {
  color: #f28c2a !important;
}

.hr16-weather-bar .hr16-weather-icon.hr16-weather-green {
  color: #8dbf4f !important;
}

.hr16-weather-bar .hr16-weather-icon.hr16-weather-gray {
  color: #8a8f99 !important;
}

.hr16-weather-bar .hr16-weather-icon.hr16-weather-purple {
  color: #9b59b6 !important;
}

.hr16-weather-item-link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  transition: background-color 0.15s;
}
.hr16-weather-item-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Collapsible section (fui controls) */
.collapsible-section input.collapse-toggle {
  display: none;
}

.collapsible-section .collapse-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.collapsible-section .collapse-header::before {
  content: "▼";
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 12px;
}

.collapsible-section .collapse-toggle:checked ~ .collapse-header::before {
  transform: rotate(-90deg);
}

.collapsible-section .collapse-content {
  overflow: hidden;
  max-height: 1000px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.collapsible-section .collapse-toggle:checked ~ .collapse-content {
  max-height: 0;
  opacity: 0;
}

.collapse-content {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: 20px;
}

/* HR16 weather bar action buttons */
.hr16-weather-actions {
  gap: 8px;
}

.hr16-weather-actions .icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hr16-weather-actions .quick-charts {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  background-color: #e3e3e3;
}

.hr16-weather-actions .quick-charts .material-icons-outlined,
.hr16-weather-actions .quick-charts .material-symbols-outlined {
  font-size: 24px;
  line-height: 40px;
}

.hr16-weather-actions .settings-button {
  border: 1px solid #bcbcbc;
}

.hr16-button-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px;
  align-items: center;
}

.hr16-button-grid .quick-charts {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  background-color: #e3e3e3;
  border: 1px solid #bcbcbc;
}

.hr16-button-grid .quick-charts .material-icons-outlined {
  font-size: 20px;
  line-height: 40px;
}

.hr16-button-grid .settings-button,
.hr16-button-grid .phys-button {
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcbcbc;
}

.hr16-button-grid .quick-charts {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  background-color: #e3e3e3;
  border: 1px solid #bcbcbc;
}

.hr16-button-grid .quick-charts .material-icons-outlined {
  font-size: 20px;
  line-height: 40px;
}

.hr16-button-grid .settings-button,
.hr16-button-grid .phys-button {
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcbcbc;
}

@media (max-width: 600px) {
  .hr16-weather-bar {
    margin: 8px 12px 16px;
    padding: 8px 6px;
  }
  .hr16-weather-items {
    width: 100%;
    gap: 0px;
  }
  .hr16-weather-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hr16-weather-item {
    width: auto;
    border-right: none;
    padding: 6px 8px;
    min-width: 0;
    flex: none;
  }
  .hr16-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hr16-button-grid .quick-charts.hide-mobile-600 {
    display: inline-flex !important;
  }
}
@media (max-width: 500px) {
  .customdrop-section {
    margin-top: 55px;
  }
  #content-area {
    margin-left: 10px;
  }
  #content-area section {
    width: 93%;
  }
}
/* ===================================================
  CHATBOT ENHANCEMENTS (migrated from public/style.css)
  =================================================== */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  max-width: 100%;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}

.cbtextArea {
  width: 100%;
  height: 90px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
  outline: none;
  font-size: 16px !important;
  -webkit-appearance: none;
}

.btn-area {
  margin-top: 8px;
}

.replyReaction {
  display: flex;
  justify-content: flex-start;
  margin-top: 5px;
  max-width: 100%;
  overflow: visible;
  flex-wrap: nowrap;
  gap: 4px;
}

.replyReaction span {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin-right: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-ul {
  margin: 0px;
  list-style: none;
  display: flex;
  justify-content: right;
  position: relative;
  align-items: center;
}

.sendButton {
  background: #1f8ded;
  width: 36px;
  height: 36px;
  background-image: url("img/send-btn-white.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 35%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.sendButton:disabled,
.sendButton.sendButton--loading {
  opacity: 0.65;
  cursor: not-allowed;
}

.cb-chat-compose {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-top: 1px solid #e0e0e0;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: #fff;
  max-width: 100%;
  box-sizing: border-box;
}

.cb-chat-header {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0;
  color: #333;
  flex-shrink: 0;
  padding: 0 12px;
}

.cb-chat-header-ai {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-left: 6px;
}

.cb-chat-input-shell {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  background: #f8f8f8;
  border-radius: 24px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cb-chat-compose .cbtextArea {
  color: #333;
  background: transparent;
  border: none;
}

.cb-input-wrap {
  position: relative;
  margin-top: 8px;
}

.cb-input-wrap .cbtextArea {
  display: block;
  padding-bottom: 44px;
  box-sizing: border-box;
}

.cb-input-toolbar {
  position: absolute;
  bottom: 8px;
  right: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: none;
}

.cb-input-toolbar > * {
  pointer-events: auto;
}

.cb-input-toolbar .cb-training-toggle {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-training-label {
  font-size: smaller;
  white-space: nowrap;
}

.cb-send-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cb-input-wrap .ldrChBox {
  position: static;
  bottom: auto;
  right: auto;
}

.cb-voice-recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.cb-mic-btn {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f8ded 0%, #1565c0 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(31, 141, 237, 0.42);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cb-mic-btn svg {
  font-size: 32px;
}

.cb-mic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(31, 141, 237, 0.5);
}

.cb-mic-btn:active {
  transform: scale(0.96);
}

.cb-mic-btn--recording {
  background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.45);
  animation: cb-mic-pulse 1.4s ease-in-out infinite;
}

.cb-mic-btn--recording:hover {
  box-shadow: 0 6px 22px rgba(229, 57, 53, 0.55);
}

@keyframes cb-mic-pulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(229, 57, 53, 0.45);
  }
  50% {
    box-shadow: 0 4px 24px rgba(229, 57, 53, 0.65), 0 0 0 8px rgba(229, 57, 53, 0.12);
  }
}
.cb-voice-wave {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 32px;
  align-items: flex-end;
}

.cb-voice-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}

.cb-voice-wave-bars .bar {
  width: 4px;
  height: 10px;
  background-color: #1f8ded;
  border-radius: 3px;
  animation: cb-voice-waveAnim 0.85s infinite ease-in-out;
}

.cb-voice-recorder--listening .cb-voice-wave-bars .bar {
  background-color: #ef5350;
}

.cb-voice-wave-bars .bar:nth-child(1) {
  animation-delay: 0s;
}

.cb-voice-wave-bars .bar:nth-child(2) {
  animation-delay: 0.1s;
}

.cb-voice-wave-bars .bar:nth-child(3) {
  animation-delay: 0.2s;
}

.cb-voice-wave-bars .bar:nth-child(4) {
  animation-delay: 0.3s;
}

.cb-voice-wave-bars .bar:nth-child(5) {
  animation-delay: 0.15s;
}

.cb-voice-wave-bars .bar:nth-child(6) {
  animation-delay: 0.25s;
}

.cb-voice-wave-bars .bar:nth-child(7) {
  animation-delay: 0.35s;
}

@keyframes cb-voice-waveAnim {
  0%, 100% {
    height: 8px;
    opacity: 0.55;
  }
  50% {
    height: 28px;
    opacity: 1;
  }
}
.cb-voice-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

.cb-voice-transcribing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  justify-content: center;
}

.cb-voice-transcribing-label {
  font-size: 12px;
  color: #6b7280;
}

@media (min-width: 1025px) {
  .cb-mic-btn {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
  }
  .cb-mic-btn svg {
    font-size: 34px;
  }
  .cb-voice-recorder {
    padding: 14px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 1024px) {
  .cb-input-wrap .cbtextArea {
    padding-bottom: 48px;
  }
  .cb-input-toolbar {
    bottom: 6px;
    right: 6px;
    left: 6px;
    gap: 6px;
  }
  .cb-input-wrap .sendButton,
  .cb-input-wrap .ldrChBox {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .cb-voice-recorder {
    padding: 8px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .cb-mic-btn {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
  }
  .cb-mic-btn svg {
    font-size: 36px;
  }
}
.ldrChBox {
  bottom: 15px;
  display: block;
  width: 36px;
  height: 36px;
  background: #1f8ded;
  border-radius: 10px;
  padding: 10px 10px 10px 10px;
  box-sizing: border-box;
  right: 0;
}

.togglesButtons {
  margin-right: 100px !important;
}

.togglesButtons.onlyTraining {
  margin-right: 190px !important;
}

@media (min-width: 1000px) {
  .togglesButtons.bothButtons {
    margin-right: 190px !important;
  }
  .togglesButtons.onlyTraining {
    margin-right: 290px !important;
  }
}
li.btn-area {
  justify-content: right !important;
  flex-direction: row;
}

ul li.edMode {
  display: flex;
  margin-right: 115px;
}

ul li.edMode .slide-switch {
  margin: 0;
  margin-top: 14px;
  margin-right: 0;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
}

.bar {
  width: 3px;
  height: 10px;
  background-color: #333;
  animation: waveAnim 1s infinite ease-in-out;
  border-radius: 2px;
}

.bar:nth-child(2) {
  animation-delay: 0.1s;
}

.bar:nth-child(3) {
  animation-delay: 0.2s;
}

.bar:nth-child(4) {
  animation-delay: 0.3s;
}

.bar:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes waveAnim {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 20px;
  }
}
@keyframes pill-heartbeat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
  14% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(42, 168, 255, 0.2);
  }
  28% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
  42% {
    transform: scale(1.04);
    box-shadow: 0 0 0 4px rgba(42, 168, 255, 0.2);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 168, 255, 0.35);
  }
}
/* Safe area support for newer iOS devices */
@supports (-webkit-touch-callout: none) {
  .cbFormWrap {
    -webkit-overflow-scrolling: touch;
  }
}
.chatbot-toast-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 10px;
  border-radius: 5px;
}

.chatbot-sync-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chatbot-sync-success-icon {
  font-size: 18px;
  color: #43a047;
}

.cb-doc-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 4px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(193, 193, 193, 0.6);
  flex-wrap: wrap;
}

.cb-doc-header-text {
  flex: 1;
  min-width: 140px;
}

.cb-doc-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

.cb-doc-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
}

.cb-doc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cb-doc-sync-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f8ded 0%, #1565c0 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(31, 141, 237, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.cb-doc-sync-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(31, 141, 237, 0.45);
}

.cb-doc-sync-btn:active:not(:disabled) {
  transform: translateY(0);
}

.cb-doc-sync-btn:disabled {
  opacity: 0.88;
  cursor: default;
}

.cb-doc-sync-btn .cb-doc-sync-icon {
  font-size: 18px;
  color: #fff;
}

.cb-doc-sync-btn--syncing .cb-doc-sync-icon {
  animation: cb-sync-spin 0.9s linear infinite;
}

@keyframes cb-sync-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.cb-doc-sync-feedback {
  animation: cb-sync-fade-in 0.25s ease;
}

@keyframes cb-sync-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cb-doc-upload-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cb-doc-upload-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #d1d5db !important;
  background: #f9fafb !important;
  color: #374151 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cb-doc-upload-btn:hover {
  background: #eef6ff !important;
  border-color: #1f8ded !important;
  color: #1f8ded !important;
  transform: translateY(-1px);
}

.cb-doc-upload-input {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 2;
}

.cb-doc-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  min-height: 140px;
}

.cb-doc-loading-label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.2;
}

.cb-doc-loading-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cb-doc-loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f8ded;
  animation: dotBounce 1.4s infinite ease-in-out;
}

.cb-doc-loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.cb-doc-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.cb-doc-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@media (max-width: 1024px) {
  .cb-doc-header {
    padding: 8px 2px 12px;
  }
  .cb-doc-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cb-doc-sync-btn {
    padding: 10px 16px;
    min-height: 44px;
  }
  .cb-doc-upload-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
  }
}
/* ===================================================
  CHATBOT REDESIGN (migrated from public/style.css)
  =================================================== */
/* ========================================
   REDESIGN: Chatbot UI Improvements
   Clean, minimal aesthetic with better UX
   ======================================== */
/* REDESIGN: Shared message bubble styling for bot and user */
.cb-msg-bubble {
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

.cb-msg-bubble p {
  margin: 0;
  max-width: 100%;
  color: #333;
}

.cbHost:not(.cbGuest) .cb-msg-bubble {
  max-width: 100%;
  width: 100%;
}

.cbGuest .cb-msg-bubble {
  max-width: calc(100% - 46px);
  width: fit-content;
  text-align: left;
}

.cb-msg-bubble .cbAns,
.cb-msg-bubble .cbAns p,
.cb-msg-bubble .cbAns li,
.cb-msg-bubble .cbAns span {
  color: #333;
}

/* REDESIGN: Cleaner message bubbles with proper spacing */
.cbHost {
  margin-bottom: 16px;
}

.cbGuest {
  margin-bottom: 16px;
}

/* REDESIGN: Bot message actions always visible */
/* REDESIGN: Smooth transitions for feedback icons */
.replyReaction {
  transition: opacity 0.2s ease-in-out;
  flex-wrap: nowrap !important;
}

.replyReaction span {
  transition: background 0.2s ease;
  flex-shrink: 0 !important;
}

.replyReaction span:hover {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
}

/* REDESIGN: Ensure textarea auto-expands naturally */
.cbtextArea {
  overflow-y: auto;
  max-height: 120px;
  min-width: 0;
  width: 100%;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.cbtextArea::-webkit-scrollbar {
  width: 4px;
}

.cbtextArea::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

/* REDESIGN: Send button hover effect */
.sendButton:hover:not(:disabled) {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* REDESIGN: Mobile optimizations for touch targets */
@media (max-width: 768px) {
  .replyReaction span {
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .cbHost, .cbGuest {
    margin-bottom: 20px;
  }
}
/* REDESIGN: Chat scroll area styling */
.chat-messages {
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* REDESIGN: Loading animation for thinking state with better styling */
.dot-loader {
  display: inline-block;
  color: #888;
  font-size: 16px;
  animation: dotPulse 1.4s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
/* REDESIGN: Bouncing dot animation for loader */
@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}
/* REDESIGN: Wave animation for voice recording */
@keyframes waveAnimation {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1.2);
  }
}
/* VOICE MODE: Continuous listening bar (contained within chatbot panel) */
.voice-mode-bottom-bar {
  flex-shrink: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

.voice-mode-status {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.voice-mode-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 320px;
}

.voice-mode-side-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  flex-shrink: 0;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.voice-mode-side-btn:hover {
  background: #e8e8e8;
}

.voice-mode-mic-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.voice-mode-mic-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  animation: micPulseRing 2s infinite ease-out;
  pointer-events: none;
}

.voice-mode-mic-button {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.voice-mode-mic-button--listening {
  background: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.voice-mode-mic-button--active {
  background: #888;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.voice-mode-mic-button--paused {
  background: #f5f5f5;
  border: 3px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.voice-mode-wave.cb-voice-wave-bars {
  height: 28px;
}

.voice-mode-wave--live.cb-voice-wave-bars .bar {
  animation: none;
  width: 4px;
  min-height: 8px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 3px;
  transition: height 0.08s ease-out;
}

@keyframes micPulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}
/* VOICE MODE: Pulsing animation for listening state */
@keyframes voicePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(31, 141, 237, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(31, 141, 237, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(31, 141, 237, 0);
  }
}
/* REDESIGN: Input bar focus state */
.cb-chat-compose textarea:focus {
  outline: none;
}

/* REDESIGN: Smooth markdown rendering in messages */
.cbAns {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.cbAns p {
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.cbAns code {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cbAns pre {
  background: rgba(0, 0, 0, 0.05);
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 8px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* MOBILE: Better markdown rendering on small screens */
.cbAns ul, .cbAns ol {
  padding-left: 20px;
  margin: 8px 0;
}

.cbAns li {
  margin: 4px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cbAns strong, .cbAns b {
  font-weight: 600;
}

.cbAns em, .cbAns i {
  font-style: italic;
}

/* MOBILE: Better table support */
.cbAns table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
  margin: 8px 0;
}

.cbAns th, .cbAns td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.cbAns th {
  background: #f5f5f5;
  font-weight: 600;
}

/* MOBILE: Better code blocks */
.cbAns pre code {
  display: block;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* MOBILE: Better blockquote */
.cbAns blockquote {
  border-left: 3px solid #8b5cf6;
  padding-left: 12px;
  margin: 8px 0;
  font-style: italic;
  color: #555;
}

/* REDESIGN: Prevent horizontal overflow on all devices */
.cbFormWrap {
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ensure direct children that aren't forms don't shrink */
.cbFormWrap > *:not(form) {
  flex-shrink: 0;
  max-width: 100%;
}

/* Ensure forms can grow to fill space */
.cbFormWrap > form {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-messages, .cb-chat-compose {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.cbHost, .cbGuest {
  max-width: 100%;
  overflow-x: visible;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure root container has proper height */
#root, #root > * {
  height: 100%;
}

/* REDESIGN: Mobile text rendering improvements */
@supports (-webkit-touch-callout: none) {
  /* iOS-specific fixes */
  .cbAns, .chat-messages, .cbtextArea {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  input, textarea, button {
    -webkit-appearance: none;
    appearance: none;
  }
}
/* REDESIGN: Mobile responsiveness improvements */
@media (max-width: 768px) {
  /* Better message bubbles on mobile */
  .cbHost, .cbGuest {
    max-width: 100%;
  }
  /* Ensure feedback buttons are always visible */
  .cbHost > div:last-child {
    max-width: calc(100% - 46px) !important;
    min-width: 0 !important;
  }
  .cbHost .replyReaction {
    display: flex !important;
    flex-wrap: nowrap !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    gap: 4px !important;
  }
  /* Better input bar positioning on mobile */
  .cb-chat-compose {
    flex-shrink: 0 !important;
    padding: 12px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    border-top: 1px solid #e0e0e0 !important;
  }
  /* Better touch targets for mobile */
  .cb-chat-compose button {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  /* Better textarea behavior on mobile */
  .cbtextArea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    -webkit-overflow-scrolling: touch;
  }
  /* Improve readability on small screens */
  .chat-messages {
    padding: 12px !important;
    font-size: 15px !important;
    flex: 1 !important;
    min-height: 0 !important;
  }
  /* Make avatars slightly smaller on mobile */
  .cbHost > div:first-child,
  .cbGuest > div:first-child {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }
  /* Optimize bot message bubble width */
  .cbHost:not(.cbGuest) > div:last-child > div:first-child {
    max-width: 100% !important;
    width: 100% !important;
  }
  /* Better list formatting on mobile */
  .cbAns ul, .cbAns ol {
    padding-left: 16px !important;
  }
  /* Optimize header for mobile */
  .cbFormWrap h3 {
    font-size: 15px !important;
    margin: 8px 0 !important;
  }
  /* Voice mode controls - better touch targets */
  .voice-mode-mic-button {
    min-width: 64px !important;
    min-height: 64px !important;
  }
  .voice-mode-bottom-bar {
    padding: 10px 12px max(12px, env(safe-area-inset-bottom)) !important;
  }
  .voice-mode-controls {
    gap: 20px !important;
  }
  /* Better spacing for mobile in voice mode */
  .chat-messages {
    padding: 12px !important;
    flex: 1 !important;
    min-height: 0 !important;
  }
}
/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 390px) {
  /* Smaller avatars on very small screens */
  .cbHost > div:first-child,
  .cbGuest > div:first-child {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }
  /* More compact bot message bubbles */
  .cbHost:not(.cbGuest) > div:last-child > div:first-child {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
  /* Compact input bar */
  .cb-chat-compose {
    padding: 8px !important;
  }
  /* Smaller buttons on very small screens */
  .cb-chat-compose button {
    width: 36px !important;
    height: 36px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
}
/* Desktop and Tablet devices (larger than mobile) */
@media (min-width: 769px) {
  /* Better max-width for chat on larger screens */
  .cbFormWrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 !important;
  }
  /* Better spacing for chat messages on desktop */
  .chat-messages {
    padding: 16px 20px !important;
  }
  /* Better bot message bubble sizing on desktop */
  .cbHost:not(.cbGuest) > div:last-child > div:first-child {
    max-width: 100% !important;
    width: 100% !important;
  }
  /* Better input bar on desktop */
  .cb-chat-compose {
    padding: 16px !important;
    flex-shrink: 0 !important;
  }
  /* Better header spacing on desktop */
  .cbFormWrap h3 {
    font-size: 18px !important;
    margin: 16px 20px !important;
    padding: 0 !important;
  }
  /* Ensure all child elements respect container width */
  .cbFormWrap > * {
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* Rain Skip: gray out all equipment rows */
.rain-skip-grayed table.list tbody tr td,
.rain-skip-grayed table.list tbody tr td a,
.rain-skip-grayed table.list tbody tr td span,
.rain-skip-grayed table.list thead tr th {
  color: #b0b8c4 !important;
  pointer-events: none;
}

.rain-skip-grayed table.list tbody tr td a.on-off-indicator,
.rain-skip-grayed table.list tbody tr td a.on-off-indicator.on {
  color: #b0b8c4 !important;
  background: none !important;
}

.rain-skip-grayed table.list tbody tr {
  background-color: transparent !important;
  border-left: none !important;
}

.rain-skip-grayed table.list tbody tr td {
  background-color: transparent !important;
}

/* Rain Skip: muted status bar */
.rain-skip-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 10px 0;
  background: #f0f9ff;
  border: 1px solid #d8f0fd;
  border-radius: 8px;
  font-size: 13px;
  color: #1a446d;
}

.rain-skip-status-bar .water-budget-status-label {
  color: #1a446d;
  font-weight: 600;
}

.rain-skip-status-bar .wb-cd-box {
  background: #e1f2fe;
  border-radius: 12px;
  padding: 2px 12px;
}

.rain-skip-status-bar .wb-cd-val {
  color: #1a446d;
  font-weight: 700;
}

.rain-skip-status-bar .wb-cd-unit {
  color: #3b6d99;
}

.rain-skip-status-bar .wb-cd-sep {
  color: #7faac8;
}

.rain-skip-status-bar .water-budget-cancel-btn {
  color: #1a446d !important;
  background: #f0f9ff !important;
  border: 1px solid #d8f0fd !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.rain-skip-status-bar .water-budget-cancel-btn:hover {
  background: #d8f0fd !important;
  border-color: #b0d8f5 !important;
}

/* Water Budget: styled status bar (same palette as rain skip) */
.water-budget-status-bar-styled {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  margin: 10px 0;
  background: #f0f9ff;
  border: 1px solid #d8f0fd;
  border-radius: 8px;
  font-size: 13px;
  color: #1a446d;
}

.water-budget-status-bar-styled .water-budget-status-label {
  color: #1a446d;
  font-weight: 600;
}

.water-budget-status-bar-styled .wb-cd-box {
  background: #e1f2fe;
  border-radius: 12px;
  padding: 2px 12px;
}

.water-budget-status-bar-styled .wb-cd-val {
  color: #1a446d;
  font-weight: 700;
}

.water-budget-status-bar-styled .wb-cd-unit {
  color: #3b6d99;
}

.water-budget-status-bar-styled .wb-cd-sep {
  color: #7faac8;
}

.water-budget-status-bar-styled .water-budget-cancel-btn {
  color: #1a446d !important;
  background: #f0f9ff !important;
  border: 1px solid #d8f0fd !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.water-budget-status-bar-styled .water-budget-cancel-btn:hover {
  background: #d8f0fd !important;
  border-color: #b0d8f5 !important;
}

.zone-name-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zone-name-time {
  margin: 4px 40px 10px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7e8f;
}

.zone-name-time.not-synced {
  color: #c4333d;
  opacity: 0.8;
}

@media (max-width: 500px) {
  .zone-name-time {
    margin-top: 2px;
  }
  .zone-name-title {
    flex-direction: column;
  }
}
/* Zone error box */
.zone-error-box {
  background-color: #fef2f2;
  border: 1px solid #f9b2b2;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  color: #c4333d;
}

.zone-error-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.zone-error-icon {
  font-size: 20px;
  color: #c4333d;
}

.zone-error-subtitle {
  margin-top: 4px;
  margin-left: 28px;
  font-size: 13px;
  font-weight: 400;
  color: gray;
}

/* Mobile-responsive table horizontal scroll */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.equipment-list.hr16 tr {
  border-bottom: 1px solid lightgrey;
}

/* FUI Irrigation Cycle: start/end row; desktop Start left + End right, mobile single column */
.fui-irrigation-cycle-start-end-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 768px) {
  .fui-irrigation-cycle-start-end-row {
    grid-template-columns: 1fr;
  }
  /* Reorder so mobile shows: Start time → Start astro → End Time → End Astro (children are 1 Start, 2 End, 3 Start astro, 4 End astro) */
  .fui-irrigation-cycle-start-end-row > *:nth-child(1) {
    order: 1;
  }
  .fui-irrigation-cycle-start-end-row > *:nth-child(2) {
    order: 3;
  }
  .fui-irrigation-cycle-start-end-row > *:nth-child(3) {
    order: 2;
  }
  .fui-irrigation-cycle-start-end-row > *:nth-child(4) {
    order: 4;
  }
}
/* FUI Irrigation Cycle: duration + temperature rows; mobile stack duration then temp */
.fui-irrigation-cycle-duration-temp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 768px) {
  .fui-irrigation-cycle-duration-temp-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
/* FUI Irrigation Scheduled: start time + duration pairs; mobile stack start then duration */
.fui-irrigation-scheduled-start-duration-pair {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 768px) {
  .fui-irrigation-scheduled-start-duration-pair {
    flex-direction: column;
    gap: 0px;
  }
}

/*# sourceMappingURL=style.css.map */
