input.invalid:focus{
    border-color: #ff00005e;
    box-shadow: rgb(221 21 21 / 25%) 0px 0px 0px 0.25rem;
}

input {
    color: black !important ;
}

#victron_notification {
    font-size: 1.2rem;
}

#telegram_sync {
    font-size: 1rem;
}

.chart-container {
    width: 100%; /* Adjust the width to fit the screen */
    height: 400px; /* Set an appropriate height */
    max-width: 100vw; /* Ensure the chart fits within the device's viewport */
    position: relative;
}

.wrong_credentials{
    color: rgb(199 25 25);
}

.error{
    color: rgb(199 25 25);
}

.success{
    color: rgb(54, 174, 10);
}

#last_update_time{
    font-size: 0.8rem;
}

#show_password{
    cursor: pointer;
}

#instructions{
    position: relative;
    top:0px;
    bottom:0px;
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    display: none;
    border-radius: 18px;
    padding: 20px;
}

#instructions_button{
    border-radius: 12px;
    background-color: #ececec;
    color: black;
    border-color: none;
    border-width: 0;
    padding: 10px;
}
#victron_block {
    justify-content: space-between;
    display: flex;
    vertical-align: 20%;
}

/* Tooltip container - position relative for absolute positioning */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Tooltip text - hidden by default */
.tooltip-text {
    font-size: 1rem;
    width: 100%;
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show the tooltip when copying */
.tooltip-container.show-tooltip .tooltip-text {
    visibility: visible;
    opacity: 1;
}

#schedules_block {
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
}

#schedule_card {
    width: 15rem;
    padding: 0;
    margin-top: 15px;
}

#schedule_card:hover {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}