.adv-chatgpt-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.adv-chatgpt-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.adv-chatgpt-checkboxes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.adv-chatgpt-checkboxes label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
}

.adv-chatgpt-checkboxes input[type="checkbox"] {
    margin-right: 5px;
}

.adv-chatgpt-parsha-group,
.adv-chatgpt-questions-group {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.adv-chatgpt-parsha-group legend,
.adv-chatgpt-questions-group legend {
    font-weight: bold;
    padding: 0 10px;
}

.adv-chatgpt-question,
.adv-chatgpt-advanced-question,
.adv-chatgpt-parsha {
    margin-bottom: 10px;
    width: 100%;
    padding: 8px;
}

.adv-chatgpt-textareas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.adv-chatgpt-prompt,
.adv-chatgpt-response {
    flex: 1;
    min-width: 300px;
}

.adv-chatgpt-prompt textarea,
.adv-chatgpt-response textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.adv-chatgpt-button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.adv-chatgpt-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.adv-chatgpt-button:hover:not(:disabled) {
    background-color: #005177;
}

.adv-chatgpt-loading {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}