/* file name : okikae2.css
 最終更新日: 2025-05-11 
 ヘルプテキスト */
.help-text {
    min-height: 4em;
}

/* ローディングアニメーション */
.loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1em 2em;
    border-radius: 4px;
    font-size: 1em;
    z-index: 1000;
}

.prompt-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 300px; /* 各ブロックの最小幅 */
    flex: 1; /* 各ブロックが利用可能なスペースを均等に占める */
}

.prompt-block textarea {
    width: 100%; /* 親要素 (prompt-block) の幅いっぱいに広げる */
    box-sizing: border-box; /* パディングとボーダーをwidthに含める */
    max-width: 450px; /* 必要に応じて、textareaが過剰に横長になるのを防ぐ最大幅 */
    /* rows="5"の代わりに高さを固定したい場合は以下を指定 */
    /* height: 100px; */
    /* ユーザーが縦方向にリサイズできるようにする場合は以下を指定 */
    /* resize: vertical; */
}

.copy-btn {
    margin-top: 0.5em;
    padding: 0.3em 1.2em;
    font-size: 1em;
    cursor: pointer;
}
.loading:not(.hidden) {
    display: block;
}