* /*==========================================================================
   アクションエリア スタイル (レベル選択・サンプル等)
   ========================================================================== */
.action-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.5; /* ボタンの高さを安定させる */
}
.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.action-label {
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
}
.action-group-divider {
    width: 1px;
    height: 24px;
    background-color: #ddd;
}

/* --- レベル選択ボタン --- */
.level-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
}
.level-btn:hover { background-color: #f5f5f5; }
.level-btn.active {
    background-color: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
    font-weight: bold;
}

/* --- サンプル・SQLボタン --- */
.secondary-action-btn {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.secondary-action-btn:hover {
    background-color: #e8f0fe;
}


/* --- ダークモード対応 --- */
.dark-mode .action-area { background-color: #252627; border-color: #333; }
.dark-mode .action-label { color: #a0a0a0; }
.dark-mode .action-group-divider { background-color: #444; }
.dark-mode .level-btn { background-color: #333; border-color: #555; color: #a0a0a0; }
.dark-mode .level-btn:hover { background-color: #444; }
.dark-mode .level-btn.active { background-color: #303841; color: #58a6ff; border-color: #58a6ff; }
.dark-mode .secondary-action-btn { background-color: #303841; color: #58a6ff;border-color: #58a6ff; }
.dark-mode .secondary-action-btn:hover { background-color: #444; }


/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
    .action-area { flex-direction: column; }
    .action-group-divider { display: none; }
}