/* Johnny O Chat UI Styles */
#johnny-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    z-index: 1060;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#johnny-chat-header {
    background-color: #6f42c1;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#johnny-chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

#johnny-chat-header i {
    margin-right: 10px;
    font-size: 1.25rem;
}

#johnny-chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

#johnny-chat-body {
    flex-grow: 1;
    background-color: #1a1e29;
    padding: 15px;
    overflow-y: auto;
    max-height: 400px;
}

.johnny-message {
    margin-bottom: 15px;
}

.johnny-message p {
    margin: 0;
    padding: 12px 15px;
    border-radius: 10px;
    max-width: 85%;
    line-height: 1.4;
}

.johnny-assistant p {
    background-color: #2c3146;
    border-radius: 15px 15px 15px 0;
    margin-right: auto;
}

.johnny-user p {
    background-color: #6f42c1;
    color: white;
    border-radius: 15px 15px 0 15px;
    margin-left: auto;
}

#johnny-chat-input-area {
    background-color: #262b39;
    padding: 15px;
    display: flex;
    gap: 10px;
}

#johnny-chat-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background-color: #1a1e29;
    color: white;
}

#johnny-chat-send {
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#johnny-chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #6f42c1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    font-size: 24px;
}