.device-card {
    position: relative;
    width: 440px;
    max-width: 90vw;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    transition: 0.3s;
}

footer {
    position: fixed;
    bottom: 5px;
    right: 5px;
    color: #666;
}

.connected {
    background-color: #ebebeb;
    color: rgb(39, 39, 39);
}

.disconnected {
    background-color: #d4d4d4;
    color: rgb(151, 151, 151);
    filter: grayscale(100)
}

.device-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.debug-messages {
    font-size: 12px;
    text-align: left;
    margin-top: 5px;
}

.device-input {
    margin-top: 5px;
    width: 100%;
    font-weight: bold;
}

.charger-icon {
    height: 48px;
    width: auto;
    transform: rotate(-1deg);
    filter: brightness(1.5);
}


.mannequin-icon {
    height: 48px;
    width: auto;
    transform: rotate(0deg);
    filter: brightness(1.5);
}

.infineon-icon {
    height: 32px;
    width: auto;
}

.powerbeam-icon {
    height: 32px;
    width: auto;
}

h5 {
    text-align: center;
}

.online-indicator {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #00ff00;
    box-shadow: 1px 1px 1px #000;
    border-radius: 5px;
}

.device-type {
    text-align: right;
    margin-right: 15px;
}

.device-type h5 {
    text-align: right;
}

.out-message {
    width: 100%;
    overflow-y: scroll;
    height: 300px;
    background-color: #000;
    color: #d4d4d4;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.2em;
}

.console-line {
    overflow-wrap: anywhere;
}

.console-status {
    color: yellow;
    font-weight: bold;
    margin-right: 3px;
}

.console-message {
    white-space: pre-wrap;
}

.device-input {
    font-family: 'Courier New', Courier, monospace;
    background-color: #000;
    color: #d4d4d4;
    width: calc(100% - 48px);
}

.terminal-form {
    position: relative;
}

.send-message-btn {
    width: 46px;
    position: absolute;
    top: 5px;
    right: 0;
    height: calc(100% - 10px);
    padding: 0;
    margin: 0;
}

.message-\> .json-key {
    color: #c330e0;
}

.message-\> .json-value {
    color: #e9ec1e;
}

.message-\> .json-string {
    color: #8c68f0;
}


.json-key {
    color: #d57a7a;
}

.json-value {
    color: #b3b328;
}

.json-string {
    color: cyan
}

#powerdesign-logo {
    width: 300px;
}

.ui-autocomplete {
    max-height: 130px;
    overflow-y: scroll;
    overflow-x: hidden;
    font-size: 0.8em;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace !important;

}

.gpt-message {
    color: yellow;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #ff0, -20px 0 #ff02;
        background: #ff0
    }

    33% {
        box-shadow: 20px 0 #ff0, -20px 0 #ff02;
        background: #ff02
    }

    66% {
        box-shadow: 20px 0 #ff02, -20px 0 #ff0;
        background: #ff02
    }

    100% {
        box-shadow: 20px 0 #ff02, -20px 0 #ff0;
        background: #ff0
    }
}


.voice-button {
    position: absolute;
    top: 75px;
    right: 10px;
}

@media (min-width: 1500px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1480px;
    }
}

.update-brain,
.update-firmware {
    padding: 0;
    margin-left: 5px;
}
.ai-button{
    margin-left: 5px;
}