@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;700&display=swap");
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

table {
  text-align: center;
  margin: 10px 0 0 0;
}

.date {
  display: none;
}

.chart {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 450px;
}

.T_row {
  font-weight: 700;
}

.main {
  margin: 100px 100px 0 100px;
}
.main-title {
  text-align: center;
  font-family: "Comfortaa", cursive;
  font-size: 50px;
  margin: 50px;
  font-weight: 600;
  letter-spacing: 25;
}
.main__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.load {
  width: 300px;
  height: 100px;
}

.loading {
  padding: 0 0 200px 0;
  min-width: 100%;
  position: fixed;
  z-index: 117575475471;
  height: 100%;
  background: rgba(100, 100, 100, 0.6);
}
.loading__container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.loading__content img {
  width: 300px;
}

.main_title {
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  word-wrap: break-word;
  text-align: center;
  font-size: 60px;
  font-family: "Russo One", sans-serif;
  letter-spacing: 22px;
}

.status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 10px 0 0 0;
  font-size: 25px;
  font-weight: 600;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.status-container {
  width: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px;
  border-radius: 8px;
}
.status-text {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.status-time {
  text-align: center;
  margin: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.electricity {
  margin: 0 0 5 0px 0;
}

.electricity-container {
  margin: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.electricty-img img {
  width: 200px;
}

.electricity-on {
  display: none;
}

.electricity-off {
  display: none;
}

.electricity-text {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .chart {
    min-height: 350px;
  }
}
@media (max-width: 700px) {
  .main_title {
    font-size: 35px;
    letter-spacing: 4px;
  }
  .electricty-img img {
    width: 150px;
  }
}
@media (max-width: 400px) {
  .electricty-img img {
    width: 120px;
  }
  .status, .electricity-text {
    font-size: 20px;
  }
  .table td, .table th {
    padding: 0.5rem;
    font-size: 10px;
  }
}
.notice-block {
  background-color: #f0f8ff;
  border: 1px solid #b0c4de;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}
.notice-block .notice-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
.notice-block .notice-message {
  font-size: 16px;
  line-height: 1.5;
}

.sort-switch {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.sort-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: white;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 360px;
}
.sort-container div {
  padding: 10px;
  line-height: 1.6;
}

.instruction {
  font-size: 20px;
  color: #333;
  margin-bottom: 0px;
  text-align: center;
}

.sort-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
}

.label {
  color: #333;
  font-weight: 700;
  font-size: 18px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #127cc1;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: green;
}

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

/* General styling for the main container */
.main-blocks {
  margin: 0 0 50px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* Container for all blocks */
.blocks-container {
  width: 100%;
}

/* Styling for each block */
.table-block, .graph-block, .diagram-block {
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.table-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* Title styling */
.block-title {
  background-color: #f0f0f0;
  padding: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* Arrow styling */
.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

/* Rotate arrow when block is open */
.table-block.open .arrow,
.graph-block.open .arrow,
.diagram-block.open .arrow {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

/* Body of each block, initially hidden */
.table-body {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease;
  transition: max-height 0.3s ease;
}

/* Expanded state styling */
.table-block.open .table-body,
.graph-block.open .table-body,
.diagram-block.open .table-body {
  max-height: 100%; /* Adjust as needed for your content */
  padding: 10px 0;
}

/* Optional: Add some extra styling for the body content */
.table-inp_block {
  display: none;
}

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

.table-input-title {
  line-height: 20px;
  margin: 0;
  font-size: 20px;
}

.table-input {
  text-align: center;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  border-radius: 8px;
  height: 50px;
  width: 300px;
  background: #e6e6e6;
  margin: 10px;
  padding: 10px;
}

.table-input:focus {
  -webkit-box-shadow: 0px 0px 30px #127cc1;
          box-shadow: 0px 0px 30px #127cc1;
}

.table-input.error {
  -webkit-box-shadow: red 0px 0px 30px;
          box-shadow: red 0px 0px 30px;
}

.current_input {
  display: block;
}

.table-input-button_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.btn_main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  font-family: "Ubuntu", sans-serif;
  border-radius: 10px;
  width: 310px;
  height: 50px;
  background: #127cc1;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 23px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: white;
}

.table-download_button {
  margin: 0 auto;
}

.table-parameters {
  margin: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.table-freq_select {
  background: #e6e6e6;
  border-radius: 5px;
  padding: 3px;
}

.table-buttons_block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.table-input-button_50 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.2 !important;
  background: green;
  font-size: 15px;
  text-wrap: wrap;
  width: 100%;
  margin: 0 10px;
}

.disable-button {
  background: gray;
}

.table-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  display: none;
  margin: 0 0 10px 0;
}

.temperature-block {
  background: lightblue;
  padding: 10px;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 230px;
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #333;
}

.temperature-icon {
  width: 62px;
  height: 62px;
  margin-right: 10px;
  fill: #127cc1;
}

.temperature-value {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  padding: 0 5px;
}

.degree-symbol {
  padding: 0 5px;
  font-size: 20px;
  color: gray;
  vertical-align: super;
}

.table-title_main .byDate {
  display: none;
}

.table-title_main {
  margin: 20px 0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.input_time {
  margin: 0;
  width: 100px;
}