/**
 * DokuWiki Plugin dokullm - CSS Styles
 *
 * This file contains all the CSS styles for the LLM integration plugin.
 * It defines the styling for toolbar buttons, modal dialogs, and other
 * UI elements used in the plugin's interface.
 */

.dokuwiki div.toolbar button.toolbutton {
    background-color: var(--background_alt, #eee);
}

#llm-toolbar {
    margin-bottom: 0.5em;
}

.llm-custom-prompt {
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
}

.llm-prompt-input {
    flex: 1;
    margin-right: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.llm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.llm-modal-content {
    background: var(--background_site, #fff);
    color: var(--text_neu, #000);
    word-wrap: break-word;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    position: relative;
}

.llm-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--background_neu,#eee);
    color: var(--text, #000);
    border: 1px solid var(--border, #333);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 1001;
}

.llm-modal-append {
    position: absolute;
    top: 10px;
    right: 80px;
    background: var(--background_neu,#eee);
    color: var(--text, #000);
    border: 1px solid var(--border, #333);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    z-index: 1001;
}
