body {
    font-family: system-ui, sans-serif;
}

#llamaseek-chat-container {
    width: 100%;
    max-width: 960px;
    margin: 40px auto;
    min-height: 70vh;
    background: #121212;
    color: white;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#llamaseek-chat-container.llamaseek-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    z-index: 9999;
    border-radius: 0;
}


#llamaseek-chat-header {
    background: linear-gradient(135deg, #3c3f41, #2b2b2b);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

#llamaseek-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.llamaseek-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: fadeIn 0.3s ease-in-out;
}

.llamaseek-avatar {
    font-size: 24px;
}

.llamaseek-bubble {
    background: #1e1e1e;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 70%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.llamaseek-role {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 4px;
}

.user-message .llamaseek-bubble {
    background: #3366cc;
    align-self: flex-end;
    color: white;
}

#llamaseek-chat-send {
    width: 80px;
    background: #3366cc;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    padding: 12px;
    transition: background 0.3s ease;
}

#llamaseek-chat-send:hover {
    background: #1a4ea0;
}

#llamaseek-chat-loader {
    padding: 10px;
    text-align: center;
    color: #aaa;
}

#llamaseek-exit-fullscreen {
    position: absolute;
    top: 50px;
    right: 95px;
    background: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* nrw  */
#llamaseek-chat-input-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 15px;
    margin-bottom: 15px;
}

#llamaseek-chat-input {
    width: 85%; /* Takes 85% of the container */
    min-height: 40px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333; /* Dark background color for the input */
    color: white; /* White text color for better contrast */
    resize: none;
    box-sizing: border-box;
}

#llamaseek-chat-send {
    width: 11.5%; /* Set the button width to 11.5% */
    height: 59px; /* Set the button height to 56px */
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    background-color: #333; /* Dark color matching plugin's theme */
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 10px; /* Adds space between the input and button */
    margin-right: 15px; /* Adds margin to the right */
    display: flex;
    justify-content: center;
    align-items: center;
}

#llamaseek-chat-send:hover {
    background-color: #555; /* Slightly lighter shade for hover effect */
}

@media screen and (max-width: 768px) {
    #llamaseek-chat-input-container {
        flex-direction: column; /* Stacks them vertically */
        align-items: stretch; /* Makes them take up full width */
        margin: 0 15px;
        margin-bottom: 15px;
    }

    #llamaseek-chat-input {
        width: 100%; /* Full width on mobile */
        margin-bottom: 10px; /* Adds space below the input */
    }

    #llamaseek-chat-send {
        width: 100%; /* Full width on mobile */
        height: 56px; /* Matches the input field height on mobile */
        margin-right: 0; /* No margin on the right for mobile */
    }
}
