.app-content {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 12px;
}

.header-profile-icon {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.header-icon-style {
    width: 2.2vw;
    height: 2.2vw;
    fill: #ec644c;
    transition: all 0.2s;
    /*viewBox: 0 0 500.000000 500.000000;
    /*preserveAspectRatio:"xMidYMid meet";*/
}

.header-icon-style:hover {
    fill: #b64e37;
    cursor: pointer;
    /*viewBox: 0 0 500.000000 500.000000;
    /*preserveAspectRatio:"xMidYMid meet";*/
}

.header-cog-icon {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.header-logout-icon {
    display: flex;
    flex-flow: column;
    align-items: center;
}

input[type="date"] {
    background: white;
    color: black;
    border: None;
    height: 30px;
    width: 150px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

::-webkit-calendar-picker-indicator {
    background-color: #ec644c;
    height: 30px;
    width: 20px;
    vertical-align: center;
    align-content: center;
}

.save-changes,
.new-schedule-button,
.historic-button {
    font-family: Ubuntu, sans-serif;
    font-size: 25px;
    height: 64px;
    width: 350px;
    background-color: #ec644c;
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
}

.new-schedule-button {
    font-size: 20px;
}

.save-changes:hover,
.new-schedule-button:hover,
.historic-button:hover {
    opacity: 0.7;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.save-changes:active,
.new-schedule-button:active,
.historic-button:active {
    opacity: 0.3;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.historic {
    display: flex;
    flex-direction: column;
}

.header-back {
    height: 15px;
    cursor: pointer;
}

.header-back:hover {
    opacity: 0.7;
}

.historic-header {
    font-size: 40px;
    display: flex;
    flex-direction: row;
}

.historic-header {
    font-family: Ubuntu, sans-serif;
    font-size: 35px;
    color: white;
    margin-left: 115px;
}

.header-back {
    height: 25px;
    margin-right: 20px;
}


table{
    margin: 0 auto;
    width: 100%;
    table-layout: fixed;
    border-spacing:0;
    -moz-border-radius: 5px !important;
    border-collapse: collapse !important;
    border: none !important;
    height: 400px;
}

.tbl {
    display: flex;
    align-content: center;
}

.tbl-content tbody tr:nth-of-type(odd) {
    background-color: white;
}


.tbl-content tbody tr:nth-of-type(even) {
    background-color: rgb(210, 210, 210);
}

.tbl-content tbody tr:hover {
    background-color: #fbddd8;
}

.tbl-content{
    font-family: Ubuntu, sans-serif;
    width: 85%;
    height: 400px;
    overflow-x:auto;
    overflow-y: scroll;
    margin: 0 auto auto;
}

th{
    border-collapse: collapse;
    border: none;
    background-color: #ec644c;
    position: sticky;
    top: 0;
    overflow: auto;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #2F2F2F;
}

th:first-child,td:first-child {
  font-weight:700;
}

td{
    border: none;
  padding: 10px;
  text-align: center;
  vertical-align:middle;
  font-weight: 300;
  font-size: 16px;
  color: #2F2F2F;
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

.made-with-love {
  margin-top: 40px;
  padding: 10px;
  clear: left;
  text-align: center;
  font-size: 10px;
  font-family: Ubuntu, sans-serif;
  color: #2F2F2F;
}
.made-with-love i {
  font-style: normal;
  color: #F50057;
  font-size: 14px;
  position: relative;
  top: 2px;
}
.made-with-love a {
  color: #2F2F2F;
  text-decoration: none;
}
.made-with-love a:hover {
  text-decoration: underline;
}

/* for custom scrollbar for webkit browser*/

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.functions {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
}

.function-button {
    margin-bottom: 20px;
}

.accordion {
    margin-left: -60px;
    width: 400px;
    margin-top: 0px;
}

.accordion li{
    list-style: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: white;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.accordion li label{
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    font-family: Ubuntu, sans-serif;
    color: black;
}

input[type="radio"]{
    display: none;
}

.accordion .content{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}

.accordion .content:hover{
    max-height: 400px;
    padding: 10px 10px 20px;
}

.accordion input[type="radio"]:hover + label + .content{
    max-height: 400px;
    padding: 10px 10px 20px;
}

.checkbox-form {
  --_clr-primary: #464545;
  --_clr-hover: rgba(236, 100, 76, 0.29);
  --_clr-checked: #ec644c;
}
.checkbox-form > div {
  --_clr-current: var(--_clr-primary);

  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkbox-form > div + div {
  margin-block-start: 0.5rem;
}
.checkbox-form label {
  cursor: pointer;
  color: var(--_clr-current);
  transition: color 150ms ease-in-out;
}

/* styled checkbox */
.checkbox-form input[type="checkbox"] {
  appearance: none;
  outline: none;
  width: 1.5rem;
  height: 1.5rem;
  aspect-ratio: 1;
  padding: 0.25rem;
  background: transparent;
  border: 1px solid var(--_clr-current);
  border-radius: 2px;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.checkbox-form input[type="checkbox"]::after {
  content: "\2714";
  opacity: 0;
  transition: opacity 150ms ease-in-out;
  color: var(--_clr-checked);
  font-size: inherit;
  font-family: inherit;
}

.checkbox-form label:hover,
.checkbox-form input[type="checkbox"]:focus-visible,
.checkbox-form input[type="checkbox"]:focus-visible + label,
.checkbox-form input[type="checkbox"]:hover,
.checkbox-form input[type="checkbox"]:hover + label {
  --_clr-current: var(--_clr-hover);
}
.checkbox-form input[type="checkbox"]:focus-visible::after,
.checkbox-form input[type="checkbox"]:hover::after {
  opacity: 0.5;
  color: var(--_clr-hover);
}

.checkbox-form input[type="checkbox"]:checked + label:not(:hover),
.checkbox-form input[type="checkbox"]:checked:not(:hover) {
  --_clr-current: var(--_clr-checked);
}
.checkbox-form input[type="checkbox"]:checked::after {
  opacity: 1;
}

.change-tariffs-content {
    display: flex;
    flex-direction: row;
}

.contracted-power-input {
    border: 2px solid transparent;
    width: 15em;
    height: 2.5em;
    padding-left: 0.8em;
    outline: none;
    overflow: hidden;
    background-color: #F3F3F3;
    border-radius: 10px;
    transition: all 0.5s;
    max-width:50px;
    font-size: 15px;
    text-align: center;
}

.contracted-power-input:hover,
.contracted-power-input:focus {
  border: 2px solid #ec644c;
  box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
  background-color: white;

}

.generating-schedule {
    display: flex;
    flex-flow: column;
    align-items: center;
}


.wait-schedule {
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.contracted-power {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.tariffs-dropdown {
    margin-top: 7px;
    font-size: 16px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s;
}

.tariffs-dropdown:hover,
.tariffs-dropdown:focus {
    border: 2px solid #ec644c;
    box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
    background-color: white;
}

.card {
    width: 450px;
    height: 400px;
    border-radius: 20px;
    background: #c9c9c9;
    margin-top: 0;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.options {
    margin-top: 45px;
}

.card-details {
 color: black;
 height: 100%;
 gap: .5em;
 display: grid;
}

.text-body {
 color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 15px;
    margin-left: 18px;
}

/*Hover*/
.card:hover {
 border-color: #ec644c;
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.gear {
    animation: rotation2 5s infinite linear;
}

@keyframes rotation2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.custom-button {
    background-color: white;
    color: black;
    font-size: 11px; /* reduzi de 16px para ~11px, cerca de 30% menos */
    padding: 7px 14px; /* reduzi de 10px 20px para ~7px 14px */
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 15px;
    font-family: Ubuntu, sans-serif;
}

.custom-button:hover,
.custom-button:focus {
    border: 2px solid #ec644c;
    box-shadow: 0px 0px 0px 7px rgba(74, 157, 236, 0.2);
    background-color: white;
}

.restriciton{
    display:none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index:1000;
    font-size: 20px;
    color: black;
    font-family: Ubuntu, sans-serif;
    text-align: center;
}