.setting-textarea {
    width: 100%;
}

.setting-item-nested {
    margin-left: 15px;
}

.setting-item-nested-2 {
    margin-left: 30px;
}

.dialog-button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.dialog-button-container button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
}

.dialog-button-container.right-aligned {
    display: flex;
    justify-content: flex-end;
    margin: 10px;
}

.custom-suggestion-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.setting-item-collapse {
    margin-left: 0px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 10px;
}

.setting-item-collapse > summary {
    font-weight: bold;
    font-size: 1em;
    opacity: 1;
}

.setting-item-collapse.nested-settings {
    margin-left: 10px;
}

.setting-item-collapse.nested-settings > summary {
    font-size: 0.95em;
    opacity: 0.9;
}

.setting-item-collapse.nested-settings > .setting-item {
    margin-left: 5px;
    padding-left: 5px;
}

.setting-item-indent1 {
    margin-left: 5px;
    padding-left: 5px;
}

.setting-item-indent2 {
    margin-left: 10px;
    padding-left: 10px;
}

.prompts-container {
    max-height: 400px;
    overflow-y: auto;
    margin: 10px 0;
}

.prompt-item {
    cursor: move;
    padding: 5px;
    border: 1px solid var(--background-modifier-border);
    margin-bottom: 5px;
    border-radius: 4px;
}

.prompt-item.dragging {
    opacity: 0.5;
    background: var(--background-modifier-hover);
}

.prompt-setting-flex {
    display: flex !important;
    justify-content: space-between !important;
}

.prompt-setting-flex .setting-item-info {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    width: 70% !important;
}

.prompt-setting-flex .setting-item-control {
    flex: 0 0 auto !important;
    margin-left: 8px !important;
}

.prompt-name-ellipsis {
    max-height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.llm-result-modal-buttons {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    gap: 8px;
    width: 100%;
    align-items: flex-start;
}
  
.llm-result-modal-buttons button {
    padding: 8px 12px;
    width: auto;
    text-align: left;
    min-width: 150px;
}
  
.llm-mode-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    justify-content: flex-start;
}

.llm-result-container {
    max-width: 320px;
    width: 100%;
}

.llm-result-container h3 {
    margin-top: 0.5em;
    margin-bottom: 0.8em;
}