/*
Copyright (c) 2025 Ronni Kahalani

X: https://x.com/RonniKahalani
Website: https://learningisliving.dk
LinkedIn: https://www.linkedin.com/in/kahalani/

Permission is hereby granted, free of charge, to any person obtaining a copy  
of this software and associated documentation files (the "Software"), to deal  
in the Software without restriction, including without limitation the rights  
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell  
copies of the Software, and to permit persons to whom the Software is  
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all  
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  
SOFTWARE.
*/

::backdrop {
    background-color: rgb(0, 0, 0);
    opacity: 0.75;
}

.personality-title {
    font-size: 1.5em;
}

#speaking-now {
    text-align: center;
    margin: 300px 100px;
    display: none;
}

#speaking-now-name {
    font-size: 1.5em;
    display: block;
}

.border-low {
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
}

.blink-me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.message-time-ago {
    display: block;
}

.btn-nav {
    width: 130px;
    margin-right: 2px;
}

.bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
}

.bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
}

.bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
}

.icon {
    cursor: pointer;
}

.message-spinner {
    width: 15px;
    height: 15px;
}

.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}

.main-container {
    min-height: 800px;
    min-width: 90%;
}

.good-evil-content {
    width: 512px;
    height: 512px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('../img/good-evil.png');
    opacity: 1;
}

#message-log {
    height: 300px;
    overflow: auto;
    border: 1px solid #6c6c6c;
    border-radius: 10px;
}

#btn-listen {
    height:50px;
    width:50px;
    cursor:pointer;
}

#select-listen-language {
    border: 5px solid #000000;
    border-radius: 10px;
    width:300px;
    font-size: .9em;
}

.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    border-color: white;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
    box-shadow: 2px 2px rgba(55, 55, 55, .5)
}

.bg-light-transparent {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    border-color: white;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
}

.dialog {
    background-color: black;
    border-radius: 10px;
    color: white;
    border: 2px solid white;
}

.modal-content {
    background-color: rgba(0, 0, 0, .85);
    opacity: .95;
    border-radius: 10px;
    border: 2px solid white;
    color: white;
}

#message-input {
    margin-bottom: 10px;
    border: 2px solid #0c0c0c;
    border-radius: 10px;
    height:50px;
}

#message-history {
    width: 100%;
    height: 300px;
    padding: 10px;
    margin-bottom: 10px;
}

.message-user {
    width: 100%;
    font-size: 0.875rem;
    padding: 2px;
    margin-bottom: 2px;
}

.message-assistant {
    width: 100%;
    font-size: 0.875rem;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #0c0c0c;
    margin-bottom: 10px;
}

.info-sm {
    font-size: .8em;
    color: #888;
    margin-left: 5px;
    margin-right: 5px;
}

#btn-ask-good {
    background-color: #005A8D;
}

#btn-ask-evil {
    background-color: #660000; 
}

.btn-primary {
    background-color: #005A8D;
}

.btn-danger {
    background-color: #660000;
}

.mood-evil {
    background-color: #660000;
    color: #fff;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
}

.mood-good {
    background-color: #005A8D;
    color: #fff;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
}

#mainTablist {
    border: none
}

.mpane {
    margin: 10px;
    padding: 10px;
}

.bg-good-evil {

    background-image: -webkit-gradient(linear,
            left bottom,
            right bottom,
            color-stop(0.5, #005A8D),
            color-stop(0.51, #660000));
    color: white;
}

body, html {
    height: 100%;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 1em;
    background-color: #000;
    color: #cfcfcf;
    margin: 0;
    padding: 0;

    background-image: url(../img/heaven-hell.png);
    /*background-image: url('../img/heaven-hell.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

body{overflow:hidden;} 

.message {
    margin: 5px;
    padding: 5px;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
}

#message-good {
    margin: 0px 2px 5px 2px;
    padding: 2px;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #005A8D #6c6c6c;
}

.big-number {
    font-size: 1.5em;
    color: #cfcfcf;
}

#message-evil {
    margin: 0px 2px 5px 2px;
    padding: 2px;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #660000 #6c6c6c;
}

#activity-log {
    width: 100%;
    text-align: left;
    font-size: .9em;
    height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: black #6c6c6c;
}

#select-gpt-model {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
}

i {
    font-style: normal;
}

.totals {
    border-top:1px solid #0c0c0c;
}

.view-activity {
    background-color: #000;
    border: 1px solid #3c3c3c;
    border-radius: 10px;;
    width:25%;
    height:150px;
    font-size:.9em;
    color: #6c6c6c;
    z-index: 100;
}

.view-total {
    background-color: #000;
    border: 1px solid #3c3c3c;
    border-radius: 10px;
    width:25%;
    height:150px;
    font-size:.9em;
    color: #6c6c6c;
    z-index: 100;
}

.label-mic {
    font-size:.9em;
    color: #6c6c6c;
}

.tab-title{
    font-size: 20pt;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
    margin-bottom: 15px;
    border-bottom: 1px solid white;
    margin-bottom:5px;
}

input[type="number"] {
    text-align: right;
}

#bottom-panel {
    z-index: 100;
}

.truncated {
    border: 1px solid white;
    border-radius: 10px;
    background-color: black;
    margin: 5px;
    padding: 5px;
    font-style: italic;
}

p {
    margin: 0px 7px 7px 7px;
}