/*body{*/
/*    font-size: 5vh;*/
/*    font-family: sans-serif;*/
/*    overflow: hidden;*/
/*    display: flex;*/
/*    margin: 0;*/
/*    padding:0;*/
/*    flex-direction: column;*/
/*}*/



/*.action-item.person .text {*/
/*    display: none;*/
/*    color: black;*/
/*    font-size: 0.9rem;*/
/*    z-index: 3;*/
/*    !* text-shadow: 1px 1px 1px rgba(0,0,0,0.95); *!*/
/*}*/

/*.message-item:hover .action-item.person .text {*/
/*    display: inline-block;*/
/*    !* position: absolute; *!*/
/*}*/

/*!*******!*/
/*.message-item {*/
/*    flex-direction: row;*/
/*    margin-top: 3px;*/
/*}*/

/*.message-item.is-current-user {*/
/*    flex-direction: row-reverse;*/
/*    gap: 0;*/
/*}*/

/*.message-item.same-person {*/
/*    margin-top:1px;*/
/*}*/

/*.message-item .circle {*/
/*    flex-direction: row;*/
/*    font-size: 8rem;*/
/*    gap: 3px;*/
/*    height: 3rem;*/
/*    padding-right: 0;*/
/*}*/

/*!*******!*/

/*.dialog .profile>.action-item.person .text,*/
/*.dialog .message-item .text,*/
/*.dialog .profile>.person-icon .text {*/
/*    display: block;*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    max-height: 10rem;*/
/*    max-width: 10rem;*/
/*}*/

/*.dialog .search .action-item.person .text {*/
/*    display: none;*/
/*}*/

/*.message-item .message-text,*/
/*.message-item-sender .message-text {*/
/*    flex-direction: column;*/
/*    font-size: 1rem;*/
/*    gap: 1px;*/
/*    !* background: white; *!*/
/*    background: #CAF2FF;*/
/*    border: 1px solid #BAE2EF;*/
/*    margin: 0 24px 0 3px;*/
/*    padding: .75rem;*/
/*    border-radius: 9px 9px 9px 0;*/
/*    color: #000000CC;*/
/*    box-shadow: none;*/
/*    text-shadow: none;*/
/*    text-align: justify;*/
/*}*/

/*.message-item.is-current-user .message-text {*/
/*    background: #F0DCFF;*/
/*    border: 1px solid #E0CCEF;*/
/*    margin: 0 1px 0 50px;*/
/*    border-radius: .75rem .75rem 0 .75rem;*/
/*}*/

/*!*noinspection CssUnusedSymbol*!*/
/*!*.page.connect_chat .person.connect_person {*!*/
/*!*    display: none;*!*/
/*!*}*!*/

.icon{
    width: 1.5rem;
    height: 1.5rem;
}
.title-middle .icon{
    width: 1.5rem;
    height: 1.5rem;
}
.main-nav .icon{
    width: 1.75rem;
    height: 1.75rem;
}
.message-input{
    font-family: 'SF Pro Display', Arial, sans-serif;
    flex: 1;
    resize: both;
    width: 200px;
    height: 30px;
}

.bully{
    flex: 1;
}
.footer{
    padding: 6px;
    width: 100%;
}
/*.topic-panel {*/
/*    !*display: flex;*!*/
/*    !*justify-content: flex-end;*!*/
/*    !*flex-direction: row;*!*/
/*}*/
/*.message-panel {*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*    flex-direction: column;*/
/*}*/

.content-panel{
    font-size: 1rem;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 3px;
    gap:1em;
    /*height: 75vh;*/
    overflow-x: hidden;
    overflow-y: scroll;
    background: white;
    /*border-radius: 1rem;*/
}
/*.input-message{*/
/*    margin: 1rem;*/
/*}*/
/*#logout {*/
/*    margin: 1rem;*/
/*}*/

/*#topicList{*/
/*    margin: 0;*/
/*}*/

.invite-status{
    border-radius: 0.3rem;
    /*background-color: #ff6666;*/
    color: #eee;
    font-size: 0.8em;
    padding: 0.1rem;
    min-width: 7em;
    text-align: center;
    margin-left: 0.5rem;
}

.invite-status.going button{
    background-color: #336633;
}
.invite-status.maybe button{
    background-color: #999999;
}
.invite-status.pending button{
    background-color: #666666;
    color: #cccccc;

}
.invite-status.countered button{
    background-color: #cc9900;
}
.invite-status.declined button{
    background-color: #cc3333;
}

body{
    overflow: hidden;
    margin:0;
    padding:0;
}

.hidden {
    display: none !important;
}

/* LLM Registry Styles */
.llm-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 0;
}

.llm-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
}

.llm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 15px;
}

.llm-info {
    flex: 1;
}

.llm-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.llm-description {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.llm-status {
    margin-left: 15px;
}

.status-indicator {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-indicator.configured {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-indicator.not-configured {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-indicator.server-key {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.llm-config {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.api-key-section {
    margin-bottom: 10px;
}

.api-key-section .label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.api-key-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: row;
}

.api-key-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
}

.api-key-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.test-key-btn, .save-key-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.test-key-btn {
    background: #17a2b8;
    color: white;
}

.test-key-btn:hover {
    background: #138496;
}

.save-key-btn {
    background: #28a745;
    color: white;
}

.save-key-btn:hover {
    background: #218838;
}

/* Server Key Styles */
.server-key-section {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.server-key-section .label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
    font-size: 13px;
}

.server-key-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-key-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
    background: #e9ecef;
    color: #495057;
    cursor: not-allowed;
}

.server-key-note {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
    white-space: nowrap;
}

.key-warning {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.warning-text {
    font-size: 13px;
    color: #856404;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 20px;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.no-llms {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* LLM Selection Styles */
.llm-selection-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.llm-selection-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.llm-selection-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.selection-item {
    flex: 1;
    min-width: 200px;
}

.selection-item .label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.llm-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.llm-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.llm-warning {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.llm-warning.hidden {
    display: none;
}

.warning-item {
    color: #856404;
    margin-bottom: 5px;
    font-size: 14px;
}

.warning-item:last-child {
    margin-bottom: 0;
}

/* Highlight effect for selected LLMs */
.llm-item.highlight-selected {
    animation: highlight-pulse 2s ease-in-out;
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

@keyframes highlight-pulse {
    0% {
        border-color: #ddd;
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
    }
    50% {
        border-color: #007bff;
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    }
    100% {
        border-color: #ddd;
        box-shadow: 0 0 0 rgba(0, 123, 255, 0);
    }
}
html{
    overflow: hidden;
    margin:0;
    padding:0;
}
